Skip to content

Commit 8c12ac8

Browse files
edit Fresh-Lite/Lite.ps1
1 parent 92e2632 commit 8c12ac8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Fresh-Lite/Lite.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@ function Performance {
583583
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "DesktopHeapLogging" -PropertyType DWord -Value 0 -Force
584584
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "DwmInputUsesIoCompletionPort" -PropertyType DWord -Value 0 -Force
585585
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "EnableDwmInputProcessing" -PropertyType DWord -Value 0 -Force
586+
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" -Name TracingFlags -PropertyType DWord -Value 0 -Force
587+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\CrashControl" -Name LastCrashTime -PropertyType DWord -Value 0 -Force
586588

587589
if (!(Test-Path "HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power")) {
588590
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" -Force
@@ -818,6 +820,8 @@ function Performance {
818820
Disable-MMAgent -MemoryCompression
819821
Disable-MMAgent -PageCombining
820822

823+
setx /M DBGENG_NO_BUGCHECK_ANALYSIS TRUE
824+
821825
auditpol /set /category:"Account Logon" /success:disable
822826
auditpol /set /category:"Account Logon" /failure:disable
823827
auditpol /set /category:"Account Management" /success:disable

0 commit comments

Comments
 (0)