Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows logon needs to close before computer can shutdown.


15 Nov 2012   #1

Windows 7 Pro 64 bit
 
 
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 System SpecsSystem Spec
.

15 Nov 2012   #2
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Give it a chance to complete the start process.
My System SpecsSystem Spec
15 Nov 2012   #3

Windows 7 Enterprise x64
 
 

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 System SpecsSystem Spec
.


15 Nov 2012   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by Debbie B View Post
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 System SpecsSystem Spec
15 Nov 2012   #5

Windows 7 Pro 64 bit
 
 

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 System SpecsSystem Spec
16 Nov 2012   #6

Windows 7 Pro 64 bit
 
 

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 System SpecsSystem Spec
Reply

 Windows logon needs to close before computer can shutdown.




Thread Tools




Our Sites

Site Links

About Us

Find 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 07:52 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33