Unable to delete some MyBookWorld files from Vista

tclukay
tclukay used Ask the Experts™
on
I am hoping someone can help me with this, because Dell and Western Digital have all been useless.

I am running Vista Home Premium on my home laptop, and have a Western Digital MyBook World 1TB drive connected wirelessly through my NetGear router. Installation and configuration of the device went flawlessly, I configured the drive to be part of my home network workgroup, and was able to copy files to the shared directories (which have full public access) without a hitch. But now, when I go to try and delete or rename some of the files, I get "Action cannot be completed because the file is open in another program."

I have confirmed through some Microsoft utilities that the file(s) being deleted are *not* in use, a fact that seems to be confirmed by the fact that I am able to delete the files if I use the Mionet interface to delete the files instead of the Explorer interface in Vista.

I am at my wits end on this; any help on troubleshooting this would be greatly appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I use Process Monitor by Mark Russinovich, Microsoft SysInternals. ProcMon provides real-time I/O for the registry and files.  It will show you the name & PID of whatever is holding the files.  It is not 100% user friendly, but thought I would mention it b/4 others stop by with more ideal fixes.  I wish you good luck.
From Microsoft TechNet - free - http://live.sysinternals.com/Procmon.exe
The rest of the SysInternals Suite - updated July 1, 2009 - http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx
jcgriff2
noxchoIT Product Manager
Top Expert 2009

Commented:
Did you simply turn off and on the WD drive?

Author

Commented:
Noxcho, I didn't physically shut the drive off, but I did perform a "hard reboot" of it which effectively accomplishes the same thing.  No effect.

Author

Commented:
Jcgriff2, I think I had tried downloading that tool at one point, but I'm afraid I must confess that the "lack of user friendliness" got me.  It seems to monitor just about everything, but for the life of me I couldn't figure out how to make it just monitor one, specific file and report back to me on any threads or processes it sees trying to use it.

Author

Commented:
One other thing I wanted to add that seemed like "odd behavior" between the drive and Vista:

In preparation for possibly restoring the drive to its original "out of the box" configuration, I tried to copy a large directory off the MyBookWorld onto a USB drive directly attached to my Vista laptop.  The copy proceeded very slowly overnight, but when I got up to check the status this morning, the following error was disaplayed:

"Too many files are currently in use."

It would appear to me that there's something going on here between Vista and MyBook that I don't understand.  Again, thoughts and ideas welcome.
noxchoIT Product Manager
Top Expert 2009

Commented:
Is there any tool that syncs the data on WD for backup purposes? That could explain why the files are considered to be in use.

Author

Commented:
Yes, there is a tool called WD Anywhere Backup, but the problem actually started occurring before I installed it.  Just to be sure however, I'll uninstall it and try again when I get home...

One other thing that could possibly be pertinent... is there any possibility that the WD drive's Unix file structure could conflict with Vista in terms of sharing?  The shared folders on the WD Drive are all set up with full pubic access, but I'm not very comfortable with the whole Vista-to-Unix sharing thing...
noxchoIT Product Manager
Top Expert 2009

Commented:
Hm, that makes sense. I was thinking it is FAT formatted but this update no makes me doubt. Is this the only PC that WD has problems with?

Author

Commented:
Okay, now this is going to sound really strange.

I have two PCs in my Home Network, both running Vista, both with access to the WD Drive.  Keep in mind that everything I'm about to say was performed in the *same* MyBook shared directory, created by the same Vista user (me) on the same computer and with the same permissions.

1. Some of the files that I canot delete or rename on computer A (because I get the "file in use" error) I *can* delete/rename from computer B.  If I rename it on "B", I *still* can't go back to "A" and update it.

2. Some files I can delete/rename from either computer (just the way it should work, I believe).

3. Some files result in the same "File In Use" message regardless of which machine I try to access them from.

I could be wrong on this, but my "gut feel" is that these files are definitely *not* in use, and something else is causing problems.

