How to Reset Virtual Memory in Windows 11 or Windows 10? Easy Ways
Virtual memory, also known as the paging file, allows Windows to use disk space when RAM is full. The system stores temporary data in a file called pagefile.sys, ensuring applications continue running smoothly even when physical memory is limited.
However, problems may arise when:
- Paging file settings are misconfigured
- Disk space becomes insufficient
- System upgrades change memory requirements
- Applications overload virtual memory usage
Resetting virtual memory restores default settings and removes incorrect configurations. This process can improve system responsiveness, fix memory-related errors, and ensure Windows manages resources efficiently.
This guide provides a detailed explanation of how to reset virtual memory in both Windows 11 and Windows 10.
How to Reset Virtual Memory in Windows 11 or Windows 10?

To reset virtual memory in Windows 11 or Windows 10, open System Properties, go to Advanced System Settings, access Performance Settings, navigate to the Advanced tab, and click Change under Virtual Memory. Uncheck automatically manage paging file size, set custom values, or choose no paging file, apply changes, then re-enable automatic management to reset it.
Step 1: Open Advanced System Settings
The first step is to access the advanced system configuration panel, where virtual memory settings are located.
Press the Windows key and type View advanced system settings in the search bar. Click on the result to open the System Properties window.
Alternatively, press Windows key plus R to open the Run dialog box, type sysdm.cpl, and press Enter. This will directly open the System Properties window.
Once opened, make sure you are on the Advanced tab, which contains performance-related options.
Step 2: Access Performance Settings
Inside the System Properties window, locate the Performance section. Click on the Settings button under Performance.
This action opens the Performance Options window. Here, Windows allows you to adjust visual effects, processor scheduling, and memory usage settings.
Switch to the Advanced tab inside Performance Options. This tab specifically contains the virtual memory configuration.
Step 3: Open Virtual Memory Settings
Under the Advanced tab, you will find a section labeled Virtual Memory. It shows the currently allocated paging file size.
Click on the Change button to open the Virtual Memory settings window.
At the top of this window, you will see an option labeled Automatically manage paging file size for all drives. By default, this option is enabled.
To reset virtual memory manually, you need to temporarily disable this option.
Step 4: Disable Automatic Paging File Management
Uncheck the option Automatically manage paging file size for all drives.
Once unchecked, you will gain access to manual configuration options. These include:
Custom size
System managed size
No paging file
Selecting the wrong option can affect performance, so follow the next steps carefully to reset the configuration safely.
Step 5: Set No Paging File Temporarily
To reset the virtual memory, select the system drive, usually labeled C.
Choose the option No paging file and click on Set.
A warning message may appear indicating that disabling the paging file can cause system instability. This is normal because the goal here is to clear existing settings.
Click Yes to confirm and proceed.
This step removes the current paging file configuration and prepares the system for a clean reset.
Step 6: Restart Your Computer
After applying the changes, click OK on all open windows and restart your computer.
The restart is important because Windows needs to remove the existing paging file from the system.
Once the system reboots, the virtual memory will be effectively cleared.
Step 7: Re-enable Automatic Virtual Memory
After restarting, repeat the earlier steps to open Virtual Memory settings again.
Navigate back to System Properties, open Performance Settings, go to the Advanced tab, and click Change under Virtual Memory.
Now, re-enable the option Automatically manage paging file size for all drives.
Click OK and apply the changes.
This step allows Windows to recreate the paging file using optimal default values based on your system configuration.
Step 8: Optional Custom Virtual Memory Configuration
If you prefer manual control, you can set a custom virtual memory size instead of automatic management.
Uncheck automatic management again and select your system drive. Choose Custom size.
Set the Initial size and Maximum size based on your RAM. A common recommendation is:
Initial size equal to your installed RAM
Maximum size up to twice your RAM
For example, if your system has 8 GB RAM, you can set:
Initial size is 8192 MB
Maximum size is 16384 MB
Click Set and then OK to apply changes.
Restart your computer for the settings to take effect.
Step 9: Verify Virtual Memory Reset
To confirm that the reset was successful, go back to Virtual Memory settings.
Check if the system now shows either System managed size or your newly configured custom values.
You can also monitor performance improvements using Task Manager under the Performance tab.
Look for smoother operation, reduced lag, and fewer memory-related warnings.
FAQs
What is virtual memory in Windows?
Virtual memory is a feature that uses disk space as an extension of RAM, allowing your system to handle more tasks efficiently.
Is it safe to reset virtual memory?
Yes, resetting virtual memory is safe when done correctly. It restores default settings and can improve system performance.
Will resetting virtual memory delete my files?
No, it only affects the paging file used by Windows. Your personal files and applications remain unchanged.
How often should I reset virtual memory?
You only need to reset it when facing performance issues, memory errors, or after major system changes.
What happens if I disable virtual memory completely?
Disabling virtual memory may cause system instability, crashes, or application failures, especially on systems with low RAM.
Should I use automatic or custom virtual memory settings?
Automatic management is recommended for most users as Windows optimizes the values. Custom settings are useful for advanced users.
Why is my PC slow even after resetting virtual memory?
Slow performance may be caused by other factors such as low RAM, background applications, malware, or disk issues.
