Jump to content

User Profile Hive Cleanup Service


Geej

Recommended Posts

Homepage

Page2

UPHClean v2.0.49

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.

On Windows 2000 you can benefit from this service if the application event log shows event id 1000 where the message text indicates that the profile is not unloading and that the error is "Access is denied". On Windows XP and Windows Server 2003 either event ids 1517 and 1524 indicate the same profile unload problem.

To accomplish this the service monitors for logged off users that still have registry hives loaded. When that happens the service determines which application have handles opened to the hives and releases them. It logs the application name and what registry keys were left open. After this the system finishes unloading the profile.

In short, help speed up logging off, reconciliation of roaming profiles and prevent exceeding the registry size limit.

Note: Installed as auto startup service.

During uninstall, uses regini.exe to modify registry permission.

And restore to default setting after uninstall.

If you wish to install to an existing system, uninstall any existing version first.

Then install using this package inf-installer. This installer/uninstaller is not compatible with msi installer.

UserProfileHiveCleanupService2.0.49_inf_addon.cab

Size: 109.94 Kb (112,577 bytes)

MD5: 670FA81C3BF21A0517F6DE1F906A468F

Edited by Geej
Link to comment
Share on other sites

  • 1 month later...

Minor inf update.

Modify inf install method. Now using RegisterDlls/regsvr32 method.

However, when uninstall using regsvr32, not all registry keys are deleted. Therefore I still need to use regini.exe to remove key as (hence changing registry permission is needed) the key does not have administrator full access by default.

Edited by Geej
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...