Cannot delete file: There has been a sharing violation

  • Thread starter Thread starter Erik
  • Start date Start date
E

Erik

Hello,

What should I do in order to delete a file when I get the message:

"Cannot delete file: There has been a sharing violation. The source or
destination file may be in use."

Any help?

Thanks,

Erik
 
Press F8 during the boot phase to get into Safe Mode,
then delete the file.
 
The file is on a server (IIS). Any way to do it without rebooting?

Thanks,

Erik




Pegasus (MVP) said:
Press F8 during the boot phase to get into Safe Mode,
then delete the file.
 
You can try and identify the locking agent with one of these:

nthandle.exe from SysInternals
oh.exe (Win2000 Resource Kit)
compmgmt.msc"-Shared Folders-Open Files


Erik said:
The file is on a server (IIS). Any way to do it without rebooting?

Thanks,

Erik




Pegasus (MVP) said:
Press F8 during the boot phase to get into Safe Mode,
then delete the file.
 

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

Back
Top