How to Reset Virtual Memory in Windows 10 & 11

When facing problems or to improve system performance, you can reset the virtual memory in Windows 10 & 11. Here is how to do it.

Along with the physical memory, Windows also has something called a Virtual Memory or Page File. Windows uses virtual memory every day in almost all situations. It doesn’t matter how much physical memory (RAM) your system has; Windows always uses the virtual memory to manage the system properly.

If you don’t know, virtual memory is nothing but a memory file, also known as the Page File, used by Windows to move and store less frequently modified pages and apps in the RAM. That way, the storage space in RAM increases, and more apps and pages can run without problems. That is why systems with low memory can still run many applications at once, albeit at the cost of overall performance.

As good and helpful as virtual memory is, there will be situations where it can cause problems. In that case, you have to reset the virtual memory or page file in Windows.

The virtual memory file is cleared, and Windows doesn’t have to deal with old items. It is pretty safe to reset the virtual memory if you are wondering.

Follow the guide below to quickly and easily reset the page file or virtual memory in Windows operating system if you ever want to.

Important note: The steps below will work in Windows 10 and 11.

Reset virtual memory in Windows 10 & 11

To clear or reset the virtual memory, you can follow one of the three methods. They are as follows:

Clear virtual memory with System Properties tool

By disabling and enabling the pagefile option in the System Properties tool, you can effectively reset virtual memory. Here is how to do it.

  1. Open the Settings app.
  2. Go to “System > About.”
  3. Click on “Advanced System Settings.”
  4. Press “Settings” under “Performance.”
  5. Go to the “Advanced” tab.
  6. Click “Change” under “Virtual Memory.”
  7. Uncheck the “Automatically manage paging file size for all drive” checkbox.
  8. Choose the “No paging file” option.
  9. Click the “Ok” button.
  10. Reboot the computer.
  11. Follow the steps from 1 to 6 again.
  12. Select the “Automatically manage paging file size for all drive” checkbox.
  13. Press the “Ok” button.
  14. Reboot the computer.
  15. You have reset the virtual memory in Windows 10 & 11.
reset virtual memory in Windows 10 and 11

Reset virtual memory in Group Policy

By enabling the “clear virtual memory pagefile” policy, you can easily reset the virtual memory in Windows 10 & 11. Here are the steps to follow.

  1. Press the Start key on your keyboard.
  2. Search and open “Edit Group Policy.”
  3. Go to the “Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Option” folder.
  4. Open the “Clear virtual memory pagefile” policy with a double-click.
  5. Choose the “Enabled” option.
  6. Press the “Ok” button.
  7. Close the Group Policy Editor.
  8. Reboot the computer.
  9. With that, the virtual memory is cleared and reset.

Make registry changes to reset virtual memory

If you don’t have access to the Group Policy Editor, you can use the Registry Editor to reset the virtual memory. Windows Home users can use this method.

  1. Press the Start key.
  2. Search and open “Registry Editor.”
  3. Go to the “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management” folder.
  4. Right-click on the “Memory Management” folder.
  5. Choose “New > DWORD (32-bit) Value.”
  6. Set the value name as “ClearPageFileAtShutdown.”
  7. Double-click the value.
  8. Type “1” in the Value Data field.
  9. Press the “Ok” button and close the Registry Editor.
  10. Reboot the computer, and virtual memory is reset.

That is it. It is that simple to reset virtual memory in Windows 10 & 11.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, comment below, and I will try to help as much as possible.

Scroll to Top