Solved

get error 'Cannot delete UsrClass.dat' error when trying to delete local profile

Posted on 2004-10-13
3
7,179 Views
Last Modified: 2012-06-27
Hi all,

We have a W2K member server running Term Svcs + Citrix 1.8, and have local proifiles configured. I am getting a problem when trying to delete some of these local profiles (but note that this is sporadic - sometimes I can delete them, sometimes I can't).

When trying to delete the profile get an error "Cannot delete UsrClass.dat. There has been a sharing violation'. This renders the user unable to log on again until I reboot the box (which then allows me to delete the profile properly). Is anyone aware of a utility that will allow me to delete the profile properly without having to bounce the box? Or is there a process I can restart that will perform the same function (without affecting concurrently logged-on users)?

Thanks,

Alsace
0
Comment
Question by:alsace
3 Comments
 
LVL 19

Expert Comment

by:Zaheer Iqbal
ID: 12305744
Ok this is occuring because the server thinks that the user in still using the file under his profile..
Make sure the user is logged off correctly 1stly...
0
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 50 total points
ID: 12305809
Hi
This May be worth a look
User Profile Hive Cleanup Service
http://www.microsoft.com/downloads/details.aspx?FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582&displaylang=en

Deb :))
0
 

Author Comment

by:alsace
ID: 12306801
Thanks for the replies guys...

1stITMAN - yeah they are definitely logged off (they are actually test users that I logged onto the box with). When I go to the system applet > profiles and try to delete them it deletes almost all of the profile except the problematic file in question (and the associated folders), in fact it says they are deleted but 'not properly', as the folder is 'not completely empty'.. The profile disappears from the profile list but the user is unable to log on again as long as the server is up.

Debs - will try that out. It does sound like a profile hive not being completely unloaded the more I think about it... because as I said if I reboot (forcing all profiles to be unloaded) I can delete the remainder if the profile no probs... and presto - the user can log on again.

Unfortunately I am off work for a week and a bit so will test as soon as I get back...

Will report back then.

Thanks again,

Alsace
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 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