By default, the OS allows services 20 seconds to stop before it forcefully halts them. For services that have a large amount of information in memory (e.g., Internet Security and Acceleration—ISA—Server 2000), 20 seconds might not be enough time. To increase the time the system allows, perform the following steps:
- Start regedit.exe.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
- Double-click WaitToKillServiceTimeout.
- Set this value to the desired wait time in milliseconds—60000 is 1 minute.
- Click OK.
- Close regedit.
- Reboot the machine.
Note that this value applies to ALL services, so setting it to a longer interval might slow your computer's shut down: if a service doesn't shut down correctly, it will have a longer time before the OS halts it.
No comments:
Post a Comment