Win7 Pro Long Shutdown Can't find issue


  1. Posts : 4
    Windows 7 Professional 64Bit With SP1
       #1

    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:
    whs said:
    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 by Scott W; 11 Jan 2012 at 13:28. Reason: missed word, spelling
      My Computer


  2. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #2

    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


  3. Posts : 4
    Windows 7 Professional 64Bit With SP1
    Thread Starter
       #3

    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 Computer


  4. Posts : 4
    Windows 7 Professional 64Bit With SP1
    Thread Starter
       #4

    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


  5. Posts : 450
    Windows 7
       #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 Computer


  6. Posts : 4
    Windows 7 Professional 64Bit With SP1
    Thread Starter
       #6

    <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


 

  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 08:41.
Find Us