How to change the value of HungAppTimeout in Windows 10

This tutorial will show you how to specify a HungAppTimeout value, to indicate how long the system will wait before the End Task dialog box appears in Windows 10.

If the application (task) does not automatically end (close) when you restart, shut down, or log off from Windows 10, the system will wait 5 seconds ( HungAppTimeout ) by default before the End Task dialog box appears, requires you to cancel or close the listed applications and restart, shut down or log out at all costs.

If you do not make a selection in the End Task dialog box before the 1 minute expires, Windows 10 will automatically cancel the reboot, shutdown or logout by default.

HungAppTimeout also specifies the time (5 seconds by default) the system waits for the user process to finish, after the user clicks the End Task task button in Task Manager. If this threshold is exceeded, the End Task dialog box appears, indicating that the process is unresponsive.

This tutorial will show you how to specify a HungAppTimeout value, to indicate how long the system will wait before the End Task dialog box appears in Windows 10.

Change the HungAppTimeout value only for the current user

1. Press the Win+ keys Rto open Run , type regedit in Run, and click OK to open Registry Editor.

2. Navigate to the key below in the left panel of the Registry Editor .

HKEY_CURRENT_USERControl PanelDesktop
Picture 1 of How to change the value of HungAppTimeout in Windows 10
Navigate to the key in Registry Editor

3. In the right panel of the Desktop key , double-click the HungAppTimeout string value to modify it.

If you do not have the HungAppTimeout string value, right-click or hold and hold a space in the right panel of the Desktop key , click New , click String Value , enter HungAppTimeout in the name field, and click Enter.

4. Enter the number of milliseconds you want for the HungAppTimeout value and click OK.

Picture 2 of How to change the value of HungAppTimeout in Windows 10
Enter the number of milliseconds you want for the HungAppTimeout value

Note:

  1. The default value is 5000 milliseconds (5 seconds). You can also delete the HungAppTimeout string value to default to 5000 milliseconds.
  2. Values ​​should not be set below 1,000 milliseconds (1 second).

5. Log out and log back in to apply the changes.

Change the HungAppTimeout value for all users

Note : You must be logged in as an administrator to perform this option.

This section will override the above option.

1. Press the Win+ keys Rto open Run , type regedit in Run, and click OK to open Registry Editor.

2. Navigate to the bottom key on the left of Registry Editor.

HKEY_USERS.DEFAULTControl PanelDesktop
Picture 3 of How to change the value of HungAppTimeout in Windows 10
Navigate to the key on the left of Registry Editor

3. In the right panel of the Desktop key , double-click the string value.

If you do not have the HungAppTimeout string value , create a new value as in step 3 above.

4. Enter the number of milliseconds you want for the HungAppTimeout value and click OK.

Note:

  1. The default value is 5000 milliseconds (5 seconds).
  2. Values ​​should not be set below 1,000 milliseconds (1 second).

5. Log out and log back in to apply the changes.

Update 28 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile