Cannot delete DIR once SUB-DIR has been deleted

L

L. Sangalli

I have experienced this on both the local drive and the
server drive ( a collegue has experienced it also on XP)

A directory named A contains a couple of sub-directories
say B, C and D.
D is deleted and an attemp to rename A is made.
You get the error "Cannot rename A there has been a
sharing violation. Check that the file is not in use."

Rebooting or logging the user out and back in will then
allow directory A to be renamed.
The user is part of the Administrators group

Any help would be appreciated
Thanks
Luke
 
D

Drew Cooper [MSFT]

My best guess is that D isn't actually deleted yet. Something is holding a
handle open to it - deletion happens when the last handle is closed. I've
seen similar problems with out-of-date antiviral scanners.
 

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