How to clear your page file at Shutdown in Windows 10

When your RAM fills up, Windows uses a paging file, also known as a screen file, as additional virtual memory. Every time you shut down Windows 10 will clear the page file, ensuring that no confidential data is left in the drive’s page file. In this article, we will guide you through the two different methods to clear your page file at Shutdown in Windows 10.

Clear your page file at Shutdown in Windows 10

To clear your page file at Shutdown in Windows 10, follow any of these procedures step by step.

Method #1

Click the Search button on the taskbar. Type Run in the search box and then click the Run option as the following image is showing.

As soon as you click the Run option, the subsequent dialogue box will appear.

Type Regedit within the Open textbox then click the OK button as highlighted within the above image. As soon as you click the OK button, the Registry Editor screen will appear as the following image is showing.

Navigate to the following path from the left side of the screen.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management

As you click the Memory Management option from the left side, the right side will show various options. Locate the ClearPageFileAtShutdown option and double click on it as the following image is showing.

As you double click the choice, the subsequent dialogue box will appear.

Put 1 in the Value date textbox and then click the OK button as highlighted in the above image.

Method #2

Click the Search button on the taskbar. Type Run in the search box and then click the Run option as the following image is showing.

As soon as you click the Run option, the subsequent dialogue box will appear.

Type gpedit.msc within the Open textbox then click the OK button as highlighted within the above image. The Local Group Policy Editor screen will appear as the following image is showing.

Navigate to the following path from the left side of the screen.

Local Computer Policy > Computer Configuration >Windows Settings > Security Settings > Local Policies > Security Options

As you click the Security Options from the left side of the screen, the right side will show some options. Locate the Shutdown: Clear virtual memory pagefile option and double click on it as highlighted in the above image.

Click the Enabled radio button. After that, click the Apply and then OK button as highlighted in the above image. Close the Local Group Policy Editor.

Conclusion

By following any of these procedures, you will be able to clear your page file at Shutdown in Windows 10.

1 thought on “How to clear your page file at Shutdown in Windows 10”

Leave a Comment

*