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

Page File is also known as Virtual Memory. Virtual memory is a type of memory that Windows uses to improve the overall performance or when there is a need for extra memory. It uses our storage space and speeds up our System when Windows runs out of RAM(Random Access Memory). We can reset it while Windows automatically configures it.

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 in 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 is used 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 that does not have enough 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 usage of the storage will be more which can further impact the life of the HDD or SSD.

Reset Virtual Memory (Page File) in 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.

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

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. Now, click on the Apply button.

Step 6. Next, click on 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 side 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 Managment” 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 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.

Leave a Reply

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

%d bloggers like this: