How to delete pagefile.sys in Windows 7?

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. StepOpen up the Control Panel
2. Step Click on System and Security
3. Step Click on the System link:

Windows 7 System Settings

(The text “System” is a link)

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

Change advanced system settings in Windows 7

5. Step Go to the tab Advanced:

Windows 7 Advanced System Properties

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

7. Step Go to the Advanced tab

8. StepAt 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. Step Uncheck Automatically manage paging file size for all drives

10. Step 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

5 of 5 0 (100%) 5 votes
- Cheers!


Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates: Twitter Follower

Contact The Author:
support@windows7themes.net

Get Free Help

Connect With Our Site:

 

   


Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link (g2a.com/r/win7themes) and save money at the same time:

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

  1. Orange Community Approved Comment:
    Mich Rider said:

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

  2. Orange Community Approved Comment:
    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 …

  3. Orange Community Approved Comment:
    Sean B said:

    I have 24gb of ram, and a 25gb pagefile.sys – wtf??!

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>

Current day month ye@r *