Roaming profiles not unloading - leaving userclass.dat

I

Iain

Haveing problems with users profiles not unloading
properly, only way round is to reboot server, which is a
pain.

There are files left on the server after you delte user
profile off the server. The path points to C:\documents
and Settings\temp.domain\local settings\Application
data\Microsoft\Windows. The 2 files are userclass.dat and
userclass.log.

Says cannot delete as there is a sharing violation,
anyone any ideas about deleting this file without
rebooting the server.
 
B

Bill Peele [MS]

--------------------
From: "Iain" <[email protected]>
Subject: Roaming profiles not unloading - leaving userclass.dat
Date: Fri, 12 Mar 2004 05:13:50 -0800
Newsgroups: microsoft.public.win2000.termserv.apps

Haveing problems with users profiles not unloading
properly, only way round is to reboot server, which is a
pain.

There are files left on the server after you delte user
profile off the server. The path points to C:\documents
and Settings\temp.domain\local settings\Application
data\Microsoft\Windows. The 2 files are userclass.dat and
userclass.log.

Says cannot delete as there is a sharing violation,
anyone any ideas about deleting this file without
rebooting the server.
---

Iain,

Take a look at the following article to see if it helps.

837115 - Troubleshooting profile unload issues
http://support.microsoft.com/default.aspx?scid=kb;[LN];837115

Bill Peele
Microsoft Enterprise Support

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the
terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread
from which they originated.
 
Joined
Jun 6, 2007
Messages
2
Reaction score
0
problem is that userclass.dat is locked by system.exe, killing the handle will cause server to BSoD.

solution is in regedit go to HKEY_USERS, find the user's SID (PSGETSID from sysinternals) and unload the hive - this will free up the locked profile and allow deleting the profile.

(UPHClean utility does not help here, issue exist on server with UPHClean installed)
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top