locked
How to disable force logoff button RRS feed

  • Question

  • When i hit the logoff on  a Windows 7 OS with some applications still running , I want the applications to terminate after its completed all the tasks . Hence I want to disable the force logoff button and retain only the Cancel button.

    Please help!!!

    Wednesday, January 5, 2011 11:04 AM

Answers

  • I think that the design decision was that the Force Shutdown/Logoff button cannot be disabled or hidden. If you notice that your applications are a bit slow responding to close notifications by Windows, but they're not frozen or waiting for interaction from you, don't worry because the shutdown will eventually finish on its own. You can increment the timeout before Windows considers an application as "hung" editing the "HungAppTimeout" registry value: http://technet.microsoft.com/en-us/library/cc978614.aspx

    Microsoft was aware that the user might be tempted to click on "Force Shutdown" whenever the screen appears, so one change from Windows Vista to 7 was to make the Force Shutdown button less prominent (in Vista it was bright red and had focus, if I remember correctly).


    Microsoft MVP Windows Desktop Experience | http://www.wintecnico.com

    Thursday, January 6, 2011 1:50 AM
    Answerer