Build your professional network on facebook via our app Go to app
 
 
Posted in Community :

Tech World

Activity:  6 comments  215 views  last activity : 02 09 2011 14:02:27 +0000
 Refer 490
Share
 
 
 

Please backup windows registry before modify

If you experiencing the Windows operating system (including Windows 2000, Windows XP, Windows 2003, Windows Vista and Windows Longhorn Server) shutdown slowly, and seems like always waiting for a long time before shutting down the computer. The behavior is due to Windows system waits for services to stop after notifying the service that the system is shutting down, when the user issues command to shut down, turn off or restart the computer. Other than that, Windows also wait for the timeout to kill open applications. You can make the Windows 2000, Windows XP, Windows 2003 and Windows Vista shutdown faster by changing the following settings.

Note: For modification involves registry, you can modify the registry value by using Registry Editor, which can be started by typing “regedit” in Start -> Run box, or by pressing Windows + R buttons.

Reduce the wait time for services to be killed

As mentioned above, Windows will wait for the services to shutdown and kill themselves after notifying the running services to shut down. If not, Windows will wait for the timeout and start killing the still running services. You can reduce the wait time for Windows to kill the persistent services.

Navigate to the following registry branch:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control

On the right pane, double click on ‘WaitToKillServiceTimeout’ or right click on it and choose modify. Change the default value of WaitToKillServiceTimeout of 20000 to lesser value, such as 5000 or even 1000, depending on your preference.

When the value of WaitToKillServiceTimeout expires, the system notifies the user that the service has not stopped, and prompt the user with option to force the service task to stop or continue to wait.

Reduce the wait time for user processes and applications to be killed

As with services, Windows will also wait for a while, depending on WaitToKillAppTimeout setting, before starting to shut down and kill open applications and user processes when the user want to shutdown, restart or log off. The wait time or time out can be reduced to speed up the shutdown process.

Navigate to the following registry branch:

HKEY_CURRENT_USER\Control Panel\Desktop

On the right pane, double click on WaitToKillAppTimeout (or right click on the registry key and select Modify), and enter a new value which is less than the default value of 20000. The value can be 1000 or 5000 or any other numeric value, depending on your preference. When the WaitToKillAppTimeout registry entry timeout or expires, the End Task dialog box appears, stating that the process did not respond, and allowing user to End the task.

On the right pane also, double click on HungAppTimeout (or right click on the registry key and select Modify) and change the value to less numerical value than 5000 (default value), e.g. 1000. HungAppTimeout specifies how long the system waits for user processes to end after the user clicks the End Task command button in Task Manager or after the user has selected to restart or shutdown the system.

Then navigate to HKEY_USERS\.DEFAULT\Control Panel\Desktop\ registry branch, and do the same as above to change and modify the value of WaitToKillAppTimeout and HungAppTimeout registry keys.

Automatically end, terminate and kill user processes or tasks on shutdown or logoff

Even if you have set the HungAppTimeout registry entry to a very low value, what happen is that when HungAppTimeout time out due to a hung applications or unable to terminate tasks or not responding to the end task request, it will prompt user with a End Task dialog box to ask if user wish to end the process. By changing to the value of registry key AutoEndTasks to 1, we can ask Windows to end all processes that timeout when shut down or log out from Windows automatically, without asking for user input or interaction. Default value of the key is 0, which mean no user processes will end automatically.

AutoEndTasks is located at HKEY_CURRENT_USER\Control Panel\Desktop registry branch.

 

 

dedicated server
computer help

 
6 comments on "Fast Shutdown Windows"
  Commented by  Rathin Deb, Resident Manager, Tower Infotech Ltd.    | 02 08 2011 04:27:20 +0000
it is totally irritating once the operating system takes time to close down. Sameer thanks for the information.
  Commented by  Vidhu Dar, Dy. General Manager- Stores, Bgr energy systems ltd    | 02 07 2011 13:12:05 +0000
Slow shut down of windows is very irritating some times it is good to know we can reduce the time of shutdown 
THANKS!
  Commented by  Virag Shah, Office coordinator, Prince pharma pvt. ltd.    | 02 07 2011 05:07:28 +0000
good article thanks for referal.
  Commented by  piyush sharma, Software Developer, Navyug InfoSolutions Private Limited    | 02 07 2011 04:46:44 +0000
Wow! That was really nice.You have provided very useful information.
  Commented by  NATTERAJA R. ARIKRISHNAN, AREA SALES MANGER, UNIFLEX CABLES LTD    | 02 06 2011 17:32:34 +0000
Rating : +1 
Thanks for the useful information Mr.Sameer.
Add your comment on "Fast Shutdown Windows"

Rate:
Submit
Leading recruitment Firm
Core Java, spring, webservices, servlets, sql, Java developer, Leading Service Based company, Bangalore
Excellent opening for BUSINESS ANALYST
SALES ExecutiveOpening In Bangalore
Viewers also viewed
LINUX vs Windows
 
744 referals 11 arguments, 2464 views
Windows the very word which changed how we use our PC's and other Computer or laptop related...
 
1317 referals 32 arguments, 485 views
Advantages vs Limitations
 
121 referals 9 arguments, 655 views
more...  
Recent Knowledge (90)
Go to http://www.php.net/downloads.php and download the current version. PECL modules :...
40 referals 14 comments, 1003 views
Floods deluge Pak With Strategic Problems   The Zardari government's inefficient handling of the...
 
35 referals 6 comments, 106 views
The word 'Push' has traditionally characterized FMCG sales systems in India. This is changing...
 
11 referals 5 comments, 625 views
more...  
More From Author
While installing payment gateway on windows server with java. its useful.
Tips for avoid sleepiness During the Day at work
After deciding on a property,the next big thing one does is to look for a good home loan. While people think that there is no big deal in getting a home loan with Bank waiting in queue to offer home loans. getting home loan is very difficult.
more...