Turn On AutoEndTasks at Restart, Shut down, or Sign out of Windows 10

    Turn On AutoEndTasks at Restart, Shut down, or Sign out of Windows 10

    How to Turn On or Off AutoEndTasks at Restart, Shut down, or Sign out of Windows 10
    Published by Category: Performance & Maintenance
    12 Nov 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 25,264

    Show Printable Version 


    How to Turn On or Off AutoEndTasks at Restart, Shut down, or Sign out of Windows 10

    information   Information
    When apps (tasks) do not end (close) automatically when you are restarting, shutting down, or signing out of Windows 10, the system will wait 5 seconds (HungAppTimeout) by default before the End Task dialog appears asking you to cancel or to close the listed apps and restart anyway, shut down anyway, or sign out anyway.

    If you do not make a choice in the End Task dialog before the 1 minute timeout expires, Windows 10 will automatically cancel the restart, shutdown, or sign-out by default.

    For example, if you have notepad open with unsaved changes when you restart, shut down, or sign out.

    If you turn on AutoEndTasks, Windows will instead of the above automatically close any apps and continue to restart, shut down, or sign out of Windows 10 without the End Task dialog.

    This tutorial will show you how to turn on or off the AutoEndTasks feature for automatically closing apps preventing restart, shutdown, and sign-out for your account or all users in Windows 10.

    CONTENTS:
    • Option One: Turn On or Off AutoEndTasks for Current User Only
    • Option Two: Turn On or Off AutoEndTasks for All Users


    EXAMPLE: End Task dialog when restarting, shutting down, and signing out
    Name:  Closing_app_and_restarting.jpg
Views: 290
Size:  21.3 KB Name:  Closing_app_and_shutting_down.jpg
Views: 284
Size:  21.6 KB Name:  Closing_app_and_signing_out.jpg
Views: 281
Size:  21.6 KB






    Turn On AutoEndTasks at Restart, Shut down, or Sign out of Windows 10 OPTION ONE Turn On AutoEndTasks at Restart, Shut down, or Sign out of Windows 10
    Turn On or Off AutoEndTasks for Current User Only

    Note   Note
    The downloadable .reg files below will add and modify the DWORD value in the registry key below.

    HKEY_CURRENT_USER\Control Panel\Desktop

    AutoEndTasks DWORD

    0 = Off
    1 = On

    1. Do step 2 (on) or step 3 (off) below for what you would like to do.


     2. To Turn On AutoEndTasks for Current User Only

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Turn_On_AutoEndTasks_for_current_user_only.reg

    download


     3. To Turn Off AutoEndTasks for Current User Only

    NOTE: This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Turn_Off_AutoEndTasks_for_current_user_only.reg

    download

    4. Save the .reg file to your desktop.

    5. Double click/tap on the downloaded .reg file to merge it.

    6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7. Sign out and sign in to apply.

    8. You can now delete the downloaded .reg file if you like.






    Turn On AutoEndTasks at Restart, Shut down, or Sign out of Windows 10 OPTION TWO Turn On AutoEndTasks at Restart, Shut down, or Sign out of Windows 10
    Turn On or Off AutoEndTasks for All Users

    Note   Note
    You must be signed in as an administrator to be able to do this option.

    The downloadable .reg files below will add and modify the DWORD value in the registry key below.

    HKEY_USERS\.DEFAULT\Control Panel\Desktop

    AutoEndTasks DWORD

    (delete) = default
    0 = Off
    1 = On

    1. Do step 2 (on), step 3 (off), or step 4 (default) below for what you would like to do.


     2. To Turn On AutoEndTasks for All Users
    Note   Note
    This will override Option One above.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Turn_On_AutoEndTasks_for_all_users.reg

    download


     3. To Turn Off AutoEndTasks for All Users
    Note   Note
    This will override Option One above.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Turn_Off_AutoEndTasks_for_all_users.reg

    download


     4. To Undo AutoEndTasks for All Users
    Note   Note
    This is the default setting, and will allows users to use Option One above.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Undo_AutoEndTasks_for_all_users.reg

    download

    5. Save the .reg file to your desktop.

    6. Double click/tap on the downloaded .reg file to merge it.

    7. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    8. Sign out and sign in to apply.

    9. You can now delete the downloaded .reg file if you like.


    That's it,
    Shawn


  1.    1 Week Ago #1
    Join Date : Jul 2015
    Posts : 54
    Windows 10 64bit

    As I remember there is a location in the registry to decrease the time Windows waits for a not responding App/Task to close before Windows forces it to stop.

    Could someone remind me where it is? Or is there a Tutorial for that?
      My ComputerSystem Spec
  2.    1 Week Ago #2
    Join Date : Oct 2013
    Posts : 25,264
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello Jerry,

    This seems to have changed in Windows 10.

    If you leave the "End Task" dialog idle for a minute, Windows will automatically cancel the restart, shut down, or sign out instead of forcing the apps closed and continuing with the restart, shut down, or sign out.

    As a workaround for what you want for now, you could do this below to make it close any apps preventing the restart, shut down, or sign out quickly, and continue.

    1) Turn on AutoEndTasks.

    2) Change HungAppTimeout to "1000".

    Change HungAppTimeout Value in Windows 10 Performance Maintenance Tutorials
      My ComputersSystem Spec
  3.    1 Week Ago #3
    Join Date : Jul 2015
    Posts : 54
    Windows 10 64bit

    Great thanks.
      My ComputerSystem Spec
  4.    1 Week Ago #4
    Join Date : Oct 2013
    Posts : 25,264
    64-bit Windows 10 Pro build 17046
    Thread Starter

    You're most welcome.
      My ComputersSystem Spec

 


Similar Threads
Tutorial Category
User Accounts Use sign-in info to auto finish after Update or Restart in Windows 10
Turn On or Off Use sign-in info to auto finish setting up device after update or restart in Windows 10 When you update to a new Windows 10 build, you must sign in before it finishes the install by default. Starting with Windows 10 Insider...
Tutorials
User Accounts Turn On or Off Require Sign-in on Wakeup in Windows 10
How to Turn On or Off Require Sign-in on Wakeup in Windows 10 To help secure your PC, Windows requires users to sign in when it wakes from sleep or hibernate by default. This tutorial will show you how to turn on or off to require sign-in on...
Tutorials
Windows 10 keep crashing when i shut down or restart my laptop
Hi, i am using a windows 10 laptop, i had recently been messing around with different sata drivers for my series 7 hard drive controller, i dont know if its linked but my laptop recently has been crashing anytime i restart or shut down the laptop,...
General Support
shut down of PC without sign off of other user
I have two user, one with admin rights and other local standards. I have set up my PC to automatically sign in local user. My question is if admin sign in without sign off of local and thus shut down the PC, a message appears that another user is...
General Support
Windows 10 won’t shut down restart /Device Manager and Update Issues
Having MAJOR issues with my custom build desktop. Was running fine for a few days. No malware, AV, or sketchy software, only using Windows Defender. Issues started, were fixed, and are back full flight again. This is my gaming rig. Here is my...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:23.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums