Wednesday, October 22, 2008

Application hanging on shutdown or logoff, Explorer.exe error at shutdown, no icons on desktop

These problems are related. The solution is in two parts:

1) To automatically end hung applications:
a) Start > Run > regedit.exe
Change the value of AutoEndTasks to 1 to automatically end tasks. (0 prompts for action.)

b) Change the default time-out before ending the task by changing the value of 'WaitToKillAppTimeout' to 1000. The default value is 20000 (= 20 seconds).

C) Windows needs to restart before changes take effect.

- - -

2)User Profile Hive Cleanup Service

Download UPHClean-setup.msi

Microsoft describes UPHClean.exe:
Brief Description
A service to help with slow log off and unreconciled profile problems.

The User Profile Hive Cleanup service helps to ensure user sessions are completely terminated when a user logs off. System processes and applications occasionally maintain connections to registry keys in the user profile after a user logs off. In those cases the user session is prevented from completely ending. This can result in problems when using Roaming User Profiles in a server environment or when using locked profiles as implemented through the Shared Computer Toolkit for Windows XP.

###

www.COMPUTERCRAFT.com

No comments: