This article describes how to prevent pageable drivers and system code in
the Windows NT Executive from being paged out to disk. Although this decreases the response time in systems with extremely large amounts of physical memory (RAM), it is critical that there is enough RAM installed, otherwise the server could be rendered unstable.
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
User-mode and kernel-mode drivers and kernel-mode system code is usually
written to be either pageable or non-pageable. In cases where drivers or
system code is pageable, you can use the following registry entry to keep
this pageable code in RAM, but this is only advisable on systems with
extremely large amounts of RAM.
- Start Registry Editor (Regedit.exe or Regedt32.exe), and go to the following subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
- Change the DisablePagingExecutive entry to 1:
Value Name: DisablePagingExecutive
This entry specifies whether user-mode and kernel-mode drivers and
kernel-mode system code can be paged to disk when not in use.
If the value of this entry is 1, the drivers and kernel must remain
in physical memory. If it is set to 0, they can be paged to disk as
Data Type: REG_DWORD
Data: 0 or 1
For additional information, see the "Memory
Management Control Entries" topic in Windows NT Help.