
Normally, when you shut down your PC, it clears out the RAM automatically but the data on the pagefile remains intact.

The pagefile actually works as a virtual memory in your PC, So, whenever you’re running low on RAM, some least used or unused memory pages are moved to that virtual memory to prevent program crash. One of these methods is a simple registry hack which you can perform on the Registry Editor, whereas, the other method needs you to make some changes in the Group Policy Editor. If you’re aware of the term “ Pagefile” then well and good, and if not then let me briefly explain it to you. There are two different methods using which you can make your PC automatically clear the pagefile when you shutdown it.

This tutorial is all about how to automatically clear pagefile at shutdown in Windows 10 PC.
