Go Back   Computer Forums > General Computing > Cyber Safety and Computer Security
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 08-30-2010, 02:26 PM   #1
In Runtime
John Bull's Avatar
Join Date: May 2009
Location: UK
Posts: 119
Default Pagefile clearing on Windows shutdown

It is suggested by many enthusiasts that the Pagefile should be deleted on shutdown to eliminate any security risk.
I consider this to be good practice and have configured my PC to do so by the following procedure :-

[Start] [Run] [Regedit]
Registry Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management
Modify/Create the Value Data Type(s) and Value Name(s) as detailed below.
Data Type: REG_DWORD [Dword Value] // Value Name: ClearPageFileAtShutdown
Setting for Value Data: [0 = Clear Page File Disabled / 1 = Clear Page File Enabled]
Enter value = 1 to clear Pagefile on shutdown.
Exit Registry and Reboot
The only adverse effect one could notice is that it may take longer for Windows to shut down while the file is being cleared. Exactly how much longer depends on how large the paging file is.

The file is recreated in an instant (because it is now just an empty cache on the disk) when Windows restarts, and response times, browsing speed etc. are not in any way affected.

The Pagefile or Virtual Memory is an allocated capacity size which stays constant until changed by the Windows system or the Administrator. This size will still be shown against any file check. It can be misleading when you have taken action to delete the Pagefile and the size is still shown unchanged. Pagefile is virtually a fixed sized tank in which contents are added during browsing and it is the tank size that is shown on screen, not the contents.

If the Pagefile is not cleared, it provides a complete cache of your browsing activity and can be easily accessed by a skilful hacker or inserted bug. Clearing or emptying the Pagefile on shutdown prevents this - the tank is empty. No data leak is thus possible.

John Bull

John Bull is offline   Reply With Quote
Old 08-31-2010, 08:01 AM   #2
Site Team
iPwn's Avatar
Join Date: May 2010
Location: USA
Posts: 3,920
Default Re: Pagefile clearing on Windows shutdown

You can also use jv16 Powertools to force the Pagefile into RAM for faster Windows operation and automatic deletion when the computer is powered off. I would personally recommend forcing PageFile.sys into RAM if you have 4GB or more, the speed increase, while not awe inspiring, is slightly noticeable.
Me: You'd think as the dominant species we wouldn't be so effing stupid.
J: We're just intelligent enough to be completely effing stupid.
iPwn is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 02:05 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0