Skip to content

How to Configure a Windows 7 Computer to Clear Pagefile While Shutting Down?

By Codrut Nistor

Posted in How-to, Windows-7

In Windows 7 computer pagefile is the virtual memory where information is stored when the RAM is full. Although the information stored in pagefile is encrypted and cannot be decrypted easily to add an extra layer of security many administrators may want to erase the sensitive information in virtual memory when the computer shuts down in order to protect it from getting stolen and misused. As an administrator if you want to clear the sensitive information stored in pagefile you need to follow the steps given below:

  1. Logon to the computer with administrator account.
  2. Click on Start button.
  3. At bottom of start menu in search box type gpedit.msc command and press enter key.
  4. On Local Group Policy Editor snap-in under Computer Configuration expand Windows Settings and then expand Security Settings.
  5. Expand Local Policies and click on Security Options.
  6. From the right pane double click on Shutdown: Clear virtual memory pagefile and on the opened box select Enabled radio button.
  7. Once done click on Ok button and close Local Group Policy Editor snap-in.
  8. Open Command Prompt and in command window type gpupdate /force to update here computer policy with latest configuration.
  9. Close Command Prompt.