Automatically Clear Page File at Shutdown
June 15th, 2009 - Hacks, Tips & Tricks, Windows 7, Windows Vista, Windows XP
If your pagefile is small and you want to clear it automatically at shutdown then you should follow the tutorial:-
1. Type “regedit” in run or start menu and press enter.
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\.
3. Right-click on Memory Management and select New>DWORD (32-bit) Value.
4. Name the DWORD value “ClearPageFileAtShutdown” (without qoutes). (Skip this if you already have the value.)
5. Double-click on the DWORD value and type “1″ (without qoutes) in the value data box.
That’s it. Now restart your computer to see the changes.
You can also download the ready-made registry script for this:-
To disable it then simply delete the value or download this registry script and merge it.
NOTE: This tweak will decrease your shutdown speed dramatically. If your page file is less than 1 GB then the speed should be ok.

Subscribe to the newsletter:
Related Posts:
- Enable/Disable Wallpaper Change in Windows
- Disable System Tray Permanently
- Remove “Log Off” From Start Menu
- Hide/Show All the Drives in Windows
- Disable Right-Click Context Menu in Windows
Popular Posts:
- Ultimate Tutorial to Make your WordPress Blog 100% Secure
- Ultimate Tutorial to Speed Up Your WordPress Blog
- Block Ads in all Popular Browsers
- Make Mozilla Firefox Look Like Google Chrome
- Download Mozilla Firefox 4.0 Mockup Theme
