How to remove pagefile.sys and hiberfil.sys. What do pagefile.sys and hiberfil.sys do?. How to Fix IP address conflict Windows 10, 8. To revert the changes, edit the same registry key above and change the value to 0, then save and reboot. Restart your computer for the changes to take effect. If not, right-click and select New > DWORD (32-bit) Value and name it ClearPageFileAtShutdown and set the value to 1. If you have a REG_DWORD key called ClearPageFileAtShutdown, double-click on it and change the value to 1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\. Backup registry database then Navigate to the following key:. Press Windows + R, type regedit and ok to open the windows registry editor. How to Clear the Pagefile in Windows Registry To revert the changes, edit the same policy above and change the setting to Disabled, then save and reboot. Restart your computer for the changes to take effect. In the policy settings window, select the Enabled radio option, and then click on the OK button to save the changes. Here In the right panel, find and double-click on the Shutdown: Clear virtual memory page file policy. Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. Now on the left panel Navigate to the following path. Press Windows + R, type gpedit.msc and ok to Group Policy Editor. How to Clear the Pagefile in Windows Group Policy But you make Windows automatically clear the pagefile with every shutdown, it will actually overwrite the existing pagefile data with “zeros” and save some valuable space on your disk drive. The swapfile.sys and pagefile.sys files should disappear from your hard drive.Īs Virtual memory (pagefile.sys) play an important role in system performance, We don’t recommend to delete. At the end, click “Apply” and “OK” and restart your PC. You can also change the size of the file, specifying on your own. Here uncheck “Automatically manage paging file size for all drivers” and set the option “No paging file.”. Now again, choose the Advanced tab in the window that opens and click the ‘Change…’ button under Virtual memory. Click Settings within the Performance section, which is on the Advanced tab. Open Control Panel and search for ‘advanced system settings’. As Page file or pagefile.sys currently in use, you cant delete this normally by right click and delete. And the answer is yes, The pagefile.sys is found at C:\pagefile.sys, but windows must have set to show hidden files and folders. You are reading this article because you want to get rid of the page file to free up some valuable space on your hard drive.