Noxcho, thanks for all your suggestions thus far; feel free to keep the ideas and questions coming.  Anyone else who this all rings bells with are welcome to chime in, too!   This is really frustrating.

Author

Commented:
More symptoms, more nuttiness - although this actually makes a little bit of sense based on everything else I'm seeing...

As I suspected, the "file in use" message is totally bogus. I have confirmed this by:
1. Attempting to delete one of the offending files.
2. When the "file in use" error pops up, I open the file in Notepad.
3. I change the file and attempt to save the changes.

The changes are saved successfully.  That could not happen if the file really was locked by another process.  Clearly there is some kind of miscommunication going on between Vista and the shared directory structures in MyBook.

Author

Commented:
Think I'm finally getting somewhere on this...

I reloaded an old 3rd PC I had at home with a copy of Vista this weekend and added to my wireless network.  The machine is only at SP1 (not SP2 as my other two Vista machines), and I haven't loaded any additional software on it yet.  Guess what?  It appears to access the MyBook drive without any problems or in-use locks. Soooooo,

1. either there's a compatibility issue between SP1 and SP2, or
2. it's got to do with some of the software the other 2 PCs have in common.

The 2 primary candidates for problems that I can think of are:

- McAfee Security Center, or
- Norton Ghost

I will continue with the experiment this week.
IT Product Manager
Top Expert 2009
Commented:
I think you are on right way. I guess it is McAffee as Ghost has nothing to do with files.
McAfee agent could lock the files scanning them. Try to remove it temporally from the suffering PC and see what changes.

Author

Commented:
Yep, that was it... I shut off realtime scanning of network drives, and low and behold, the "file in use" error goes away.  Reenable it, and the error is back.  I also discovered that once you get the error, you can't simply shut off realtime scanning of network drives again to make the error go away; you have to reboot.  Nice.

Thanks Noxcho for your assitance with this... two heads are always better than one.
I have the same product with the same issue. Can't delete anything on the drive. I disabled the Antivirus software, but I'm still unable to fix it. My system is XP Pro.

If I add additional files to the drive, I can easily delete those files, but nothing from before. The 1TB drive is at about 90% full. Any further advice?

The error says Files Write Protected, or in Use.

Author

Commented:
My problem was definitely related to McAfee.  If you are running McAfee, I'm quite confident that is your problem as well.  Please note that in order to test whether or not shutting off McAfee solves your problem, it's not enough to simply shut it off and then try deleting files off MyBook; you must shut off McAfee, REBOOT the computer, and then try deleting some of the MyBook files.  Hope this helps.
Well, here is what I have done. I tried to delete the files from a laptop using RedHat 5.4 Enterprise. I ran into the exact problem. (Can't delete anything on the drine). If I put new files onto the drive, then try to delete those, I am perfectly able to delete those new files/directories.

I bowed down and called Western Digital, and after a long trying discussion on the phone, they assured me there was no possible way to delete thos old files, and would I like to do a RMA. I agreed and they are now sending me a replacement drive for free.

It seems the CIFS system on the (Blue Ring) WD 1T NAS drive has someway locked the files, even at the root level from being deleted. The OS on that drive will need to be hacked to "chmod" those locked files to a level where the user can delete them.

I have heard of ways to do this by loading a fake firmware update on a couple websites, which actually loads a backdoor so you can SSH into the drive and fix the problem. Unless you are willing to void your warranty and do this, I recommend just RMA'ing the drive and let WD fix it and resell it. In my case I was able to read all the files, so I was able to copy all of them off the drive elsewhere. Nothing reallye sensitive in nature. The hard drive contains the Linux OS and necessary files to make NAS function, so a simple reformatting is not an option either.

Western Digital has a real poor product here. Unless you want and love Mionet, and the crappy NAS system they provide. I suggest selling all your NAS WD devices, for something better. I now use Buffalo LinkStations, which gives the user/admin much more control of the administrative options on the device than does WD. There are re-initialization options built in. So this is a worthy note.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial