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


Shut Down -Speed Up

How to Set WaitToKillServiceTimeout to Speed Up Shut Down Time in Windows
Published by Brink
27 Nov 2008
Published by

How to Set WaitToKillServiceTimeout to Speed Up Shut Down Time in Windows


information   Information
This tutorial will show you how to set the WaitToKillServiceTimeout to how long the system waits for services to stop after notifying the service that the system is shutting down in XP, Vista, Windows 7 and Windows 8.

When the WaitToKillServiceTimeout value of this entry expires, the system notifies the user that the service has not stopped. The user can either force the service task to stop or continue to wait. If the user waits, this WaitToKillServiceTimeout value specifies the interval between repeated user notices that the service has not stopped.

If all services stop before this WaitToKillServiceTimeout value expires, the system shuts down; it does not wait for this value to expire.
warning   Warning
You should always save and close all programs before shutting down the computer to help prevent any data loss.


Tip   Tip
If your shutdown time is still taking longer then normal, then check these items below.



OPTION ONE
Set WaitToKillServiceTimeout before Shut Down using a REG File Download
1. Do step 2, 3, or 4 below for what you would like to do.

2. To Speed Up Shut Down Time with 2 Second WaitToKillServiceTimeout
A) Click on the Download button below to download the file below, and go to step 5 below.
NOTE: This sets the shutdown "Wait to kill" time to 2 seconds (2000 milliseconds). If you want shutdown to wait for a different amount of seconds, then do the manual method below.
2_Second_Shutdown.reg
download
3. To Restore the Default WaitToKillServiceTimeout in Windows 7
A) Click on the Download button below to download the file below, and go to step 5 below.
NOTE: The default shutdown "wait to kill" time is 12 seconds (12000 milliseconds) in Windows 7.
Windows-7_Default_Shutdown_Time.reg
download
4. To Restore the Default WaitToKillServiceTimeout in Windows 8
A) Click on the Download button below to download the file below, and go to step 5 below.
NOTE: The default shutdown "wait to kill" time is 5 seconds (5000 milliseconds) in Windows 7.
Windows-8_Default_Shutdown_Time.reg
download
5. Save, and save the .reg file to your desktop.

6. Double click on the downloaded .reg file to merge it.

7. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

8. If you like, you may also wish to change the HungAppTimeout, WaitToKillAppTimeout, and AutoEndTasks values to what you want.

9. When finished, you can delete the downloaded .reg file if you like.



OPTION TWO
Set WaitToKillServiceTimeout before Shut Down in Registry Editor
1. Press the Windows + R keys to open the Run dialog, type regedit, and click/tap on OK.

2. In regedit, go to: (See screenshot below)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
-regedit.jpg
3. In the right pane, right click on WaitToKillServiceTimeout, and click on Modify. (See screenshot above)

4. Type in a number between 2000-20000 (2-20 seconds), and click on OK. (See screenshot below)
NOTE: The default time is 12000 (Windows 7) or 5000 (Windows 8). I use 2000 (2 seconds) and have not had any problems. Your experience may vary.
Name:  Modify.jpg
Views: 54147
Size:  34.9 KB
5. If you like, you may also wish to change the HungAppTimeout, WaitToKillAppTimeout, and AutoEndTasks values to what you want.

6. When finished, you can close Registry Editor if you like.
NOTE: If you have problems with programs from your computer shutting down to quickly, then repeat the above steps and increase the WaitToKillServiceTimeout time (step 5) a bit.
That's it,
Shawn







11 Jan 2009   #1
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Hi,

just altered mine - I usually set it to 5000 - maybe I'm cautious .

Noticed before I changed it - the default was 12000 for 7000 x64.

siw2


My System SpecsSystem Spec
11 Jan 2009   #2
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

Thank you SIW2. Updated to 12000 instead of 20000 for the default.
My System SpecsSystem Spec
03 Feb 2009   #3
OziiX

Windows 7 Beta
 
 

Thanks.
My System SpecsSystem Spec
.


04 Feb 2009   #4
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

You're welcome OziiX, and welcome to Seven Forums.

Shawn
My System SpecsSystem Spec
11 May 2009   #5
Dinesh

Windows® 8 Pro (64-bit)
 
 

My boot time with waitokill value at 12000:
Name:  12000.PNG
Views: 50984
Size:  34.2 KB

My boot time with waitokill value at 120:
Name:  120.PNG
Views: 50868
Size:  43.4 KB


My System SpecsSystem Spec
19 May 2009   #6
coolpeoplswillis

W7 Build 7127 x64
 
 

thanks for this
My System SpecsSystem Spec
19 May 2009   #7
Captain Zero

Windows 7 Home Premium x64
 
 

Kudos, nice tutorial. While playing around with re-boot times, I found the single-most biggest factor was disabling the pagefile.sys and the hiberfil.sys made the biggest impact. This tutorial will, no doubt, improve on even that.
My System SpecsSystem Spec
19 May 2009   #8
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

You're welcome Captain Zero.
My System SpecsSystem Spec
19 May 2009   #9
papy95

Windows 7 RC
 
 

Merci for the tip !!
My System SpecsSystem Spec
Comment

 Shut Down -Speed Up




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
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...
Tutorials
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 speedtest.net 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 22:34.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App