Discussion Locked

Cannot delete file.-Sharing Violation

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I logged on as Administrator. I am trying to delete a zip file where I have full control. But I am getting a error "Cannot delete a file. There has been a sharing violation. The source or destination file may be in use." I reboot the server still I could not delete it.I run chkdsk/F and reboot the server still I could not delete. What is the problem

5 replies

by coopachi

A couple of things you could try. One, change the properties of the file in Explorer. Two, move the file to another location and then try to delete it.

hope this helps.

by nettek

If you have Full Control of a folder, you should be able to delete any file in it, even if the file is set to No Access or Delete (only).

Windows NT Explorer has a bug that prevents this, caused when it attempts to move the file to the Recycle Bin.

Try the following:

- Add Read permission to the file.

- Use File Manager (WINFILE.EXE).

- Use the DEL command.

- Hold down the shift key to prevent the file from being moved to the Recycle Bin.

This discussion is closed to new replies.