SLOW SHUTDOWN - TAKES 3mins approx

Page 2 of 2 FirstFirst 12

  1. Posts : 140
    Windows 7 Home Premium x64
    Thread Starter
       #11

    StalkeR said:
    Also take a look at this tutorial. Maybe it will speed up shutdown time.
    Shut Down -Speed Up
    Mine was intially set to 1000 ! With that setting I was getting 2.20mins to Shutdown!

    Changed it to 2000 . This made no difference - still over 2 mins .
    Last edited by Brink; 18 Jul 2011 at 14:45. Reason: moved to your original thread for this issue
      My Computer


  2. Posts : 2,528
    Windows 10 Pro x64
       #12

    OK, here goes. First, you need to download the Windows 7 SDK, and then run the SDK installer to download the Windows Performance Toolkit (WPT) redistributable files. Ignoring the fact that my system has the Debugging tools installed and thus "checked" in the "Common Utilities" node, you only need to check the "Windows Performance Tookit" box under the "Redistributable Packages" section, as shown below:


    After you click next, it will download (only) the installation .MSI packages needed to actually install the WPT. Once the download of the files is complete and you exit the SDK installer, you will need to actually install the version of the WPT that matches the architecture of your OS (the x86 MSI on a 32bit Win7 machine, the x64 MSI on a 64bit Win7 machine). The downloaded .MSI files will be located (by default) in C:\Program Files\Microsoft SDKs\Windows\v7.1\Redist\Windows Performance Toolkit:


    Install the correct .MSI that matches the architecture (32bit or 64bit) of your Windows 7 install, taking all the default options and performing a "Complete" installation.

    Last, you need to execute this command in an ELEVATED (Start > type "cmd", right-click the "cmd" icon from the list and select "Run as Administrator") cmd prompt to create a shutdown trace:


    Note that this command is *all one line*, so watch out for any sort of word wrap if you are copying/pasting from your browser:
    Code:
    xbootmgr -trace shutdown -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -stackWalk CSwitch+DiskFlushInit+DiskReadInit+DiskWriteInit+Mark+ProcessCreate+ProcessDelete+Profile+ReadyThread+RegCloseKey+RegDeleteKey+RegDeleteValue+RegSetValue+SyscallEnter+SyscallExit -resultPath "C:\Shutdown_Trace"


    That command will cause your machine to reboot. Once you log back in, you'll see a short (2 minute) delay, and then your machine will reboot *again*:


    Once the machine has rebooted this time, you will be able to log on and the tool will then merge the kernel mode and user mode portions of the trace into one (very) large .etl file in C:\Shutdown_Trace (or if you changed the location folder, the location you specified):




    This .etl file needs to be compressed (7zip, WinRar, WinZip, etc) before you will be uploading it. Let me know if/when you are able to get to this point, and I will PM you a location that it can be uploaded securely.
    Last edited by cluberti; 18 Jul 2011 at 16:56.
      My Computer


  3. Posts : 140
    Windows 7 Home Premium x64
    Thread Starter
       #13

    SLOW SHUTDOWN - taking 3 mins approx- SOLVED !


    This problem has now been solved thanks to a suggestion by Dwarf. I had the "ClearPageFileatShutdown" set to "1" in the Registry and have now changed that to "0" . Shutdown now takes about 12 secs.

    I would like to thank all who have replied so promptly to my OP.
      My Computer


  4. Posts : 140
    Windows 7 Home Premium x64
    Thread Starter
       #14

    Dwarf said:
    Check that you haven't got the paging (aka swap) file set to clear on shutdown. See Virtual Memory Paging File - Clear at Shutdown - Vista Forums
    I can't reply in "Yorkshirese" I'm afraid but please accept my gratitude in Standard English Dwarf. That was the problem - I've now set it to "0" and the problem has gone. Much obliged.
      My Computer


  5. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #15

    You're welcome, thenoo.
      My Computer


  6. Posts : 2
    WIndows 7 Professional x64
       #16

    Setting Page File Clear to Disable Fixed It


    I had the same issue on slow shutdowns - 3 minutes on average. Went through every forum suggestion re msconfig etc. Nothing worked, and with a 3 minutes cycle for every fix attempt was beginning to look for a hammer.

    Read Dwarf's advice re Page File

    Shutdown time went to a few seconds immediately.

    I am guessing that the delay is a function of RAM size, I have 8Gb.

    Not sure if this is universal fix but worked for me - hammer back in toolbox.

    Thanks Dwarf
      My Computer


  7. Posts : 10
    Win 7 64 bit
       #17

    very related question


    This is for cluberti

    I have the etl file generated by sdk and would very much appreciate you looking at it and enlightening me as to what is slowing the shutdown process.
      My Computer

  8.    #18

    I would ask him in the tutorial he wrote for the trace here: Trace Windows 7 boot-shutdown-hibernate-standby-resume issues - MSFN Forums

    Zip the file and upload to a file-sharing service like Onedrive, then post the link for him there.

    Until you hear you can try to sort it yourself using the information given.
      My Computer


  9. Posts : 2,528
    Windows 10 Pro x64
       #19

    Post it somewhere I can download it (zip the .etl first) and I'll take a look at my next opportunity.
      My Computer


 
Page 2 of 2 FirstFirst 12

  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 07:17.
Find Us