How to Disable Pagefile in Windows 7

Disable pagefile and virtual memory on Windows 7 when needed

by Hasibul Kabir
Hasibul Kabir
Hasibul Kabir
Hasibul Kabir is a Tech-Enthusiast Blogger, Web Developer & Hobbyist Game Developer. Writing about Technology, mainly Windows, Mac, and iOS, etc. is his main focus besides doing some... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Pagefile is an important part of Windows 7 to improve performance on PCs with low memory.
  • However, if there is any valid reason, you can disable it though you should leave it enabled normally.
  • To turn off pagefile, you can access Performance options on Windows 7 and follow the steps mentioned in this article.
Disable Pagefile in Windows 7

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

If you want to disable pagefile on Windows 7, you will need to follow a few easy steps. This article will describe them and also help you learn about a few related things.

Paging files can be necessary and has a lot of benefits. Especially if your PC has a low amount of RAM, it may help to gain some performance. However, sometimes, you may need to disable it for any reason, including troubleshooting purposes.

What is pagefile?

Page files are system files that hold information for RAM. When your PC runs out of memory, RAM stores some data on a specific part of an HDD or SSD. Windows may read page files when necessary. Also, RAM may swap information with these files if required.

Usually, it may act as virtual memory and boost performance on PCs with low memory capacity. But, for some users with low disk space, it also can be a problem if the pagefile.sys size becomes bigger.

How can I disable pagefile on Windows 7?

Before disabling the page file, you should think about the following things:

  • Do you have enough RAM to run every program smoothly on your PC?
  • Do you have a valid reason to disable the page file?

If you get a positive answer for these things, then you can follow two major steps to turn off virtual memory or paging file on Windows 7.

1. Open the Performance options window

  1. Press Win + R on the keyboard to open Run.
  2. Type the following command and press Enter to open the Advanced System Settings: sysdm.cpl
  3. Go to the Advanced tab and click on Settings under the Performance section.opening performance options windows 7

After opening the performance options, you will need to follow the steps mentioned below.

2. Turn off pagefile

  1. Navigate to the Advanced tab and click on Change.going change virtual memory settings win7
  2. Uncheck Automatically manage paging file size for all drives.
  3. Select the System drive and mark No paging file.checking no paging file win7
  4. Click on Set.
  5. Do it for any other drives if necessary.

After doing the above things, restart Windows 7. From now, it will not create or use any page file.

Usually, you should not disable pagefile. Though sometimes, you may need to turn it off for troubleshooting purposes.

In general, if you leave it disabled, you may end up getting a lot of weird issues, system crashes, etc., especially if the RAM capacity is low. Windows may sometimes use the full capacity of physical memory, and in this type of case, it may become unusable and may crash.

So, for safety, let Windows handle the page files until there is a valid reason to stop this feature. If necessary, you also can increase Windows virtual memory and page file size. You can refrain from increasing the size if there are low disk space issues.

If you face problems that seem to be related to the page file, it may be because of incompatible drivers. So, use a tool like DriverFix to update drivers.

Also, if you have any questions regarding this, feel free to ask in the comment box.

Still having issues? Fix them with this tool:


If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: