« Restricting who can log on | Main | Sysprep w/ XP SP2 & Default User profile »

March 13, 2005

Troubleshooting profile unload issues

I encountered a problem with roaming profiles that was preventing cached copies of profiles from being automatically deleted. The following error was in the event log:

Event Source: Userenv
Event Category: None
Event ID: 1517
Windows saved user ComputerName\UserName registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use. This is caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

The solution was in this knowledge base article KB837115: Troubleshooting profile unload issues. Microsoft provides a service you can install called UPHClean that monitors the computer while Windows is unloading user profiles and forces resources that are open to close.

Posted by djc6 at March 13, 2005 02:26 PM

Trackback Pings

TrackBack URL for this entry:


I've used UPHClean for several months, and the profile issue persists. We use Novell Clients with
Win2000/XP, and it appears that either the Novell Client, or the Zenworks agents still have the registry locked during logoff. Very frustrating as Novell blames this on MS, and vice versa.

Posted by: Jerome Koch at August 31, 2005 04:02 PM