How to delete pagefile.sys in Windows 7?


    Share

You need some disk space urgently? Well, you could either look into our guide how to free up disk space in Windows 7 or follow the instructions after the break to delete the pagefile.sys (not recommended)!

How to delete pagefile.sys Windows 7

What is the pagefile.sys and why shouldn’t I delete it?

The pagefile.sys is the virtual memory file that is saved on your hard drive. Therefore this file can become quite big. Whenever you don’t have enough physical RAM the system can use the virtual RAM to speed up the current process. So, the virtual memory is quite essential for a fast system and it is not recommended to disable it. Even on systems with a lot of RAM you will need this file badly. Actually, the more physical RAM you have, the more virtual memory you should have. As a rule of thumb, you should always have 1.5 times more virtual memory than physical RAM, recommended is 2 times more.

As you can see, deleting the pagefile.sys is not a good solution and you should only do it if you need disk space urgently.

Delete pagefile.sys

1. Open up the Control Panel
2. Click on System and Security
3. Click on the System link:

Windows 7 System Settings

(The text “System” is a link)

4. In the sidebar click on “Advanced system settings”

Change advanced system settings in Windows 7

5. Go to the tab Advanced:

Windows 7 Advanced System Properties

6. Click on Settings at the top (Performance field)

7. Go to the Advanced tab

8. At the bottom you will see how much disk space is currently used as virtual memory. Click on the Change button

Change Virtual Memory in Windows 7

9. Uncheck Automatically manage paging file size for all drives

10. Check No paging file and click on Set

11. Click on Ok and reboot. The pagefile.sys will be gone for good you don’t even have to delete it.

If the pagefile.sys is still there, don’t delete it manually and double-check that you followed the instructions carefully. Only then if the virtual memory is set to 0 you can try to delete the pagefile.sys

Filed Under: Tutorials by sOliver - Friday, August 13th, 2010
Here at windows7themes.net we love Windows 7, Gaming and everything digital. We have hundreds of great Windows 7 themes, registry tweaks, tutorials - please use our search box if you look for anything specific. You have some awesome themes, tips or you want to write for us? Drop us a mail: win7themes at googlemail.com

2 Responses to How to delete pagefile.sys in Windows 7?

  1. Mich Rider said:

    That means it’s still there you just can’t see it. Just like Microsoft’s secret “history” folders etc….

  2. BasisX said:

    @MitchRider

    yeah – right

    maybey it would be a good solution to shred pagefile.sys ( overwrite it with random garbage )

    and also the other “secret” folders …

    someone should really post a link …

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>