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: Shut Down -Speed Up

24 Dec 2012   #70

Microsoft Community Contributor Award Recipient


Quote   Quote: Originally Posted by fireberd View Post
I have the "wait to kill" set to 5000, per instructions I found, but I still have about a 20 second shutdown time. Is there something else that needs to be set?
According to this tutorial make sure your system is NOT set to clear the pagefile at shutdown. If you open regedit and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Change the value of ClearPageFile at Shutdown to a 0 IF the value is 1 (Option Three, Step 6.)

Virtual Memory Paging File - Clear at Shutdown - Vista Forums

If value is already at 0 try doing the Clean Startup to see if anything is interfering with shutdown.

My System SpecsSystem Spec
24 Dec 2012   #71

64-bit Windows 10 Pro

Quote   Quote: Originally Posted by fireberd View Post
I have the "wait to kill" set to 5000, per instructions I found, but I still have about a 20 second shutdown time. Is there something else that needs to be set?
Hello Jack,

In addition, if you have hibernate enabled, then it could take about that long at shut down to save system memory to the hiberfil.sys file.

Hope this helps,
My System SpecsSystem Spec
24 Dec 2012   #72

Windows 10 64 bit

I don't have Hibernate enabled (I don't use that).

I just tried it and it now shuts down (restart) in about 4 seconds after applying the utility you listed to change it to 2 seconds (and a restart). I'll take that.

My System SpecsSystem Spec
19 Mar 2013   #73


Well, if changing this registry key doesn't work for anyone out there, you need to apply this hotfix for it to work: WaitToKillServiceTimeout registry value does not work in Windows 7 or in Windows Server 2008 R2

I have an old system with just 1.25 gigs of RAM. Actually what happens is when I use the system for a lot of time, all the Windows things like services' dlls and exes are paged onto the pagefile and the RAM is emptied for the applications in use. Once these applications are closed, darn Windows does not swap back these services back to the RAM unless and until needed. When the system is then shutdown, these services need to be shutdown as well, but in order to do so, they first need to be swapped back to the RAM from pagefile. This causes shutdown delays.

I first lowered down the value to 2000, but that didn't seem to work because every service was closed before those 2 seconds. The overall shutdown time was around 10-20 seconds which I hated coz I really need super fast shutdowns for some reason. I then lowered down it to 600. Now the shutdown takes around 7 sec which is pretty fine for me. I think there's no need of making these Windows services shutdown down properly coz they don't really have anything to save to the HDD which might result in data loss. Only the handles need to be closed while shutting down, which I suppose, is useless. I never had problems making these pesky services crash. They only make Windows run and provide special functions, so no need to shut them down with too much care, LOL.
My System SpecsSystem Spec

19 Mar 2013   #74

64-bit Windows 10 Pro

Thank you for the addition Nilank.
My System SpecsSystem Spec
19 Mar 2013   #75


You're welcome Shawn.
My System SpecsSystem Spec
22 Mar 2013   #76


As described in my last post, on low memory systems, swapping things back from the pagefile to the RAM in order to close handles to services during shutdown contributes to shut down time.

A solution can be disabling pagefile, but I DON NOT recommend doing so. Instead, setting the min pagefile size to the lowest number (16 MB) and setting the max to a number desired can "force" Windows to use as much as RAM as possible, thus making things stay in the RAM. Windows can automatically increase the pagefile size when required.

Virtual Memory Paging File - Change

Just tested this method. Works pretty well.

Warning: This can lead to fragmentation because the pagefile is resized again and again. To solve this problem, I have made a separate small partition and dedicated it completely to the pagefile. This solves the problem of fragmentation in my case.
My System SpecsSystem Spec
26 Jun 2013   #77

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10

Shawn I might have been doing this wrong - I have been doing the first two control sets so is just that last ref?? for Wait to kill??

Mine as I had told Two cables about

Attached Thumbnails
Shut Down -Speed Up-reg2.png  
My System SpecsSystem Spec
26 Jun 2013   #78

64-bit Windows 10 Pro

Hello John,

You only need to do the tutorial in the registry location below, and not what's in your screenshot. The ControlSet### keys are just backup versions of your CurrentControlSet key.

My System SpecsSystem Spec
26 Jun 2013   #79

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10

Thanks Shawn I'll reset the machines
My System SpecsSystem Spec

 Shut Down -Speed Up

Thread Tools

Similar help and support threads
Thread Forum
BSOD - Occurs during Shut Down Process. Shut Down hangs then crashes
Hey there, Lenovo E440 that ran excellent until recently. About a week or two ago I got an error message about a power surge on a USB port. Didn't really seem to effect much so I moved on. Lately, when shutting down, it hangs for a few minutes... just sitting at the final "Shutting Down"...
BSOD Help and Support
Shut Down - Enable or Disable Shut Down without Logging On
How to Enable or Disable Shut Down without Having to Log On This will show you how to enable or disable all users to be able to shut down the computer without having to log on in Windows 7. This will add or remove the red shut down menu box in all Log on and Switch user screens. You will...
Speed test gives vey good speed but down speed is just 2-3 kb
guys please help me , it happens when ever i want. i speed test from and i get speed 0.89 mbps ( which is good for me) but if i download something , down speed is 2 kb. if i play a video it buffes so slowly that it takes ahour. 1 thing more, this happened few days ago on my...
Network & Sharing
How do I speed up windows Start-up & Shut down?
Okay, I want my Sony Vaio laptop to start-up faster and shut-down faster. I've got 3GB RAM & Intel(R) Core(TM) i5 2.67GHz. Also, How can I find out which programs I don't need and can uninstall, because I want to uninstall some programs, which I don't 'think' I use, nor need. But I'm not...
Performance & Maintenance
Screen shut-off requires hard shut down
I work on my Gateway while sitting on the couch. I surf the Internet and then watch TV. I surf a little more, and then I watch more TV. Some nights, when I slide the computer near me because I've shifted in my seat, the screen will go black and I have to push the On/Off switch until the computer...
General Discussion
Computer Bottleneck- HDD - SSD. giving data speed to proccessing speed
Through the windows experience im at 7.8's / 7.4's... with my hdd at 5.9. looking at getting a ssd to level everything up.... but what i dont know is... how does the read/write speeds translate into processing. what read speed is equal to the rest of my rig? I just dont know how it translates...
Hardware & Devices

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 17:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App