Cannot delete DIR once SUB-DIR has been deleted

  • Thread starter Thread starter L. Sangalli
  • Start date Start date
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
 
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.
 
Back
Top