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: Win7 Pro Long Shutdown Can't find issue


11 Jan 2012   #1

Windows 7 Professional 64Bit With SP1
 
 
Win7 Pro Long Shutdown Can't find issue

Hey,

For the last 2 days i have been trying to diagnose why my PC is taking anything between 1min 30sec and 3min to shutdown.

I found that if i booted into my desktop (fully loaded) then shut down, my shutdown time is between 9 and 12 seconds! However if i boot into desktop then use any program or game, then i had the long shutdown time.

Event log showed the ShutdownKernelTime to be between 120000 and 150000 when i had the long shutdowns.

For your info, for testing purposes the programs i used are firefox 10.0 (opening 3 websites) and Windows Live Mail. IF for any reason i got a successful quick shutdown after running these i then ran GTA IV for 5min then tried a shutdown.

So far i have tried:
  • Disabling all services and startup entries in msconfig. Got same results as above
  • Various combinations of service and startup entries in msconfig. Same result as above
  • Booting into safe mode running same test. I get a successful quick shutdown.
  • Checked the registry for any page file clearing at shutdown.
  • Complete disk defrag
  • Advanced System Care 5 Scan and repair
  • Updating any drivers if update available
  • Running a shutdown trace using Windows SDK. This however works by restarting the PC then running the trace so imitates me booting in to desktop and shutdown again which works fine so as expected the trace shows everything working as it should. I tried adding firefox and Windows live mail to startup folder hoping just the simple opening of these programs would cause whatever happens to give me a long shutdown time. It seems though like i need to open the 3 websites to create the issue however the only time to do this would be the delayed shutdown stage which im advised you shouldn't touch anything at this stage? could anyone advise on this?
Hopefully one of you's out there with a bit more knowledge can point me in a new direction that puts me closer to solving this.


Notes:
I used to have Ntune (Nvidia) for GPU Fan control and MSI Afterburner for GPU Overlocking, however after trying one after the other enabled/disabled etc i found i got successful quick shutdowns but long shutdown then returned after playing GTA IV. I uninstalled MSI Afterburner and now only use Ntune for both GPU Overcloking and Fan Control.



Current Services enabled:
All Microsoft services
Apple Mobile Device, Ipod Service
Avast Antivirus
Bonjour Service
ntune service, NVIDIA Display Driver service, NVIDIA Update service daemon, NVIDIA Steroscopic 3D Driver Service


Current Startup's enabled:
Realtek HD Audio Manager
RocketDock
NVIDIA Ntune
Avast Antivirus


Any help greatly appreciated

Updates:
Quote   Quote: Originally Posted by whs View Post
In regedit, navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Double click on WaitToKillServiceTimeout and set it to 2000 - that is milliseconds. Then OK.
Initially solved the long shutdown if i used my programs as detailed above but has since returned after using the programs for a longer time and watching a HD game review.


My System SpecsSystem Spec
.

11 Jan 2012   #2
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

In regedit, navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Double click on WaitToKillServiceTimeout and set it to 2000 - that is milliseconds. Then OK.
My System SpecsSystem Spec
11 Jan 2012   #3

Windows 7 Professional 64Bit With SP1
 
 

Many thanks for the reply. Your suggestion has solved my long shutdown issue after using my programs as detailed above but i still have a long shutdown after running my game test (5min of GTA IV)
My System SpecsSystem Spec
.


11 Jan 2012   #4

Windows 7 Professional 64Bit With SP1
 
 

Ok scrap the last post. After using the same programs (Firefox and WL Mail) for a longer period of time (watched a HD game review video, received some e-mail, checked a few websites) i got a long shutdown again so original post still fully vaild.
My System SpecsSystem Spec
11 Jan 2012   #5

 
 

Does the system log (event 200 for Longer-than-normal shutdown??) show components of the shutdown process to give you a hint where to look?

Ultra slow 'logging off' during shut down

Data Name="ShutdownUserSessionTime">56522</Data>
<Data Name="ShutdownUserPolicyTime">0</Data>
<Data Name="ShutdownUserProfilesTime">8</Data>
<Data Name="ShutdownSystemSessionsTime">5001</Data>
<Data Name="ShutdownPreShutdownNotificationsTime">200</Data>
<Data Name="ShutdownServicesTime">4281</Data>
<Data Name="ShutdownKernelTime">10676</Data>
My System SpecsSystem Spec
11 Jan 2012   #6

Windows 7 Professional 64Bit With SP1
 
 

<EventData>
<Data Name="ShutdownTsVersion">1</Data>
<Data Name="ShutdownStartTime">2012-01-10T20:51:48.064842700Z</Data>
<Data Name="ShutdownEndTime">2012-01-10T20:54:10.752835200Z</Data>
<Data Name="ShutdownTime">142687</Data>
<Data Name="ShutdownUserSessionTime">7519</Data>
<Data Name="ShutdownUserPolicyTime">0</Data>
<Data Name="ShutdownUserProfilesTime">121</Data>
<Data Name="ShutdownSystemSessionsTime">5245</Data>
<Data Name="ShutdownPreShutdownNotificationsTime">1413</Data>
<Data Name="ShutdownServicesTime">3674</Data>
<Data Name="ShutdownKernelTime">129923</Data>
<Data Name="ShutdownRootCauseStepImprovementBits">0</Data>
<Data Name="ShutdownRootCauseGradualImprovementBits">0</Data>
<Data Name="ShutdownRootCauseStepDegradationBits">0</Data>
<Data Name="ShutdownRootCauseGradualDegradationBits">64</Data>
<Data Name="ShutdownIsDegradation">true</Data>
<Data Name="ShutdownTimeChange">0</Data>
</EventData>

Original post i said it was the kernel time and is generally between 100000 and 150000 Quick shutdown for me is between 9 and 15 seconds. Anything else i refer to as a long shutdown.
My System SpecsSystem Spec
Reply

 Win7 Pro Long Shutdown Can't find issue




Thread Tools



Similar help and support threads for2: Win7 Pro Long Shutdown Can't find issue
Thread Forum
Solved WIN 7 long shutdown time Performance & Maintenance
Extra long shutdown Performance & Maintenance
BSOD during very long shutdown, driver_power_state_failure BSOD Help and Support
Long shutdown times Win7 64-bit enterprise Performance & Maintenance
Long Shutdown then BSOD after Win7 update BSOD Help and Support
Long Boot Time after shutdown Performance & Maintenance
BSOD after long pause at shutdown BSOD Help and Support

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 09:17 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