HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
|Data type||Range||Default value|
|REG_DWORD||0 | 1||0|
Specifies whether user-mode and kernel-mode drivers and kernel-mode system code can be paged to disk when not in use.
|0||Drivers and the kernel must remain in physical memory.|
|1||Drivers and the kernel can be paged to disk as needed.|
Leaving this value set to 0 is useful when debugging drivers because all of the code and data is always memory resident.