Profile won't unload on logout

Posted on 2006-06-05
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
    LVL 20

    Accepted Solution

    Hi kcs_tec,
    Try this - it normally does the trick
    User Profile Hive Cleanup Service

    Deb :))
    LVL 9

    Expert Comment

    Or delete the profile and recreate it...
    LVL 20

    Expert Comment

    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 :))

    Author Comment

    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

    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

    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

    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 :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    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…
    For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now