MSFTNEXT

Fix Slow Shutdown in Windows 10

How to Fix Slow Shutdown in Windows 10

If you have experienced slow shutdowns in Windows 10, you should know that the operating system has a hidden option to speed it up. With a few Registry edits, you can speed up the shutdown process significantly.

When you turn off your computer, Windows waits for a response from running applications and services. Depending on how your running applications respond to a programmatic shutdown request, the process can take a long time, especially if some service or application does not quit quickly, or completely ignores the OS shutdown request. There are a few settings in the Registry that determine the time in seconds that the OS will wait before forcibly terminate running applications, and then shut down. You can reduce this latency so that Windows 10 shuts down and restarts faster.

To Fix Slow Shutdown in Windows 10

  1. Press Win + R and type regedit in the Run box to open the Registry editor.
  2. Navigate to following Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
  3. Also, you can open this key faster.
  4. Change the WaitToKillServiceTimeout REG_SZ value in the right pane to 5000.
  5. Now, go to the key HKEY_CURRENT_USER\Control Panel\Desktop.
  6. Create two string (REG_SZ) values, HungAppTimeout and WaitToKillAppTimeout.
  7. Set both to 5000.
  8. Restart Windows 10.

How does it work

WaitToKillServiceTimeout 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 Paint) that run in the active user session we use the WaitToKillAppTimeout and WaitToKillAppTimeout values.

WaitToKillAppTimeout value 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.

Some suggestions

Looks like you've read the post to the end. If you enjoyed it, please share it. You would greatly help our blog to grow!
Exit mobile version