Delay In Shutdown

Page 1 of 2 12 LastLast

  1. Posts : 41
    Windows 7 Ultimate x86 SP1
       #1

    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 Computer


  2. Posts : 62
    microsoft window7 Ultimate x64
       #2

    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 Computer


  3. Posts : 1,476
       #3

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


  4. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #4

    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 Attached Thumbnails Delay In Shutdown-cont4.png  
      My Computer


  5. Posts : 1,476
       #5

    I dunno, the last time I had to do this was in Windows XP.
      My Computer


  6. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #6

    TwoCables said:
    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 Computer


  7. Posts : 1,476
       #7

    ICit2lol said:
    TwoCables said:
    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 Computer


  8. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #8

    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 Attached Thumbnails Delay In Shutdown-reg.png  
      My Computer


  9. Posts : 1,476
       #9

    ICit2lol said:
    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? :)
    Last edited by TwoCables; 26 Jun 2013 at 10:58.
      My Computer


  10. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #10

    Hum must have a word with Shawn as I raised the Wait to kill to 20000 and no difference
      My Computer


 
Page 1 of 2 12 LastLast

  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 06:25.
Find Us