JSI Tip 0303 - How do I clear the page file at shutdown?

Jerold Schulman

November 5, 1997

1 Min Read
ITPro Today logo

For security reasons, you may want to clear the pagefile.sys when you shutdown the system. Edit:

HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession ManagerMemory Management

Add Value name ClearPageFileAtShutdown as type REG_DWORD. The default is 0. When you set it to 1, inactive pages in the pagefile.sys will be filled with zeros. Some pages can not be cleared as they are active during shutdown.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like