How to bypass "These apps are preventing shutdown" Solved

  1.    #1

    How to bypass "These apps are preventing shutdown"


    Hey guys

    Anyone know how to get rid if the above message when shutting down, ideally via gpo....(or as a last resort reg) ?

    Cheers.
      My ComputerSystem Spec

  2.   My ComputerSystem Spec

  3. Ztruker's Avatar
    Posts : 7,918
    Windows 10 Pro X64 1809 17763.437
       #3

    The problem with making this a permanent change is there may be times when you don't want it to happen, like when you forgot you have a specific program running minimized and killing it would cause loss of data.

    This happens to me primarilly when I'm running a Oracle VB VM and have it minimized and forget about it.
      My ComputersSystem Spec

  4.    #4

    Ztruker said: View Post
    The problem with making this a permanent change is there may be times when you don't want it to happen, like when you forgot you have a specific program running minimized and killing it would cause loss of data.

    This happens to me primarilly when I'm running a Oracle VB VM and have it minimized and forget about it.
    but if you don't mind loosing data, whats the solution to his question?
      My ComputerSystem Spec

  5. TairikuOkami's Avatar
    Posts : 3,754
    Home 1903 x64 10.0.18362.175
       #5

    ReallyFrustratd said: View Post
    but if you don't mind loosing data, whats the solution to his question?
    Run CMD as admin and copy/paste:
    Code:
    reg add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "1" /f
    reg add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "5000" /f
    reg add "HKCU\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d "5000" /f
    reg add "HKLM\System\CurrentControlSet\Control" /v "WaitToKillServiceTimeout" /t REG_SZ /d "5000" /f
    1000 = 1 second.

    Forced shutdown = crashing apps instead of closing them down. Min safe value would be probably 20-30 secs. I use ramdisk, so autoend would shut it down before saving the content.
      My ComputerSystem Spec

  6.    #6

    I am glad I looked at this thread because I had the same issue. It is extremely rare that I close windows with applications open so losing data is very rarely a problem, but it refusing to shut down is a constant problem.
    I currently just have a link on the desktop that has the following...
    Target ~ C:\Windows\System32\shutdown.exe -s -f -t 00
    I use a big red off button as the icon!!
    This just shuts windows down instantly ignoring any problems. It will however allow any updates to be installed. I have used this for years and it works extremely well.
    The great thing about it is that it doesn't affect windows when IT decides it needs to shut down or reset for some reason. Also having a big red button on the desktop to shut the PC down is actually very handy. I started with the big red button on just one PC but now I have it on all of my PC's!!
      My ComputerSystem Spec


  7. Ztruker's Avatar
    Posts : 7,918
    Windows 10 Pro X64 1809 17763.437
       #7

    I have similar, only my PCShutdown shortcut on the desktop call PCShutdown.cmd which does the following:

    shutdown /s /t 15 /c "Shutdown in 15 seconds. Enter shutdown /a from the Run box to cancel."

    /t implies /f

    This puts up a message and gives me 15 seconds to change my mind and enter shutdown /a from a Run box to cancel the shutdown. 10 seconds would be enough but 15 works well for me.
      My ComputersSystem Spec

  8.    #8

    Thank you guys, I already had the waittokill hklm and autoend tasks but will try the other keys as well.
      My ComputerSystem Spec


 

Related Threads
The Run history is not retained a search led me to a post which informed that "Show most used apps" in Settings\Personalization should be enabled. In my case, this slider is greyed out and is not accessible.
hey guys in top apps theirs "people" which i hardly use.. is their a way or registry fix to customize "top apps"? thanks !
Is it possible to change "Open" and "Save As" windows view to "List" instead of "Details" globally without having to set List view in File Explorer? I would like to use Details view in File Explorer and List view for "Open" and "Save As" windows. ...
After i installed windows 10 on my Asus N53SV, the keyboard doesnt work properly. I look on the internet for help, but it looks like im the only one. I tried uninstall and reinstall almost everything i know. From keyboard driver, touchpad, etc....
I really don't like the term "All Apps" on the new Start menu. I would like to put it back to "All Programs". Does anyone have any idea if this can be changed? I don't use "apps". I'm not a mobile device user; I have a custom-built tower and I...
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 22:07.
Find Us