Welcome to MSDN Blogs Sign in | Join | Help

SYSK 318: Registry Key That Controls Device Driver and System Code Pagination to Disk

Did you know that there is a registry key that specifies whether kernel-mode drivers and kernel-mode system code can be paged to disk when not in use? 

 

The key is DisablePagingExecutive (REG_DWORD) located in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management. 

 

The value 0 (default) means that drivers and system code can be paged to disk as needed.  Value 1 means that drivers and system code must remain in physical memory.  Note: for the change to become effective, you must reboot.

 

Device driver programmers sometimes use this key when debugging device drivers to ‘pin’ the code and data so it is always in memory.  Also, on machines with a lot of memory, this setting can improve performance, but this would depend on the installed applications and their resource utilization.

 

 

Published Friday, March 30, 2007 7:01 AM by irenak

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: SYSK 318: Registry Key That Controls Device Driver and System Code Pagination to Disk

Friday, March 30, 2007 11:12 AM by Peter Ritchie

If you're using Windows 2000, check this out first: http://support.microsoft.com/kb/323608

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker