Need to move virtual memory to another drive? Here’s how on Windows 10.

On Windows 10, virtual memory (paging file) is a feature that stores unused, modified pages in RAM (random-access memory) to the hard drive allowing to prioritize more physical memory for more frequent processes and apps. Using this process helps to improve performance and reduces the chances of the system, locking up if it runs out of memory.

Although for the most part, the feature works automatically, if needed, you can move the paging file (pagefile.sys) to another drive to increase the overall performance, or if you work with reads and writes intensive applications, then you want to reduce the number input/output (I/O) activity on the main drive.

Whatever the reason it might be, Windows 10 includes an option to move the page files to another drive using the Settings app.

In this Windows 10 guide, we’ll walk you through the steps to move virtual memory to another drive.

How to move virtual memory to another drive

To move the Windows 10’s virtual memory file to a different drive, use these steps:

  1. Open Settings.
  2. Click on System.
  3. Click on About.
  4. Under the “Related settings” section, on the right side, click the System info option.

    Windows 10 About page

    Windows 10 About page

    Source: Windows Central

  5. Click the Advanced system settings option from the right side.

    Control Panel Advanced system settings

    Control Panel Advanced system settings

    Source: Windows Central

  6. Under the “Performance” section, click the Settings button.

    System properties performance option

    System properties performance option

    Source: Windows Central

  7. Click the Advanced tab.
  8. Under the “Virtual memory” section, click the Change button.

    Performance Options virtual memory option

    Performance Options virtual memory option

    Source: Windows Central

  9. Clear the Automatically manage paging file size for drivers option.
  10. Under the “Paging file size for each drive” section, select the C: drive.
  11. Select the No paging file option.

    Quick note: While it’s possible to disable the paging file on the main drive when you’re planning to use another drive to store the virtual memory file. It’s often recommended to leave the paging file enabled on the main drive to allow the system to create crash dumps in the event of a system error. If you leave the paging file on the main drive, you can still configure virtual memory on the new drive, and Windows 10 will make sure to use the second drive paging files more frequently to temporarily store unused pages until they’re no longer needed improving the overall system performance.

  12. Click the Set button.

    Windows 10 disable virtual memory

    Windows 10 disable virtual memory

    Source: Windows Central

  13. Click the Yes button.
  14. Select the drive you want to use for the paging file.
  15. Select the System managed size option — for example, E:.
  16. Click the Set button.

    Moving pagefile.sys to different drive

    Moving pagefile.sys to different drive

    Source: Windows Central

  17. Click the OK button.
  18. Click the Apply button.
  19. Click the OK button.
  20. Restart your computer.

Once you complete the steps, Windows 10 will automatically create a new pagefile.sys file containing the virtual memory content in the new location to improve performance.

Buy one iPhone 11, get one for FREE at Verizon

As a rule of thumb, you should only move the pagefile.sys file to another drive that’s equal or better in performance than the main drive with the Windows 10 installation. For example, if you’re using a traditional rotating platters hard drive, you can use another Hard Disk Drive (HDD) or Solid-State Drive (SSD) to store the virtual memory. Still, if you’re using an SSD, it wouldn’t be very logical to move the paging file to a mechanical drive. If this is the case, it would be best to install Windows 10 on the SSD to improve performance, rather than moving the virtual memory.

In the case that you no longer need this configuration, or it’s not working as expected, you can revert the changes using the same instructions, but on step No. 9, make sure to check the Automatically manage paging file size for drivers option and continue with step No. 16 and the remaining steps.

The above instructions use the option that allows Windows 10 to automatically configure the size of virtual memory, but if you want to adjust this setting manually, you can refer to this guide.

Confirming virtual memory

If you want to confirm that virtual memory is working on the new drive, use these steps:

  1. Open File Explorer.
  2. Click on This PC from the left pane.
  3. Under the Devices and drives section, double-click to open the drive that is now storing the paging file.
  4. Click the View tab.
  5. Check the Hidden items option.
  6. Click the Options button.

    File Explorer View tab

    File Explorer View tab

    Source: Windows Central

  7. Click the View tab.
  8. Under the “Advanced settings” section, clear the Hide protected operating system files option.

    Folder Options on Windows 10

    Folder Options on Windows 10

    Source: Windows Central

  9. Click the OK button.
  10. Click the Apply button.
  11. Click the OK button.
  12. Confirm the “pagefile.sys” is present.

    Virtual memory relocated on Windows 10

    Virtual memory relocated on Windows 10

    Source: Windows Central

After you complete the steps, you know if Windows 10 is using the new location for virtual memory.

If you want to hide the system files again (recommended), you can use the same instructions, but on step No. 5, check the Hidden items option, and on step No. 8, check the Hide protected operating system files option.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

We may earn a commission for purchases using our links. Learn more.

Leave a Reply

Discover more from Ultimatepocket

Subscribe now to keep reading and get access to the full archive.

Continue reading