How to Reset Virtual Memory or Page File in Windows 11 or 10?

The Page File is also known as Virtual Memory. In Windows, Virtual Memory will boost performance or provide additional memory when needed. It uses our storage space and speeds up our System when Windows runs out of RAM (Random Access Memory). While Windows configures it automatically, we can reset it.

https://studio.youtube.com/video/vJT-6Oor4jc/edit

We will guide you on resetting Virtual Memory or Page File in Windows 11/10 in this risewindows article.

What is Virtual Memory or Page File on Windows 11/10?

According to Microsoft, a Paging file is an area on the hard disk that Windows uses as if it were RAM. It will use when there is a lack of RAM or if Windows finds it better to store it in virtual memory. It is constructive to run an older PC with insufficient RAM.

The performance will depend on the storage quality since Virtual Memory uses the storage space. It will be faster than the HDD if we are using an SSD. Moreover, We should note that the overall storage usage will be more which can further impact the life of the HDD or SSD.

Reset Virtual Memory (Page File) on Windows 11/10

Reset Virtual Memory (Page File) means either clearing the page file when the system shutdown or when you manually change the size; the System will automatically reset it. You can also remove or reset the virtual memory (page file) using Group Policy, Registry Editor, or manually.

Using Group Policy, how to Reset Virtual Memory or Page File on Windows 11 or 10?

Do the following to reset or clear Virtual Memory (Page File) in Windows 11 or 10 using Group Policy:-

Step 1. We need to open the Local Group Policy Editor.

Step 2. Now, go to the following folder in the left sidebar when the Local Group Policy Editor window opens:-

Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Option

Local-Group-Policy-Editor-Security-Options-1024x720

Step 3. After that, double-click on the policy name “Shutdown: Clear virtual memory pagefile” on the right-side pane.

Shutdown_-Clear-virtual-memory-pagefile-Properties

Step 4. Then, Select Enabled.

Step 5. Click on the Apply button.

Step 6. Next, click the OK button.

Step 7. After that, we need to reboot our computer to apply the changes.

The virtual memory page file is cleared every time we shut down our Windows 11/10 system. The most noteworthy advantage of using this policy is that no one else can access Virtual Memory data by connecting the HDD/SSD to another PC. Moreover, you may notice slow performance while turning off the PC.

How to Reset Virtual Memory or Page File using Registry Editor?

Step 1. First, we need to open the Registry Editor.

Step 2. When Registry Editor appears on our computer, go to the following path in the left pane.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Registry-Editor-Memory-Management-1024x728

Step 3. Now, double-click on the ClearPageFileAtShutdown REG_DWORD on the right side of “Memory Management” folder.

Regedit-ClearPageFileAtShutdown-1024x728

Step 4. After that, set “Value data” to 1.

Step 5. Then, click on the OK button.

Step 6. Now, we need to restart our computer to apply the changes.

After completing the above steps, when we shut down our Windows 11/10 PC, Virtual Memory or Page File will be cleared automatically.

How to Reset Virtual Memory or Page File Manually on Windows 11 or 10?

Windows will delete the Paging File and create it again if we change the Virtual Memory (Page File). We can set Virtual Memory two or three times the memory size of RAM, while Windows uses around 10% of the physical memory as a Virtual Memory.

That’s all for this article. I hope this article will add some value to your work.

You guys are amazing; Keep reading, learning, and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: