View Single Post
Old 04-11-10, 12:08 PM   #1
Ace Spammer
Crow_Nest's Avatar
Join Date: Sep 2006
Location: Singapore, Asia
Posts: 1,418
Send a message via MSN to Crow_Nest
Default How to force disable page file clearing?

Ive had a few installations of windows 7 where by my shutdown can take up to 5 minutes. And this only starts to happen after installing my applications so its got nothing to do with the drivers. The problem is this doesnt happen all the time with every installation of windows i have, so i cannot determine the cause of the problem. It cant be my softwares because i install the same ones all the time, and windows works just fine.

So after googling a bit i came across this forum which helped me fix the issue.

[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]
Exit Registry and Reboot
So it seems that windows somehow triggered the page file clearing, disabling it solved my problem. But now the thing is, everytime i go back to windows to run/install/uninstall something it re-enables by itself again. I dont have this issue on my other PC, and i checked to see that page file clearing is already disabled by default.

Is there anyway to FORCE clear page file to disable? Its a pain to wait a decade for my laptop to shutdown.
| Windows 7 Ultimate x64 | Intel i7 2700K @ 3.5 GHz | MSI GeForce GTX 670 OC 2GB |
| G.Skill RipJawsX PC3 12800 4GB x 2 | Sound Blaster X-Fi XtremeGamer | Intel SSD 520 120GB SSD |
| Hitachi 1TB SATA3 HDD | Asus P8Z68-V/GEN3 | Cooler Master Silent Pro M 700W |
| Cooler Master Centurion 5 II Casing | Samsung SyncMaster XL2370 |

Laptop : Lenovo IdeaPad Y450
| Windows 7 Ultimate x64 | Intel Core 2 Duo T6600 2.2 GHz | NVIDIA GeForce G110M 256MB |
| 4GB DDR3 SDRAM | Western Digital 320GB | 14.1' LED Backlit Screen |  2183
Crow_Nest is offline   Reply With Quote