Pagefile.Sys – What Is Pagefile.Sys | How To Delete, Move And Resize Pagefile.Sys In Windows 7

pagefile.sys in windows 7
The pagefile.sys in windows 7

Delete Pagefile.Sys in Windows 7

The Pagefile.sys is the virtual memory of a hard disk, used as the extension of the RAM.



It is the reserved file on the hard drive also called the secondary RAM.

The pagefile.sys is located at C:\pagefile.sys by default, but it is not visible unless you tell Windows Explorer not to hide protected operating system files.

Pagefile.sys is a vital part of the system that reduces the workload on the main RAM and enables the system to run smoothly and fast.

It also stores information about the state of your computer in case there is a crash or power cut.

You can simply say that the pagefile is Virtual memory, while the RAM is Physical memory.

It is not safe to delete the pagefile.sys file because when you don’t have enough RAM, the system can use the Virtual memory to increase its speed.



Each time you open more applications than what the RAM can handle, the system automatically transfers the least used files to the virtual RAM, i.e The pagefile.sys. This process is called paging

The more your RAM, the more your pagefile.sys should be.

It is recommended that your virtual memory should always be at least 1,5times more than your physical RAM.

Deleting the Pagefile.sys is not recommended, except you are running out of space.

You may like >>> Windows 7 Clipboard Manager

How to delete the pagefile.sys file in Windows 7

Deleting the pagefile.sys is not recommended because it would simply mean that Windows will not have additional storage space when RAM is full and it can cause a system crash.



If you choose to delete that pagefile.sys in Windows 7 for any reason, follow the steps below, but before you proceed, ensure you back up your files and enable the view hidden OS file on File Explorer. 

  1. Go to the Control Panel and Click on System Icon, to open the system settings. 
  2. Then click on “Advanced system settings”. 
  3. Click on the “Settings” button under the performance menu. 
  4. Go to the “Advanced” tab in the dialog window, you will see how much disk space is currently being used as the virtual memory. Click on the Change button. 
  5. Uncheck “Automatically manage paging file size for all drives”, and Check “No paging file”. Then click on Set, and reboot your system. The pagefile.sys file will be deleted automatically.

Please Note: If the pagefile.sys is still there, please don’t try to delete manually, simply go through the process again to ensure you followed the steps correctly.

You can try deleting manually if the virtual memory is set to zero.

How to Move the pagefile.sys file in Windows 7

Pagefile.Sys is usually huge and takes more space on your hard disk but it is not recommended to completely delete or disable it from your system.

To create space on your hard drive, increase your system speed, and boost the overall performance of your system, you can move pagefile.sys to an external drive.

  • Click on the Windows start button, select Computer then Click on system properties at the top. 
  • In the next window, click on “Advanced Setting” on the left bar, then click on the Advanced tab at the top bar, click on settings in the performance section. 
  • From the performance section, click on the Advanced tab again. 
  • In the Virtual memory section you will see the size of memory being used by the pagefile, then click change. 
  • In the Virtual Memory Window Section, Uncheck the box that shows      “Automatically manage paging file size for all drives 
  • Ensure that the C: is highlighted, then select “No paging file”, and click on Set. 
  • Select the drive you want to move the pagefile.sys to, click on System managed size, and click on Set. 
  • Finally, Click OK. The file will be moved to the selected drive. 
  • You need to reboot the system for the pagefile.sys to be moved from C: to D: Drive.

How to Resize the pagefile.sys file in Windows 7

The size of the pagefile.sys is set by Windows but it can be reduced manually so that it will take up less space.



To resize the pagefile.sys, follow the steps below, but before you proceed, it is recommended you increase the RAM size first.

  • Click on the “Start” button, select the “Control Panel.” 
  • Double-click on the “System” icon to open the system settings. 
  • Click the “Advanced” tab, then click the “Settings” button in the “Performance” Section. 
  • Click on the “Advanced” tab in the new window, and select “Change” In the virtual memory section. 
  • Click on the drive that contains the page file. This is usually the “C: drive” 
  • Click the “Custom size” button. A dialog box that prompts you for the new page file settings will be displayed. 
  • Input a smaller value than what is displayed by default. The value is in megabytes(MB). Click the “OK” button. 
  • To completely remove the system file click “No Paging File”. This is not recommended except you have a lot of RAM.
  • Reducing the size of a page file requires a system reboot for the changes to become effective. Click the “Restart” button when prompted to restart the computer so that the settings can become active. 


    The pagefile.sys is an essential part of Windows 7. Removing it can impact the performance of your system, and can also lead to a system crash. 

    It is therefore very important to have in your system, even though it is rarely being used. 

    Doubling the RAM size and altering the pagefile space of your hard disk is highly recommended, in an event where your system required more page file space.


Please like and share this post. Thank you.

You can also Check >>>How To Take A Screenshot On Windows 10 Without Snipping Tool



Be the first to comment

Leave a Reply

Your email address will not be published.