Uphclean

User Profile Hive Cleanup Service

The Microsoft User Profile Hive Cleanup Service, UPHClean, is available for Windows 2000 and XP from http://www.microsoft.com/download/en/details.aspx?id=6676. It fixes issues where roaming user profiles aren't properly unloaded when users logoff, resulting in profiles that cannot be deleted, or problems logging on resulting in error codes 1000, 1500, 1517 and 1524 in the Event Log. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DeleteRoamingCache=1 might not be able to delete user profiles without UPHClean first running. It is described in MS KB837115.

WPKG Package

It uses a simple MSI which is packaged trivially.

<package
	id="uphclean"
	name="Microsoft User Profile Hive Cleanup Service"
	revision="1"
	reboot="false"
	priority="20">

	<check
		type="uninstall"
		condition="exists"
		path="User Profile Hive Cleanup Service" />

	<install
		cmd='msiexec /i "%SOFTWARE%\uphclean\UPHClean-Setup.msi" /qn /norestart' />

	<upgrade
		cmd='msiexec /i "%SOFTWARE%\uphclean\UPHClean-Setup.msi" /qn /norestart' />

	<remove
		cmd='msiexec /x {7D15B945-2725-4443-AB3F-D900556612FE} /qn /norestart' />
</package>