Skip to content

Instantly share code, notes, and snippets.

@YellowOnion
Last active July 30, 2021 07:35
Show Gist options
  • Select an option

  • Save YellowOnion/90124fe3f82cecaba88bbf7a5e4ca646 to your computer and use it in GitHub Desktop.

Select an option

Save YellowOnion/90124fe3f82cecaba88bbf7a5e4ca646 to your computer and use it in GitHub Desktop.

Use Admin Powershell for any commands.

Disable Memory Compression

Disable-MMAgent -mc

Disable Windows Defender

Set-ItemProperty -path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -name 'DisableConfig' -type 'Dword' -value 1
Set-ItemProperty -path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -name 'DisableAntiSpyware' -type 'Dword' -value 1

Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\wscsvc' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\SecurityHealthService' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Sense' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdBoot' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdFilter' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdNisDrv' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdNisSvc' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WinDefend' -name 'Start' -type 'Dword' -value 4

Process Hacker Priority fixes, "Save for " or manually

Set all these processes to below normal:

  • Origin
    • QtWebEngineProcess (your games will inherit the priority so you need to manually increase them).
  • Steam
    • steamwebhelper
  • GoogleDriveFS

Set audiodg to realtime (stops popping audio).

Manual registery method:

replace "" with your exe.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\<gamename>.exe\PerfOptions]
"CpuPriorityClass"=dword:00000003

Disable Xbox DVR, Windows Game Mode.

Disable Services / manual start these services / related

  • Intel(R) SUR QC Software Asset Manager
  • Intel(R) System Usage Report Service SystemUsageReportSvc_QUEENCREEK
  • Intel Driver Support Assistant
  • Energy Service
  • Hyper V
  • Docker
  • Origin Web Services

Other tweaks

https://www.speedguide.net/articles/gaming-tweaks-5812

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment