Knowledge Base

Search Knowledge Base

KB #240006: Clearing the Windows Paging File at Shutdown

Type: Tip
This article explains how you can clear out the Windows paging file at shutdown and why you might want to consider it.

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, read the Microsoft Knowledgebase article MS KB256986 Description of the Microsoft Windows Registry.

Additional Information:
The Windows paging file can sometimes contain valuable sensitive information. For example, if the hard drive is formatted as a FAT partition (as opposed to NTFS), someone could boot with a DOS diskette and have access to the paging file. While this is not a significant threat (it would require a skilled technician knowing what he was looking for to extract it) we believe that you should use whatever security measures are at your disposal especially if they take almost no effort.To accomplish this, follow the instructions in one of the following Microsoft Knowledgebase articles:

MS KB182086 – How to Clear the Windows Paging File at Shutdown

MS KB314834 – How to Clear the Windows Paging File at Shutdown (Windows XP)


Last modified: 1/13/2016