Jump to content
Sign in to follow this  
Tech 425

How to move virtual memory to a different drive on Windows 10

Recommended Posts

How to move virtual memory to a different drive on Windows 10

Yes, it's possible to move your device virtual memory to another drive, and here are the steps to perform this task on Windows 10.

1.png

 

How to move virtual memory to another drive

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

  • Open Settings.
  • Click on System.
  • Click on About.
  • Under the "Related settings" section, on the right side, click the System info option.

 

2.png

 

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

 

3.png

 

  • Under the "Performance" section, click the Settings button.

 

4.png

 

  • Click the Advanced tab.
  • Under the "Virtual memory" section, click the Change button.

 

5.jpg

 

  • Clear the Automatically manage paging file size for drivers option.
  • Under the "Paging file size for each drive" section, select the C: drive.
  • 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.

  • Click the Set button.

 

5.jpg

 

  • Click the Yes button.
  • Select the drive you want to use for the paging file.
  • Select the System managed size option -- for example, E:.
  • Click the Set button.

 

7.jpg

 

  • Click the OK button.
  • Click the Apply button.
  • Click the OK button.
  • 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.

s 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:

 

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

 

1.png

 

  • Click the View tab.
  • Under the "Advanced settings" section, clear the Hide protected operating system files option.

 

2.png

 

  • Click the OK button.
  • Click the Apply button.
  • Click the OK button.
  • Confirm the "pagefile.sys" is present.

 

3.png

 

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.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×