In Windows 10 we noticed significant improvements in both, power on and the shutdown of the system but sometimes you can have specific problems that make this task something a little slower than usual.
In this tutorial, you will see how to improve the shutdown in Windows 10.
To shutdown, windows use a paging file which works as a virtual memory for running processes, and when you power off the system, Windows 10 has a hidden option that is responsible for deleting this file for preventing other users from accessing confidential.
Windows will take some time to remove the file and this time depends on the size and speed of the hard disk.
Table of Contents
Method #1: Disable Paging Deletion on Shutdown
Automatically when you shutdown the system, Windows remove the pagefile, but if it has a considerable size, it will cause a slowdown.
- To disable this, press Winkey + R and run the regedit command to open the Registry Editor.
- Now, go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
- There double on the value ClearPageFileAtShutdown.
- On the field Value data, set it to zero (0) to disable it or one (1) to enable it:
Method #2: Disable Virtual Memory Cleanup
This is another reason that directly affects the shutdown of the system.
- To edit this setting reopen the Registry Editor pressing Winkey + R and running secpol.msc
- Now, go to Local Policies > Security Options
- There locate the policy called Shutdown: Clear virtual memory pagefile
- Double click on it and check if the Disabled box is active:
Method #3: Decrease WaitToKillServiceTimeout
Windows 10 doesn’t shut down automatically when the button is pressed. First, a signal is sent to all the applications and services and then, its expected during a time to complete their closing process and store their data before forcing a closure, by default the waiting time is 5 seconds.
- In some cases this value could have been modified which affects the shutdown speed, to check this reopen the Registry Editor (regedit).
- Now, go to HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control
- Double click on WaitToKillServiceTimeout and if its current value is 5000 (milliseconds), is the default value of Windows 10, you can decrease this number for example 1000.
Method #4: Force Shutdown using Command Prompt
With this method, the system is instructed to do a forced shutdown, closing all open software.
- First, open the Command Prompt as Administrator.
- Now, you can run this command to force the shutdown: shutdown -s –f -t 1
Method #5: Use Shortcut to Shutdown Windows Faster
- For this process, right click on any blank space on the desktop and select the option New > Shortcut.
- There, enter one of the commands, click on Next, set a Name and click on Finish.
Shutdown: % windir% \ System32 \ shutdown.exe / s / t 0
Restart: shutdown -r -t 00
Hibernate: % windir% \ System32 \ shutdown.exe -h
Advanced Startup: % windir% \ system32 \ shutdown.exe / R / O / F / T 00
Using one of these options your Windows 10 will shutdown much faster.