Site icon TechAIpost

How to Delete or Clear Pagefile at Shutdown in Windows 10

Clear Pagefile at Shutdown in Windows 10

Pagefile.sys is a part of the virtual memory and Windows uses this file as temporary storage for running programs/data. That means when the physical memory (RAM) is not enough to fit all the running apps and the system demands windows move some load to Virtual memory (Pagefile.sys). The paging file is, by default in the system drive, usually here: C:\pagefile.sys. and it’s automatically created and maintained by Windows itself, But you can alter it manually. Even if you have plenty of memory, Windows still uses the pagefile for caching when moving or deleting a large amount of files and for other activities.

Can I remove pagefile.sys?

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. 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. As Page file or pagefile.sys currently in use, you cant delete this normally by right click and delete.

How to delete pagefile.sys

Clear pagefile at shutdown windows 10

As Virtual memory (pagefile.sys) play an important role in system performance, We don’t recommend to delete. 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.

How to Clear the Pagefile in Windows Group Policy

How to Clear the Pagefile in Windows Registry

To revert the changes, edit the same registry key above and change the value to 0, then save and reboot.

Exit mobile version