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

Guided Steps to Resetting Virtual Memory in Windows 11/10

In the complex ecosystem of a computer’s memory management, Virtual Memory or the Page File emerges as a pivotal component. Acting as a virtual extension of your computer’s RAM, this feature in Windows leverages your storage to supplement memory requirements when the system is running low on actual RAM. Essentially, it serves as a backup memory reserve, ensuring seamless performance even when handling resource-intensive tasks. However, there might be instances when this system-set configuration doesn’t align with your specific needs or when troubleshooting requires a reset. Whether you’re looking to optimize performance or address certain issues, resetting the Virtual Memory can be beneficial. In this risewindows guide, we’re going to demystify the process, providing a clear roadmap for resetting the Virtual Memory or Page File in Windows 11/10.

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

In the intricate world of computer memory management, the Paging file stands out as a crucial element. As articulated by Microsoft, a Paging file is a designated space on the hard disk that Windows employs as a surrogate for RAM. This becomes especially vital when the system is running low on actual RAM, or when Windows determines that specific data would be more efficiently stored in virtual memory. This feature becomes a godsend for older PCs with limited RAM, effectively enhancing their performance.

However, it’s essential to recognize that the efficacy of Virtual Memory largely hinges on the quality of your storage. If the system employs an SSD, Virtual Memory operations will be markedly swifter compared to those on an HDD. Still, a point of consideration is that relying heavily on Virtual Memory increases overall storage activity. This could, in the long run, influence the longevity of both HDDs and SSDs.

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

Resetting the Virtual Memory, often referred to as the Page File, can be accomplished in multiple ways. Essentially, resetting can be interpreted as either purging the page file upon a system shutdown or modifying its size, upon which the system automatically reconfigures it. The significance of the Page File lies in its ability to bolster system performance by compensating for potential RAM deficits, utilizing storage space as a makeshift RAM. For those looking to reset this feature, there are a variety of methods at your disposal: you can utilize the Group Policy, manipulate the Registry Editor, or handle it manually. In this risewindows guide, we will explore each of these avenues, ensuring you have comprehensive insight into managing and resetting the Virtual Memory on your Windows system.

How to Reset Virtual Memory or Page File on 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


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


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 set to clear each time you shut down your Windows 11/10 system. A significant benefit of implementing this policy is the enhanced security it offers, ensuring unauthorized users cannot access Virtual Memory data by connecting the HDD/SSD to another computer. However, a potential drawback to be mindful of is a potential slowdown in performance during the system’s shutdown process.

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

Follow these steps 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


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


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 to two or three times the memory size of RAM, while Windows uses around 10% of the physical memory as Virtual Memory.


Virtual Memory, or the Page File, plays a pivotal role in ensuring your Windows system runs smoothly, especially when dealing with RAM-intensive tasks. Though Windows often manages this feature adeptly, understanding how to reset and control it provides users with an added layer of customization and potential performance enhancement. By following the steps outlined in this guide, users can confidently navigate and manipulate the Virtual Memory settings, ensuring their system’s optimal performance and security. Whether you’re troubleshooting, optimizing, or merely curious, having this knowledge at your fingertips proves invaluable for any Windows 11/10 user.

Neelam Yadav
Neelam Yadav
I am a tech lover and love to explore new techonology.

Leave a Comment

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

How to Reset Sound Drivers on Windows 11?

Sound issues on a computer can stem from various problems, but one common culprit is often outdated or corrupted sound drivers. These drivers, responsible...

How to Open Command Prompt as Administrator on Windows 11/10/8/7?

Command Prompt, often abbreviated as cmd, has been an integral tool for Windows users since the early days of the operating system. Whether you're...

How to Turn on the UWP File Explorer on Windows 11?

Navigating the intricate digital ecosystem of Windows, you might have stumbled upon the term UWP or Universal Windows Platform. This is Microsoft's evolution for...

How to Enable or Disable IPv6 on Windows 11 or 10?

In the dynamic world of the Internet, staying updated with the latest technology is essential. Internet Protocol version 6 (IPv6) is the newest version...

How to Enable or Disable IPv4 on Windows 11 or 10?

IPv4 (Internet Protocol version 4) is the predominant protocol used for transmitting data over the vast networks of our modern digital age. Serving as...