Part 3: Clear the paging file on shutdown
It's possible to have Windows delete your paging file each time you shut down Windows. You may want to do this if you have a multiboot system, wherein each operating system on your PC has its own virtual memory settings. If the paging file from one OS is present while the other is running, it may cause a conflict and will certainly waste a lot of disk space.
If your paging file becomes corrupted or highly fragmented, Windows may load more slowly (or not at all). Deleting the paging file automatically forces Windows to recreate it each time it starts, which may alleviate this problem. (Naturally, if you've gone to the steps to defragment your paging file, as described earlier in this topic, you probably won't want to use this feature, lest it become fragmented again when it's recreated.)
- Open the Local Security Policy console (secpol.msc).
- Expand the Local Policies branch and click the Security Options folder.
- In the right pane, double-click the Shutdown: Clear virtual memory pagefile.
- Select Enabled and then click OK. You'll need to restart Windows for the change to take effect.
In this tutorial:
- Windows 7 Performance
- Trim the Fat
- Tame Mindless Animation and Display Effects
- Make Menus More Mindful
- Start Windows in Less Time
- Eliminate unnecessary auto-start programs
- Clean out your Temp folder
- Start Windows Instantly (Almost)
- Put your PC to sleep
- Sleep and Hibernate troubleshooting
- Shut Down Windows Quickly
- Start Applications Faster
- Make Your Hardware Perform
- Windows 7 Get Glass
- Maximize the Windows Performance Rating
- Improve Battery Life
- Manage IRQ Priority
- Overclock Your Processor
- Hard Disk
- A Defragmentation Crash Course
- Enable automatic boot defragments
- If in Doubt, Throw It Out
- Optimize Virtual Memory and Cache Settings
- Part 1: Virtual memory settings
- Part 2: Defragment the paging file
- Part 3: Clear the paging file on shutdown
- Part 4: Advanced settings for the adventurous
- Choose the Right Filesystem
- Convert your drives to NTFS
- Advanced NTFS Settings
- Transfer Windows to Another Hard Disk
- What to look for in a new hard disk
- Work with Partitions
- The Disk Management nickel tour
- Create and delete partitions
- Resize and move partitions
- Alternatives to Disk Management
- Different ways to mount a volume