M  E  N  U
 - Guides
 - Links
 - Tools
 - Themes


Services Utility: User Profile Hive Cleanup Service

Display Name (?): User Profile Hive Cleanup
Short Name (?): UPHClean
Executable (?): uphclean.exe
Library (?): None.
Depends On (?): None.
Supports (?): None.
Description (?): None.
OS (?): Third party or non-default
Startup (?):

Explanation (?):

The user profile hive cleanup service is used in unloading user registry hives when they are no longer needed. In Windows NT there is a problem that when a user logs out there may be handles still attached to a user's registry hive that slows down the logout process. In this situation the system notifies the processes that have attached handles to release the registry hive for the user. So the system waits at the saving your settings logoff dialog in hopes that the program that locked the hive will release it if given enough time. This wait will happen for the number of times specified in the group policy that can be edited in gpedit.msc under administrative templates, under system, under user profiles in the maximum retries to unload and update user profile setting. The lower the setting the quicker the logout will proceed in this situation. However, if the user logs out without the hive unlocking then the changes of a roaming profile may not be reuploaded to the domain controller and the profile may not be updated. If the hive is not properly unloaded at logout then errors 1517 and 1524 are written to the event log as userenv with the error of access is denied. This service provides a fix for this problem by terminate handles on the user's hive when logging out. This service is installed by the user profile hive cleanup service application that can be downloaded from Microsoft, and I recommend it highly for everyone using Windows 2000 or Windows XP. If you have this service installed then it should be set to automatic, and if you do not want it then you should uninstall it.

Please visit /tools/services/ for the complete Services utility.