Modify the registry to speed up the shutdown speed of Vista/2000/XP/2003

  

To speed up the shutdown speed of Windows Vista, you can first achieve this by shortening the system default shutdown service wait time. Open the Registry Editor and locate the following registry key:

HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control

In the right panel, you can see a registry key named "WaitToKillServiceTimeout" Double-click to modify it, adjust its value from the default of 20000 (in milliseconds) to a smaller value, such as 5000 or even 1000, so if Windows Vista is set to 5 seconds (5000) or 1 second ( 1000) If the service shutdown signal is not received, the system will pop up a warning window to inform the user that the service cannot be aborted, and the option to force the suspension of service or continue to wait is waiting for the user to select.

Shortening the wait time before closing the application and the process

Similar to the wait time before shutting down the service, Windows Vista has the same waiting time for the program or process before forcibly closing the application and the process. The time of the shutdown, only after the time limit is exceeded, the Windows system will force it to abort.

Therefore, shortening the default closing of the application or waiting time can also speed up the shutdown of Windows Vista.

The setting method is similar to the above, find the following branch in the registry:

HKEY_CURRENT_USER\\Control Panel\\Desktop

Double-click;WaitToKillAppTimeout” in the right panel The value is changed from the default of 20000 (the unit is also milliseconds) to a smaller 5000 or 1000, so that if Windows waits for 5 seconds or 1 second after issuing the shutdown command, it still does not receive an application or a shutdown signal. A corresponding warning signal will pop up and ask if the user is forcibly aborted.

There is also a registry key named "HungAppTimeout" in the right panel, which corresponds to the system waiting for the object to be closed after the user forcibly shuts down a process or application. time. The default value is “5000”, which can be changed to “1000”.

Then, in the following registry branch:

HKEY_USERS\\.DEFAULT\\Control Panel\\Desktop\\

Repeat the above operation, ie modify “WaitToKillAppTimeout” with &ldquo ;HungAppTimeout” The value of two registry keys.

Automatically abort applications or processes when shutting down or logging out

However, even if we set the value of "HungAppTimeout" to a small value, it does not mean that Windows Vista waits longer than this. After the time limit, the program or process will be automatically aborted, and a dialog box will pop up for the user to confirm whether to abort. If you feel that this method is too cumbersome, you can modify the registry key to let Windows Vista automatically interrupt the process after the waiting time limit.

Find the following registry branch:

HKEY_CURRENT_USER\\Control Panel\\Desktop registry

You can see that there is a registry key named "AutoEndTasks" in the entry. The default value is “0”, modify it to “1” that is, let Windows Vista automatically terminate all processes without the user's confirmation.

Pressure the stability of the system

Although the above method can significantly speed up the shutdown speed of Windows Vista under certain circumstances. However, it should be emphasized that, regardless of "WaitToKillServiceTimeout", "WaitToKillAppTimeout", or "HungAppTimeout", it is a very important and indispensable parameter for Windows systems. Improper settings will affect the stability of the system or loss of users. The consequences of the data.

In the example of "WaitToKillServiceTimeout", the purpose of the Windows system using WaitToKillServiceTimeout is to give the corresponding service a buffer time, so that the services in the execution can write the data in the cache back before the system is closed, if not Keep enough buffer time, data may be lost and unpredictable consequences, so generally do not set its duration too short, as it is not appropriate to set it to “0”

In fact, these features are already available in Vista Optimizer (the latest version of the download), you can click on the above system optimization, then click on the left side of the boot /shutdown, see if it is And there are more options.

Other: The above modification method is also applicable to Windows 2000, Windows XP and Windows 2003.

Copyright © Windows knowledge All Rights Reserved