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 create Slide to Shutdown function on Windows 10the slide to shutdown function on windows 10 helps you shut down quickly, shortening a lot of time to turn off the computer just by sliding the screen down.
- How to Cancel Automatic Shutdown on Windows 10windows 10 has a feature that automatically shuts down according to the plan that you set. but there will be times when you work or play games late and don't want the device to automatically turn off. tipsmake today will guide you how to execute the command line to cancel the automatic shutdown feature on command prompt as well as powershell. however, if you use power saving settings to reduce battery consumption when the laptop is not plugged in, you may need to change these settings in the power section.
- 6 quick ways to schedule Windows 10 computer shutdowndon't miss this tipsmake article, we will guide you how to schedule a windows 10 computer shutdown automatically, simply and easily.
- How to Make a Shutdown Shortcut in Windowscreating a shutdown shortcut in windows will allow you to shutdown your computer in a single click. this can be especially useful if you use windows 8, which has hidden the shutdown command behind several menus. windows 10 and windows 8...
- Fix 'This App is Preventing Shutdown' error on Windows 10if the applications are blocking the shutdown or restart process, you will see the message this app is preventing shutdown. here are the steps to fix the problem, make the shutdown and reboot smoothly.
- How to schedule automatic file deletion in the folder Download Windows 10on windows 10, there is a new feature that automatically deletes the data in the download section within 30 days, if the user does not have any changes.
- How to automatically shut down Windows 7, 8 and XP computer automatically?how to schedule a simple shutdown quickly. you often forget to turn off your computer, or you want to do it even faster to turn off your computer.
- How to Automatically Delete Temporary Files on Windows 11to free up space for your computer and speed up your computer, you should check and delete some temporary windows folders or set up to delete temporary files on windows 11.
- Top 3 tools to manage and control Shut down on Windowsshut down is one of the basic functions of a computer, but you can use third-party tools to better control it. in this article, tipsmake.com will introduce you to some tools to block, automate and speed up the shutdown process. all of the programs below are provided free and extremely compact and do not take up much of your system resources.
- Instructions for creating Slide to Shut Down shortcut on Windows 10 computerslide to shutdown is a feature that is integrated from windows 8, 8.1 and windows 10. this is a feature that helps you turn off quickly, shorten a lot of time to perform computer shutdown just by sliding the screen down. in the article below, network administrator will guide you how to create a slide to shut down shortcut on a windows 10 computer