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







Related Tutorials

.

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 8.1 Enterprise
 
 

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 8.1 Enterprise
 
 

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: 23318
Size:  34.2 KB

My boot time with waitokill value at 120:
Name:  120.PNG
Views: 23292
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 8.1 Enterprise
 
 

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




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 02:34 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33