Windows logon needs to close before computer can shutdown.


  1. Posts : 178
    Windows 7 Pro 64 bit & Windows Pro 64 bit
       #1

    Windows logon needs to close before computer can shutdown.


    Click start
    Click shutdown
    Shutdown process starts then hangs at a message "A program needs to close - Windows Logon". Let it set for a couple minutes and it may or may not complete the shutdown process. Sometimes I have to click the Forced button.

    Does not do this if restart is clicked.

    Ron Burnes
      My Computer


  2. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #2

    Give it a chance to complete the start process.
      My Computer


  3. Posts : 264
    Windows 7 Enterprise x64
       #3

    Hi,

    It would be a good idea to use registry cleaner software. You may try Ccleaner and clean up your system’s registry and check if that helps in fixing the issue.
    You may download Ccleaner from http://www.filehippo.com/download_cc...f2e8df41e5a81/

    Please keep us posted with the status.

      My Computer


  4. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #4

    Debbie B said:
    Hi,

    It would be a good idea to use registry cleaner software. You may try Ccleaner and clean up your system’s registry and check if that helps in fixing the issue. You may download Ccleaner from Download CCleaner 3.24.1850 - Download - FileHippo.com

    Please keep us posted with the status.


    Thsi is not a good idea. Leave the registry alone.
      My Computer


  5. Posts : 178
    Windows 7 Pro 64 bit & Windows Pro 64 bit
    Thread Starter
       #5

    whs, generally it will complete the shutdown in 2 min or so but have had times that I have left thinking it would shutdown and it would still be there the next morning. Also to your point about the registry. Working on the registry is not an issue as I have extensive experience in this area and have no fear of it.

    Debbie B, I have ran CCleaner registry cleaner numerous times since this started some time ago. Did not resolve the issue.

    I know that the source of this issue will end up being something simple that I have over looked - just can't find it!

    Ron Burnes
      My Computer


  6. Posts : 178
    Windows 7 Pro 64 bit & Windows Pro 64 bit
    Thread Starter
       #6

    Have not found a reason as to why windows logon takes so long or sometimes will not let windows close but did find a workaround.

    1. Click the start button
    2. Type regedit in the search box
    3. Open regedit
    4. In the left column, click on HKEY_LOCAL_MACHINE>SUSTEM>CurrentControlSet>Control
    5. In the right column, double click WaitToKillServiceTimeout
    6. Replace the numbers in the Value Data box with 1000
    7. Click OK
    8. Close regedit
    9. Restart the computer. Might still get the force restart box on the first reboot but subsequent restarts or shutdowns will no longer display the box.

    If you use this registry alteration, you must remember to save anything you are working on before clicking on restart or shutdown as the faster action may cause you to loose any work you do not save.

    I would still like to know the primary cause of this issue.

    Ron Burnes
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:55.
Find Us