How to automatically delete Pagefile.sys on shutdown in Windows 10
To free up more hard drive space, deleting Pagefile.sys is also a possible method, and you can also set it to automatically delete every time you shutdown.
To set this up, you will need to make changes in the Registry. So follow the instructions carefully, sometimes you make a small step wrong can also make Windows work incorrectly.
Step 1: Open the Registry editor by pressing Windows + R key combination . Then you enter the code dialog " regedit ".
Step 2: In Registry Manager, go to: ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management
You copy the line above and paste it into the address box, then Enter is okay.
Step 3: In the " Memory Management " folder , double-click on the " ClearPageFileAtShutDown " key .
Step 4: In the Value data box , enter " 1" . Then OK .
At the end you restart the computer and the settings will be applied. From there, every time you shut down the computer, pagefile.sys will be deleted. But rest assured, it will be re-created every time.
If this article is helpful to you, please continue to follow Tipsmake.com to learn more Windows 10 tutorials!
You should read it
- Instructions for changing Pagefile.sys size and location on Windows
- Clean up traces of Pagefile every time you turn off your Windows 10 computer
- Instructions for changing Pagefile size and position on Windows
- What is Pagefile.sys and should it be disabled?
- What is Swapfile.sys, how to delete Swapfile.sys?
- How to manage Pagefile virtual memory in Windows 10
- What is a DLL file, and how does this file work?
- How to Show Hidden Files in Windows 7
May be interested
- How to access Event Viewer in Windows 10with the help of event viewer, you can view the events that happened on your computer. this article introduces 6 methods to open the event viewer application on windows 10. please read the reference!
- 3 ways to delete all event logs in Windows 10sometimes, you may need to delete all old event logs at the same time. in this tutorial, tipsmake.com will show you 3 ways to quickly delete all event logs in windows 10 event viewer.
- Difference between Recovery Drive and System Image in Windows 10if you confuse these two great backup options and don't know which one is going to work for you, the following article will help you find the difference between recovery drive and system image in windows 10.
- How to recover or reset a lost Windows 10 user account passwordin this article, tipsmake.com discusses some of the ways you can recover or reset passwords on windows 10 and earlier windows operating systems.
- How to increase virtual RAM on Win 10not every computer is equipped with a large amount of ram, because of that, the virtual ram feature on windows 10 was born. virtual ram on the computer is a useful solution to improve the ram capacity of the computer and increase processing speed.
- How to unregister and reset Windows Subsystem for Linux (WSL) distros on Windows 10this guide will show you how to unregister and reset the windows subsystem for linux (wsl) distro to the default settings in windows 10.