If you have experienced slow shutdown in Windows 10, you should know that the OS comes with a built-in ability to speed it up. With a few tweaks, you can significantly speed up the shutdown process. Let's see how it can be done.
When you shutdown your PC, Windows 10 is waiting for a response from running applications and services. Depending on how your running apps respond to the shutdown call or exit, Windows can take lots of time, especially if some service or app does not finish its job and exit quickly. In the Registry, there are a few settings which define the time in seconds for which the OS will wait before it forcibly kills running applications to proceed with the shutdown. You can reduce this timeout so Windows 10 will perform a faster shutdown and restart much faster.
Here you go.
- Open Registry Editor.
- Go to the following Registry key:
- See the WaitToKillServiceTimeout REG_SZ value in the right pane:
This is the number in milliseconds for which Windows 10 will wait for every service before it stops that service forcibly. It must be between 1000 and 20000, which corresponds to 1 and 20 seconds respectively. The lower the value, the faster Windows 10 will terminate services.
- For interactive applications like Notepad or Word which run in the active user session, another tweak must be applied. Go to the following Registry key located here:
There you can create 2 REG_SZ values, HungAppTimeout and strong>WaitToKillAppTimeout.
WaitToKillAppTimeout represents the time to wait for a response from a running app. Lowering this value will lead to apps getting killed faster when you restart or shut down Windows.
HungAppTimeout specifies the time Windows allows for the app to exit before the app is considered as having hanged or unresponsive. A low value means the app will be considered as unresponsive very quickly and Windows will ask you to terminate it.
- Restart Windows 10 for the changes to take effect.
- I do not recommend you to tweak HungAppTimeout and WaitToKillAppTimeout parameters. If you set these values too low, it can lead to issues such as app being unable to save their data properly, as Windows kills them before they can do that.
- Do not set WaitToKillServiceTimeout to 1 second or even to 12 seconds. Remember, some services need time to save their data and settings. Instead, experiment with WaitToKillServiceTimeout value and try to find the optimal period which affects the shutdown process without losing any data or causing corruption.