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: SLOW SHUTDOWN - TAKES 3mins approx

18 Jul 2011   #11

Windows 7 Home Premium x64

Quote   Quote: Originally Posted by StalkeR View Post
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 .

My System SpecsSystem Spec
18 Jul 2011   #12

Windows 10 Pro x64

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:
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.
My System SpecsSystem Spec
19 Jul 2011   #13

Windows 7 Home Premium x64
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 System SpecsSystem Spec

19 Jul 2011   #14

Windows 7 Home Premium x64

Quote   Quote: Originally Posted by Dwarf View Post
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 System SpecsSystem Spec
19 Jul 2011   #15

Windows 8.1 Pro RTM x64

You're welcome, thenoo.
My System SpecsSystem Spec
27 Aug 2011   #16

WIndows 7 Professional x64
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 System SpecsSystem Spec
03 May 2015   #17

Win 7 64 bit
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 System SpecsSystem Spec
03 May 2015   #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 System SpecsSystem Spec
03 May 2015   #19

Windows 10 Pro x64

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

 SLOW SHUTDOWN - TAKES 3mins approx

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Windows 7 Pro Takes 3mins or more before it login to desktop
Hi sorry if this was post before, my problem was if i have map network drive on a user after i input the password the screen will turn black it takes 3mins to login to desktop but if user with no map network drive it login in seconds. im in a workgroup new computer intel core i3 3.20ghz 4gb ram...
General Discussion
Windows 7 takes unusual time to load and shutdown.
Hello for some reason windows takes forever to load and shutdown before I reinstall windows I thought someone may know my problem. My computer loads and boots to the signup screen in like 5 seconds. But when I log into windows it takes about 1 minute or so for everything to load. I can see the...
General Discussion
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
Slow Shutdown in Windows 7, takes 3-4 Mins
Hi experts My Windows 7 takes nearly 3-4 mins during shutdown, sometimes it is very irritating. Kindly help me. :( regards Pankaj
Performance & Maintenance
Shutdown time takes too long after doing the tutorials
Please help. I'm currently pissed off about tmy unit which is taking too long to shutdown. I've tried the methods posted here to lessen the startup time and shut-down time of a computer but it only affected the booting process. when I shutdown it still takes that long even with the tweaks. Please...
Performance & Maintenance
RC slow boot, BootSmssInitTime takes 160s
I have a brand new HP HDX18 laptop. After install Windows 7 and a set of softwares. I see booting takes 3 mins. From Event Viewer, I see BootSmssInitTime takes more than 160s. I tried all solutions, google SmssInit. Nothing fixes the issue. I have no external drive. disable UAC (drop to lowest...
General Discussion

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 19:57.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App