Solved

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

Posted on 2004-10-13
3
7,124 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

6 Experts available now in Live!

Get 1:1 Help Now