WEBVTT

00:00.160 --> 00:03.840
Do you want to reset Page File 
or Virtual Memory in Windows 11?
 

00:03.840 --> 00:13.280
Then you are at the right place as here is how.
Let’s get started.
 

00:13.280 --> 00:17.360
This is The Windows Club.
Virtual Memory or Page File is a type of memory  

00:17.360 --> 00:22.400
that allows Windows to use part of the storage 
space a RAM, to improve the overall performance  

00:22.400 --> 00:26.880
or when there is a need for extra memory. 
While Windows configures it automatically,  

00:26.880 --> 00:31.760
you can always reset it. In this video we 
will show you on what this memory is and  

00:31.760 --> 00:38.160
how to reset Virtual Memory or Page 
File in Windows. Let’s get started.
 

00:38.160 --> 00:41.840
According to Microsoft, A paging 
file is an area on the hard disk  

00:41.840 --> 00:45.920
that Windows uses as if it were RAM. 
When there is a shortage of RAM or if  

00:45.920 --> 00:50.720
Windows finds it better to store it in virtual 
memory, it is used. It is useful when running  

00:50.720 --> 00:55.440
an older PC that doesn’t have enough RAM 
or can use a bit more when required.
 

00:55.440 --> 01:00.080
Since it uses storage, the performance will depend 
on the storage quality. If you are using an SSD,  

01:00.080 --> 01:04.880
it will be faster than the HDD. Also, the 
overall usage of the storage will be more which  

01:04.880 --> 01:19.040
can further impact the life of the HDD or SSD.
Every time you change the size of the virtual  

01:19.040 --> 01:22.720
memory or page file, it resets and 
starts using it from the beginning.
 

01:22.720 --> 01:26.400
Open Windows Settings using Win + I
Navigate to System then select About
 

01:26.400 --> 01:29.280
Under Device Info, click on the 
Advanced System settings link
 

01:29.280 --> 01:33.200
It will open the System Properties
Switch to the Advanced tab, and then click on  

01:33.200 --> 01:38.000
the Settings button under the Performance section
In the Performance Options switch to Advanced Tab
 

01:38.000 --> 01:40.800
Locate the Virtual memory section 
and click on the Change button
 

01:40.800 --> 01:44.560
Uncheck the automatically manage 
paging file size for all drives option,  

01:44.560 --> 01:49.120
and it will enable custom size, the 
System managed size, and other options
 

01:49.120 --> 01:51.920
Here is all you can do next
Set Custom Size
 

01:51.920 --> 01:55.440
Disable the No paging file option
Enable System Managed size
 

01:55.440 --> 02:05.200
Once you change, it will reset 
the Virtual Memory or Page File
 

02:05.200 --> 02:09.840
If you are using Windows Professional or Server, 
you can use Group Policy to make the changes.
 

02:09.840 --> 02:14.480
Open Run prompt using Win + R
Type gpedit.msc and press the Enter key  

02:14.480 --> 02:17.360
to launch the Group Policy Editor
Navigate to this folder
 

02:17.360 --> 02:22.400
Local Computer Policy > Computer Configuration 
> Windows Settings > Security Settings > Local  

02:22.400 --> 02:25.600
Policies > Security Option
Find policy: Shutdown:  

02:25.600 --> 02:29.680
Clear virtual memory pagefile
Double-click to open the policy configuration
 

02:29.680 --> 02:32.480
Select the Enabled radio 
button and apply the changes
 

02:32.480 --> 02:37.200
Once done, the virtual memory page file is 
cleared every time you shut down the Windows PC. 
 

02:37.200 --> 02:41.600
The most significant advantage of using this 
policy is that no one else can access them by  

02:41.600 --> 02:46.880
connecting the storage to another PC. When in use, 
Windows protects the page file, but it is not the  

02:46.880 --> 02:58.320
same case when it is connected to another PC.
The registry method is for Windows Home users  

02:58.320 --> 03:02.480
who don’t have access to the group policy. 
While it is easy to use, it is also risky.
 

03:02.480 --> 03:06.480
Ensure to create a System Restore point 
which will be handy if you accidentally  

03:06.480 --> 03:10.000
delete something in the registry 
resulting in a non-bootable system.
 

03:10.000 --> 03:13.280
Open Run prompt using Win + R
Type regedit click on Ok.
 

03:13.280 --> 03:15.600
In the Registry Editor, 
navigate to the following path
 

03:15.600 --> 03:17.120
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\Memory Management
 

03:17.120 --> 03:19.360
Locate DWORD ClearPageFileAtShutdown 
and double-click to edit it
 

03:19.360 --> 03:23.760
Set the value as 1. It will ensure to 
clear the page file during the shutdown.
 

03:23.760 --> 03:26.000
So, that's it.
Subscribe to The Windows Club for all  

03:26.000 --> 03:40.320
your tech solutions related to Windows.
Thanks for watching.
