Profile won't unload on logout

Posted on 2006-06-05
Medium Priority
Last Modified: 2012-05-05
Hi, can someone please tell me how to sort this problem out:

I just instaleld a new Win2k professional (networked, but not on a domain)
and I'm logging in with a new administrator account called "Merl",

But everytime I logout or shutdown windows, it takes a lot longer than it should
and in the event viewer I get this message appearing after each shutdown:

"Windows cannot unload your registry class file.  
If you have a roaming profile, your settings are not replicated.
 Contact your administrator.  

DETAIL Access is denied. , Build number ((2195)). "

How can I fix this and make the system shutdown faster?
(PS: My Windows 2K has SP4 installed and also 4 security updates from
MS.  And I have an absolute minimum number of services running (most are
set to Manual).
Question by:kcs_tec
  • 3
  • 3
LVL 20

Accepted Solution

Debsyl99 earned 1000 total points
ID: 16831843
Hi kcs_tec,
Try this - it normally does the trick
User Profile Hive Cleanup Service

Deb :))

Expert Comment

ID: 16832103
Or delete the profile and recreate it...
LVL 20

Expert Comment

ID: 16832305
Part of the problem with this error is that the HKCU registry is still in use and gets effectively locked by certain apps. I've seen this happen on multiple user accounts on a network. Recreating the profile doesn't work - it's just creates a new account with the same problem. However this kind of depends on my first post being correct. Many profile problems *are* solved by deleting and recreating the profile.

Deb :))
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.


Author Comment

ID: 16844965
Thanks for the comments Deb!

I installed the PHC process and thing's are running much quicker with logouts. Although twice the
entire system hung completely on logout (which didn't happen before) so I'm going to keep
testing it for a few more days before accepting your answer and closing the questions.

Thanks again!

LVL 20

Expert Comment

ID: 16845444
Thanks for the feedback. Is there anything in the event logs on the pc that would correspond to the system hanging? Also I'd run consider running a check for viruses or other nasties just to make sure there's nothing else going on - particularly if you're running free AV products or Symantec which is useless at picking some things up and can often cause the problems that you're having.
Trend Housecall
Ad-Aware Personal
Another thing to try is a bit of hoursekeeping - ie clearing temp files etc using diskcleanup, and defragging. I'd also consider patching it further - sp4 plus 4 security updates still seems a bit light in patching terms. When/if it hangs try seeing if you can use task manager to determine where the hold up is if the event logs don't shed any clues. Another idea is to run a chkdsk /f /r to check any drive inconsistencies.
Deb :))

Author Comment

ID: 16856664
Hi Deb.

Well the 2 crashes were due to errors on an old scsi disk on the chain.

The hive cleanup program is doing a good job and logouts are not a problem
anymore.  Though I'd still like to know which program or service was causing
the profile hangs anyway...  
I checked even viewer and HCU had left a message in there to say which
process had caused the hang on logout:

"The following handles in user profile hive ISIT\Merlin (S-1-5-21-1292428093-813497703-1060284298-1000) have been remapped because they were preventing the profile from unloading successfully:
svchost.exe (388)
  HKCU\Software\Classes (0x2ec)
  HKCU\Software\Classes (0x374)"

I looked in registry editor to see if I could see more about the above data, but it
was too obscure for me to make anything more of it.

Nothing else in event viewer to give a clue about this. Just a couple of errors
regarding "server" and "computer browser" services failing to start because
I disabled them.

List of services running on my machine:
DHCP client
Event log
Logical disk man
Network connections
NVIDIA driver
Plug and pray
Print spooler
Windows management instrumention
Windows management instrumention driver

List of processes running:
nvsvc32 (nvidia driver)

Total mem used: 59MB

I'm not running any AV products and I doubt I have any spyware etc, because I only
installed this win2k  a few days ago and I haven't browsed any websites yet
or opened attachments.
I can't use task manager to see what is going on when the logout hangs occur
because the whole computer locks up and the only way to get control again is
to hit the reset button.

Thanks again for the info Deb!  
I'll leave this question open a couple more days before assigning you the
answer points, in case you want to add anything more. (it's great having
you on the case here).




Author Comment

ID: 16856864
Ps:  Deb - If you have a free moment then I have another question
in EE today at:


PPS: hope you're enjoying this fine, fine weather we're having (err.. wherever you
are in the world that is :)

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
Loops Section Overview
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question