Recently Microsoft identified a bug in Windows 7 and provided a solution for it. Following are the details:
SYMPTOM:
Upon each reboot, Windows 7 may delete all System Restore Points.
CAUSE:
This issue can occur if the system paging file is highly fragmented.
SOLUTION:
The resolution to this issue is to disable, delete and then recreate the paging file. To do this, carry out the following steps:
1. Right-click on Computer icon on Desktop and select Properties (or press WIN + Pause/Break keys). Now click on Advanced system settings link in left side pane (You can open it directly by giving sysdm.cpl command in RUN or start menu search box). Now click on Settings button in Performance section.
2. Now go to Advanced tab and click on Change... button under Virtual memory section.
3. Uncheck "Automatically manage paging file size for all drives" option if enabled.
4. Now select C: drive from the list and select the radio button labelled 'No paging file', then click the Set button.
5. Click Ok button and reboot your system.
6. After restart, delete 'pagefile.sys' from the root of C: drive. Please note that pagefile.sys is a hidden file and is not visible until you set the folder option to view hidden files.
7. Defragment C: drive by providing defrag /h c: command in Command Prompt.
8. Re-enable the paging file by following steps 1-3 above.
9. After selecting drive C: in the list, select the radio button for 'System managed size' and click Set.
10. Click Ok button and reboot your system.
This article was posted by VG in following section: Troubleshooting, Windows 7.
If you enjoyed this article, subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our popular articles and archive to read other interesting articles.
SMBR
First Comment :P
Its Nice Thanks....
a
If you delete the paging file, will it delete your System Restores too?
VG
^^ No.
a
How long does Windows 7 keep Restore Points?
oskr
Hey VG, I've a big problem, my pc doesn't recognize any usb, no matter what, it shows the notification even if i don't have any device pluged in, help ):
Haeddy
If you disable the paging file or set the initial size to less than 200 megabytes and a system error occurs, Windows might not record details that could help identify the problem. Do you want to continue?
Felipe
Do NOT try this. After setting your pagefile to 0, your computer will go berserk. You can change it back, but it will be hard because your computer will run very buggy. I don't recommend this to anyone.
maahir
One could use PageDefrag from sysinternals also to defrag the page file. Better than deleting page file and then recreating it.
Navneet Singh Chauhan
I was looking for this solution and it worked for me.
Thanks a lot.
Matt
@maahir
PageDefrag does not run on windows 7