11. Paging

Systems with more than 8GB memory should disable paging. This may need to be re-enabled if certain programs rely on the paging file existing.

Give priority to foreground applications
GUI

⌘ + r › systempropertiesadvanced › Performance › Settings › Advanced › Processor scheduling

Programs

Updated: 2021-02-19

Regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl

Win32PrioritySeparation

DWORD

2

2 is the value used for the GUI setting. 26 is the highest foreground priority. 18 prefers background services.

Updated: 2021-02-19

Disable paging files for all drives
GUI

⌘ + r › systempropertiesadvanced › Performance › Settings › Advanced › Virtual memory › Change…

No paging file

Be sure to set this for each drive explicitly.

Updated: 2021-02-19

Regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

PagingFiles

SZ

EMPTY

Updated: 2021-02-19 Reference

Disable swapfile for windows components

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

SwapfileControl

DWORD

0

Updated: 2021-02-19 Reference Reference