Clear system page file at shutdown

  • Section(s): Shutdown, Miscellaneous, Miscellaneous
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 4.4 out of 5 based on 13 votes.
Virtual memory support in Windows NT uses a system page file to swap pages from memory of different processes onto disk when they are not being actively used. On a running system, the page file is opened exclusively by the operating system and is well-protected. To ensure that any sensitive information from process memory is not left on the hard drive and thus not available to a user booting the PC with another operating system, apply the following Windows NT / Windows 2000 / Windows XP registry hack:

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management
Name: ClearPageFileAtShutdown
Type: REG_DWORD
Value: 1

Note that this protection only works with a clean shutdown. The ClearPageFileAtShutdown is part of the normal shutdown process when this value is set. Valuable for shared PCs or if you have something very valuable needing protection.

About Wayne Maples

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

What is your preferred Remote Control solution?