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.
Step 3: Select the “Performance settings” option under the advanced tab.
Step 4: Select the “Advanced tab” under the virtual memory options, then click on change.
Step 5: Uncheck the option of “Automatically manage paging file size for all drives”.
Step 6: Choose the “No paging file” option and click “Set”. At last, you need to reboot your system to save these changes.
Welcome to share your thoughts and experiences about using the above steps to automatically clear the pagefile in windows at every shutdown.