Skip to content

Instantly share code, notes, and snippets.

@TheKrush
Last active July 13, 2023 16:48
Show Gist options
  • Save TheKrush/387cfc7cb63b6f5c94fb4d1f4522ed2b to your computer and use it in GitHub Desktop.
Save TheKrush/387cfc7cb63b6f5c94fb4d1f4522ed2b to your computer and use it in GitHub Desktop.
Lowers the priority of cpu / io for the processes used by Visual Studio during builds (to prevent the machine from freezing up).
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cl.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cl.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005
"IoPriority"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\link.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\link.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005
"IoPriority"=dword:00000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment