Windows systems are designed with a paging file. Information about active applications is kept in the system's RAM, while inactive applications are placed in this file. To increase the performance of your system, keep the Windows NT kernel and drivers in RAM at all times and only page out the other contents. This means the system data, known as the NT Executive, is always immediately available.
Here's how to prevent the system from swapping the NT Executive to the paging file:
- Start the Registry Editor (Regedit).
- Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.
- Change the DisablePagingExecutive value to 1. The default value of 0 indicates that the system is allowed to page the NT Executive out to disk, but a value of 1 prevents this behavior.
- Exit the Registry Editor and reboot the server.
Microsoft recommends that you have at least 16 MB more RAM available than the system needs for its workload. Adequate RAM is a prerequisite before disabling this feature.
Note: Editing the registry is risky, so make sure you have a verified backup before saving any changes.