Win7 Pro Long Shutdown Can't find issue

Scott W

New member
Local time
9:14 AM
Messages
4
Location
Glasgow, Scotland
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:
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.
 
Last edited:

My Computer My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64Bit With SP1
CPU
AMD Phenom(tm) II X6 1055T Processor (OC'd to 3.4Ghz)
Motherboard
Asus M5A97
Memory
Corsair 8GB (4x2GB) DDR3 1600MHz/PC3-12800 XMS3
Graphics Card(s)
NVIDIA GeForce GTX 550 Ti (Further OC'd)
Sound Card
Onboard Realtek HD
Monitor(s) Displays
Toshiba Regza 37"
Screen Resolution
1920x1080
Hard Drives
(WDC WD25 00JS-00NCB1 SATA Disk Device 250GB - System Drive)
(ST350041 8AS SATA Disk Device 500GB - User Files Drive)
(Seagate Desktop USB Device 160GB - Back-up Drive)
PSU
ACE 600W
Case
Coolermaster 430
Cooling
3x 120mm Case Fans, 1x Coolermaster TX3 CPU Cooler
Internet Speed
30Mbit/s Virginmedia Cable
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 Computer My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Many thanks for the reply. Your suggestion has solved my long shutdown issue after using my programs as detailed above :D but i still have a long shutdown after running my game test (5min of GTA IV) :cry:
 

My Computer My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64Bit With SP1
CPU
AMD Phenom(tm) II X6 1055T Processor (OC'd to 3.4Ghz)
Motherboard
Asus M5A97
Memory
Corsair 8GB (4x2GB) DDR3 1600MHz/PC3-12800 XMS3
Graphics Card(s)
NVIDIA GeForce GTX 550 Ti (Further OC'd)
Sound Card
Onboard Realtek HD
Monitor(s) Displays
Toshiba Regza 37"
Screen Resolution
1920x1080
Hard Drives
(WDC WD25 00JS-00NCB1 SATA Disk Device 250GB - System Drive)
(ST350041 8AS SATA Disk Device 500GB - User Files Drive)
(Seagate Desktop USB Device 160GB - Back-up Drive)
PSU
ACE 600W
Case
Coolermaster 430
Cooling
3x 120mm Case Fans, 1x Coolermaster TX3 CPU Cooler
Internet Speed
30Mbit/s Virginmedia Cable
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 Computer My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64Bit With SP1
CPU
AMD Phenom(tm) II X6 1055T Processor (OC'd to 3.4Ghz)
Motherboard
Asus M5A97
Memory
Corsair 8GB (4x2GB) DDR3 1600MHz/PC3-12800 XMS3
Graphics Card(s)
NVIDIA GeForce GTX 550 Ti (Further OC'd)
Sound Card
Onboard Realtek HD
Monitor(s) Displays
Toshiba Regza 37"
Screen Resolution
1920x1080
Hard Drives
(WDC WD25 00JS-00NCB1 SATA Disk Device 250GB - System Drive)
(ST350041 8AS SATA Disk Device 500GB - User Files Drive)
(Seagate Desktop USB Device 160GB - Back-up Drive)
PSU
ACE 600W
Case
Coolermaster 430
Cooling
3x 120mm Case Fans, 1x Coolermaster TX3 CPU Cooler
Internet Speed
30Mbit/s Virginmedia Cable
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?

http://www.sevenforums.com/performa...-ultra-slow-logging-off-during-shut-down.html

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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS
<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 Computer My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64Bit With SP1
CPU
AMD Phenom(tm) II X6 1055T Processor (OC'd to 3.4Ghz)
Motherboard
Asus M5A97
Memory
Corsair 8GB (4x2GB) DDR3 1600MHz/PC3-12800 XMS3
Graphics Card(s)
NVIDIA GeForce GTX 550 Ti (Further OC'd)
Sound Card
Onboard Realtek HD
Monitor(s) Displays
Toshiba Regza 37"
Screen Resolution
1920x1080
Hard Drives
(WDC WD25 00JS-00NCB1 SATA Disk Device 250GB - System Drive)
(ST350041 8AS SATA Disk Device 500GB - User Files Drive)
(Seagate Desktop USB Device 160GB - Back-up Drive)
PSU
ACE 600W
Case
Coolermaster 430
Cooling
3x 120mm Case Fans, 1x Coolermaster TX3 CPU Cooler
Internet Speed
30Mbit/s Virginmedia Cable
Back
Top