Difference between revisions of "Uphclean"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(User Profile Hive Cleanup Service: changed uninstall from passive to qn after testing.)
(improved packaging & description)
 
Line 1: Line 1:
 
== User Profile Hive Cleanup Service ==
 
== User Profile Hive Cleanup Service ==
UPHClean as described in [http://support.microsoft.com/kb/837115/en-us MS KB837115] is a simple MSI which is packaged trivially:
+
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 [http://support.microsoft.com/kb/837115/en-us MS KB837115].
 +
 
 +
==WPKG Package==
 +
It uses a simple MSI which is packaged trivially.
  
 
<source lang="xml">
 
<source lang="xml">
 
<package
 
<package
        id="microsoftuphclean"
+
id="uphclean"
        name="User Profile Hive Cleanup Service 1.6g"
+
name="Microsoft User Profile Hive Cleanup Service"
        revision="1"
+
revision="1"
        reboot="false"
+
reboot="false"
        priority="0">
+
priority="20">
+
 
<variable name="PKG_PATH" value="Components\microsoft.UPHClean.1.6g" />
+
<check
+
type="uninstall"
                <check
+
condition="exists"
                        type="uninstall"
+
path="User Profile Hive Cleanup Service" />
                        condition="exists"
+
 
                        path="User Profile Hive Cleanup Service" />
+
<install
+
cmd='msiexec /i "%SOFTWARE%\uphclean\UPHClean-Setup.msi" /qn /norestart' />
                <install cmd='msiexec /i "%SOFTWARE%\%PKG_PATH%\UPHClean-Setup.msi" /qn /norestart' />
+
 
+
<upgrade
                <remove cmd='msiexec /x {7D15B945-2725-4443-AB3F-D900556612FE} /qn /norestart' />
+
cmd='msiexec /i "%SOFTWARE%\uphclean\UPHClean-Setup.msi" /qn /norestart' />
+
 
                <upgrade cmd='msiexec /i "%SOFTWARE%\%PKG_PATH%\UPHClean-Setup.msi" /qn /norestart' />
+
<remove
+
cmd='msiexec /x {7D15B945-2725-4443-AB3F-D900556612FE} /qn /norestart' />
 
</package>
 
</package>
 +
 
</source>
 
</source>
  
=External Links=
 
[http://www.microsoft.com/download/en/details.aspx?id=6676 Microsoft download:User Profile Hive Cleanup Service 1.6g]
 
 
[[Category:  Silent Installers]]
 
[[Category:  Silent Installers]]

Latest revision as of 14:30, 28 February 2012

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>