There are many ways to delete Pagefile when shutting down Windows 10, freeing up unnecessary memory for a high-spec machine. And in this article, Mytour reveals 2 out of many ways to delete Pagefile when shutting down Windows 10. Both methods meet the criteria of simplicity and swiftness. To find out more, follow the instructions below.
Delete Pagefile When Shutting Down Windows 10
1. Deleting Pagefile When Shutting Down Windows 10 with Gpedit.msc
Step 1: To delete Pagefile when shutting down Windows 10 using Gpedit.msc, press Windows key + R and type Gpedit.msc then click OK.
Step 2: Immediately, the Gpedit.msc interface appears, now begin to delete the Pagefile when shutting down Windows 10.
Step 3: Access the following path to navigate to Security Options:
Computer Configuration >Windows Settings >Security Settings >Local Policies >Security Options.
Step 4: Look to the right, find the line Shutdown: Clear virtual memory page file and double-click on it.
Step 5: In Shutdown: Clear virtual memory page file, it's currently set to Disable. To delete the Pagefile when shutting down Windows 10, simply switch it to Enable and Apply > OK.
2. Deleting Pagefile When Shutting Down Windows 10 with Regedit
Step 1: To delete the Pagefile when shutting down Windows 10 using Regedit, press Windows key + R and type Regedit then click OK.
Step 2: Here, you access the following path to navigate to Memory Management.
HKEY_LOCAL_MACHINE >SYSTEM >CurrentControlSet >Control >Session Manager >Memory Management.
Step 3: In Memory Management, right-click and select New >DWORD (32 bit) Value.
Step 4: The newly created file is named ClearPageFileAtShutdown.
Step 5: Double-click on the newly created file and enter Value data 1 then press OK to confirm the setting.
Afterwards, simply restart to automatically delete Pagefile when shutting down Windows 10.
Above are 2 methods to help you delete Pagefile when shutting down Windows 10 completely automatically. Readers can choose one of the 2 methods to delete Pagefile when shutting down Windows 10. For those using Windows 10 Home edition unable to use Gpedit.msc, you can refer to the guide how to activate Gpedit.msc on Windows 10 Home here in case Regedit is not available.
For Windows 10 users, sometimes it's unclear whether the Windows 10 system is activated or not. So how do you find out? Check Windows 10 activation status here.
