How To > How to Make Windows Delete the Paging File When Shut Down

How to Make Windows Delete the Paging File When Shut Down

Sunday, April 28, 2019

by Vivian

Follow @WiseCleaner
Pagefile.sys is a memory file that stored on your local hard drive, if you need some extra memory, you can delete them, because a large number of pagefiles may slow down your system.
Wise Care 365
Free PC Cleaner and Speed up Tool
Free to clean up disk and fix registry problems on your PC. Protect your privacy and make your PC more secure. Provide a better solution for optimizing and accelerating your computer!

The pagefile.sys acts as a virtual memory on your windows, if your machine is in low memory, windows will move the used memory pages to a

hidden file called pagefile.sys. When you shut down your computer, the system’s RAM will be erased but the page files can’t, so it makes possible 

for others to check for the sensitive data in the pagefile.sys. If you don’t want this to happen, this how-to tutorial will show you how to tweak 

the Windows 10 Registry file to force the deletion of pagefile.sys on every shutdown.

Step 1: Open “Control Panel” and go to “System”. 



Step 2: Click on “Advanced Settings” located on the left panel. 

advanced settings.png


Step 3: Select the “Performance settings” option under the advanced tab. 

performance settings.png


Step 4: Select the “Advanced tab” under the virtual memory options, then click on change. 

change performance options.png


Step 5: Uncheck the option of “Automatically manage paging file size for all drives”.


vitual memory.png


Step 6: Choose the “No paging file” option and click “Set”. At last, you need to reboot your system to save these changes. 

no paging file.png


Welcome to share your thoughts and experiences about using the above steps to automatically clear the pagefile in windows at every shutdown.