Posted On March 31, 2019

User Profile Hive Cleanup Service

kimconnect 0 comments
blog.KimConnect.com >> Windows >> User Profile Hive Cleanup Service
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.
 
Note: this is useful for Terminal servers to address slow logging off issues

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

A Short List of Windows Remote Desktop Server Error Messages

Log Messages: 'Failed GetConnectionProperty' in CUMRDPConnection::QueryProperty at 2884 err=[0x80004001]'Connection doesn't support logon error redirector' in…

How To Create a Windows Scheduled Task to Call a Program or Script

Example on How To Call a Program: Set Action = Start a Program Set Program/Script…

HPE: Gen8 Bios Settings to Prepare Host for Virtualization Role

Proliant Gen8 Blade Servers HP Servers are often chosen as VMWare & Hyper-V hosts. To…