cannot delete files


M

Michael Trent

I am running Windows 2000 Pro with all service packs and
patches applied. I am in the administrative account with
all permissions enabled. from time to time when I try to
delete a file in a my computer window, I will get a
message "cannot delete (file): there has been a sharing
violation. The source or destination file may be in use" I
can delete the file in a DOS box or Windows Explorer. Does
anyone have an idea what is causing this?
 
Ad

Advertisements

T

Toni Fontenele

Michael,

I post a lot of messages here, in the past, about this problem and until now
I did not fin any solution. Here, is my discovers about it:

We have two Windows 2000 Servers with SP3. One of them are presenting a
well-known message, when we try to delete a folder: "Error Deleting File or
Folder. Cannot delete "folder": There has been a sharing violation. The
source or destination file may be in use."

I made a research through Newsgroups around the Internet and I found that
explorer.exe is locking that folder. People outhere tell us to restart
Windows and delete the folder, after logon. It works but it is very boring
to restart the computer every time we have a locked file or folder.

As an workaround to prevent a restart, I found a great free utility called
WhoLockMe (http://www.dr-hoiby.com/WhoLockMe/) for Win2K. WhoLockMe is a
little extension for your Microsoft Explorer. It permeets you to list all
the process locking your selected file. So I started to use it to unlock any
folder handled by explorer.exe, just killing its process.

Another way to delete the locked folder is setup Windows Explorer to open
the folder's windows in separate proccess (Windows Explorer > Tools > Folder
Options > View Tab > Advanced Configuration > Start the folder's windows in
.....). So, we close all Windows Explorer windows, open a new one and delete
the locked folder.

In both ways, we did not need to restart the computer.

I think this problem start after we apply Win 2K SP3, but the other Win 2K
Server did not presenting this problem. Indeed, I am suspecting of our
Microsoft Office 2000 Professional (brazilian portuguese) and of our Norton
Antivirus 2001. I am suspecting too of some files like SHELL32.DLL and
EXPLORER.EXE releases.

I do not know if that problem is the same described in Microsoft's Knowledge
Base Article 323045
(http://support.microsoft.com/default.aspx?scid=kb;en-us;Q323045) or the
older NT4.0 Article 165387
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q165387).

Another common error appears too: the Windows Explorer starts to show
incorrect icons in the left-window folder's tree, after some file and folder
manipulation, specially after file and folder deleting in the right side.
So, when we click the Up button on the Windows Explorer's toolbar a message
with an error. We click OK button and continue to browser the hard disk but
every opened folder show the same error message. The incorrect icon that
replace the yellow folder icon is one of the icons inside shell32.dll: an
white page with many blues stripes (simulating text) and a red "A" in the
bottom-right side of this white page. It is a common Windows icon but it is
replacing the yellow folders icons.

I think all these problems only were solved with Win 2K SP4. A few days a
go, I upgraded our trouble Windows 2000 Server with SP4 and the problems
still here!
 
M

Matt Hargraves

I think if I have to read your advertisement again I'm
going to go insane. Stop cutting and pasting this crap.

-----Original Message-----
Michael,

I post a lot of messages here, in the past, about this problem and until now
I did not fin any solution. Here, is my discovers about it:

We have two Windows 2000 Servers with SP3. One of them are presenting a
well-known message, when we try to delete a
folder: "Error Deleting File or
 
M

Matt Hargraves

I guess I get to eat a little crow. However, you really
should read the issues a little better to make sure that
it is indeed what the user is talking about. I have seen
a couple of places where you have posted this when it was
not appropriate and had little to do with the actual issue.
 
Ad

Advertisements


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

Similar Threads

Cannot Delete Files 3
Cannot delete file 3
Cannot delete file? 0
Cannot Delete Files 4
Cannot delete a file 2
Cannot delete files 0
Cannot delete files 1
Cannot delete files 1

Top