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
Shukla

Windows 7 Ultimate x86 SP1
 
 
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
britny

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
TwoCables

 

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

26 Jun 2013   #4
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

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
-cont4.png  
My System SpecsSystem Spec
26 Jun 2013   #5
TwoCables

 

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

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

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
TwoCables

 

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
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

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
-reg.png  
My System SpecsSystem Spec
26 Jun 2013   #9
TwoCables

 

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
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

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




Similar help and support threads
Thread Forum
Home Prem WOL works, Shutdown doesn't. How's Shutdown meant to work?
Hi, My apologies for asking something which has been asked and answered in many variations, but none of which has helped much. I have three Win7 Home Premium x64 PCs called BoyToy (my main PC), Salsa, and Polka, all of which are wired to a D-Link DIR-655 router. I want to wake and shutdown...
Network & Sharing
BSOD on shutdown, After 20-30 min delay. Error 0x0000009F
Having problem where shutdown ends with the Windows shutting Down screen appearing for 20-30 minutes, then a BSOD with STOP 0x0000009F, in ntoskrnl.exe.:cry: I was living with this for a while, but recently noticed cpu is running near 100% most of the time with SYSTEM at like 45% and...
BSOD Help and Support
SLOW Boot and Shutdown after forced Shutdown during Windows 7 Upgrade
Hello All, I have a ASUS Laptop with Intel I3 processer and Windows 7 Home Premium. I recently had a forced shutdown during a Windows upgrade session. Ever since then the Boot and Shutdown times have increased to over 15 minutes. I have run the msconfig unticking all but the antivirus...
Performance & Maintenance
SHUTDOWN BUTTON win7 - how to add delay to default shutdown button
WIN 7 Professional: I think the shutdown button should have a confirmation prompt with a delay, whether on the Sign on page or the Start menu to allow for recovery when inadvertently clicking it. I know I can create my own shutdown, sleep, etc. but that does not resolve the issue, unless the...
Customization
IE9 - 2sec startup delay; 0-2sec delay when opening tabs
I have tried to fix this but to no avail. This is a list of what I have tried (I probably forgot a few things): - run IE9 with no add-ons - run IE9 in 64bit mode - tried the above 2 in safe mode - deleted the registry keys corresponding to Spybot, even though it's not installed -...
Browsers & Mail
Mouse delay and OpenGL games delay. Help!
Hi there. Im running Windows 7 Professional x86 final on this machine: athlon x2 5.000+ 2x2gb ddr800 dual-channel memory ati radeon hd 4650 512mb 128bits 500g sata hd The os is updated and all the settings of the os are on default. The settings of videocard are in performance/balanced.
Gaming


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 16:30.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App