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: Delay In Shutdown

26 Jun 2013   #1

Windows 7 Ultimate x64
 
 
Delay In Shutdown

My PC is taking long time to shutdown from few days and sometimes windows shows error that desktop is not responding and asked me to force shutdown . Please help .


My System SpecsSystem Spec
.

26 Jun 2013   #2

microsoft window7 Ultimate x64
 
 

After click the Shutdown butten . Go to start , type regedit, in the run box and press Enter and in the left pane navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet and click on the Control folder. Look for WaitToKillServiceTimeout, right-click it and choose Modify. I suspect itís stored in milliseconds, in which case 3600000 represents 1 hour.
Test it first, set to, say, 5 minutes (30000

Hopefully it will help you
My System SpecsSystem Spec
26 Jun 2013   #3

 

If this is the solution, then why 5 minutes? I think the default is 20 seconds.
My System SpecsSystem Spec
.


26 Jun 2013   #4

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

Yes TC and britny I do that in both the control sets - see pic - works a treat!!

Oops meant to add that changes that third set so you don't need to change it


Attached Thumbnails
Delay In Shutdown-cont4.png  
My System SpecsSystem Spec
26 Jun 2013   #5

 

I dunno, the last time I had to do this was in Windows XP.
My System SpecsSystem Spec
26 Jun 2013   #6

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

Quote   Quote: Originally Posted by TwoCables View Post
I dunno, the last time I had to do this was in Windows XP.
Hum I got this from the Optimise tutorial and I found the 1 was is deal.
Optimize Windows 7[2]=Performance Maintenance point 20
My System SpecsSystem Spec
26 Jun 2013   #7

 

Quote   Quote: Originally Posted by ICit2lol View Post
Quote   Quote: Originally Posted by TwoCables View Post
I dunno, the last time I had to do this was in Windows XP.
Hum I got this from the Optimise tutorial and I found the 1 was is deal.
Optimize Windows 7[2]=Performance Maintenance point 20
I haven't changed this yet my shut down time is precisely 3 seconds: from the moment I click Shut Down, my computer is completely powered off in 3 seconds. Here's how I count it: when I click Shut Down, I wait exactly 1 second before I say "1" while looking at the second hand on my clock. If I said "1" as soon as I clicked Shut Down, then I'd get 4 seconds which is inaccurate.

Anyway, I haven't made any tweaks similar to this where I would otherwise get a longer shut down time. I don't know why it's this fast for me, but it just is.
My System SpecsSystem Spec
26 Jun 2013   #8

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

So I guess you didn't change the settings I did? if you didn't it would be interesting to see what those settings are in your regedit - usually 20000 in my installs.

I usually shorten the menu show time too as point 14 in Optimize Windows 7


Attached Thumbnails
Delay In Shutdown-reg.png  
My System SpecsSystem Spec
26 Jun 2013   #9

 

Quote   Quote: Originally Posted by ICit2lol View Post
So I guess you didn't change the settings I did? if you didn't it would be interesting to see what those settings are in your regedit - usually 20000 in my installs.

I usually shorten the menu show time too as point 14 in Optimize Windows 7
They're all at 12000 which I guess is the default in Windows 7. I didn't set it to this, but I just learned something about this part of the registry: this is referring to services that take too long. If a service gets stuck, then this waits 12 seconds before it kills it so that the end-user doesn't have to sit there waiting forever. Normally, Windows 7 should be able to get everything to close long before then.

In Windows XP, I had to set this to a much smaller number because I had a service that had a problem but I needed it in each Windows session. Fortunately, it never became corrupted by having Windows kill it before it was actually ready to close, so I left it that way and enjoyed an extremely short shut down time. In Windows 7, my software environment is different and so I don't have that problem service anymore which means I didn't have to tweak this part of the Registry. Everything closes immediately when I choose Shut Down or Restart just as it's all supposed to.

If you set this back to 12000, then do you have to wait 12 seconds for Windows 7 to shut down when you choose either Shut Down or Restart? If so, then you may have one or more problem services like I did. I don't remember how I discovered which service it was though.

Edit: I looked at that guide of tweaks just now, and I noticed that it mentioning using No GUI Boot. This one is a joke in my opinion because it doesn't make even 1 millisecond of difference for me. Using No GUI Boot means that your installation of Windows is now in Diagnostic Mode. Isn't that neat?
My System SpecsSystem Spec
26 Jun 2013   #10

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

Hum must have a word with Shawn as I raised the Wait to kill to 20000 and no difference
My System SpecsSystem Spec
Reply

 Delay In 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 08:09 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