Last active
December 3, 2021 03:27
-
-
Save itoleck/1db271c4736470e102f22a18e569d0de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Ctrl-Scroll-Scroll | |
New-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\i8042prt\Parameters" -Name "CrashOnCtrlScroll" -Value 1 -PropertyType "DWORD" -Force | |
New-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\kbdhid\Parameters" -Name "CrashOnCtrlScroll" -Value 1 -PropertyType "DWORD" -Force | |
#Perfmon PIDs | |
New-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\PerfProc\Performance" -Name "ProcessNameFormat" -Value 2 -PropertyType "DWORD" -Force | |
#Show Win11 Menu | |
REG ADD "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve | |
#WER | |
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpFolder" -Value "%TEMP%\CrashDumps" -PropertyType "ExpandString" -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpCount" -Value 3 -PropertyType "DWORD" -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value 2 -PropertyType "DWORD" -Force | |
#Startup | |
New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer" -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\Serialize" -Name "StartupDelayInMSec" -Value 0 -PropertyType "DWORD" -Force | |
#UAC, Do not dim | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 5 -PropertyType "DWORD" -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorUser" -Value 5 -PropertyType "DWORD" -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "PromptOnSecureDesktop" -Value 0 -PropertyType "DWORD" -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment