I have a really strange problem. I am using Windows 7 Professional with SP1 installed. I have a My Book 500GB external hard drive connected to the network via Linksys E3000. Now in Windows 7 I am logged in as Admin. The network disk is configured in Linksys, that an admin group can r&w. Now I have added this settings to Credential Manager, where I have specified network address of disk, username and password. I have added it, because otherwise the Windows 7 would forget the username & password on restart of the system.
Now the network disk is working without problems. I can access file, write files on it, delete files from it. The problem arises, if I want to delete folder, that contains other files or folders. Now here for some reason it displays this error:
I tried Try Again, it displays Error 0x8007045D (I/O error):
This error is supposed to happen, when there is something wrong with USB port, or USB drivers, but this drive is not accessed via USB, it is a network based disk. Also, I don't have any problems with devices connected through USB, not that it matters in this problem.
Then I clicked Cancel. Now what is really strange about this is, that the folder has gone missing! I will be able to see it again, if I reconnect the network disk, or restart the computer. Now I really don't understand about the permission thing, becuase I am already Admin. I have looked up under network disk properties -> security, and this is want I have found:
As you can see, it seems the account Account Unknown is what controls what can be accessed. It only has Special permission allowed. So I tried to change it to allow everything (which probably would not make a diffrence, because it seems that under that Special permission falls almost everything, as I said I can do everything except delete folders, that contain other files or other folders). When I wanted to apply the Full control that I have selected it gave this error:
It seems that I cannot change this permission. So I wanted to know who exactly is behind this permission, and I got this under Advanced -> Owner:
I guess the Linksys E3000 operates this permission. But as I have said in the first paragraph, I have setted the disk to adming group under Linksys E3000 setup (192.168.1.1), which means it has full r&w access.
Now the strangest thing about this thing: I have also another computer, that has Windows XP SP3 installed on it. I also have the network disk added to the computer. The diffrence is, that there I am also able to delete folders, that contain files or other folders. It deletes them without any error.
Also if I connect the disk to computer with Windows 7 on it (the one that I have problem deleting folders that have other folders or files inside it), then I can delete this folders without any problem. I would like to point out, that I also tried this on my second computer (laptop), that also has Windows 7 SP1 installed, and it displays the same error, which means that there must be something with Windows 7, otherwise the Windows XP would gave the same error.
I really don't understand why I am able to delete it from Windows XP, but not from Windows 7. The computer, that has Windows XP installed is connected through Linksys E3000 LAN via UTP cable just as is computer, that runs Windows 7. Please help me with my question and thanks for any answers!
Edit: Adding screenshots of Local Group Policy Editor:
The fact that XP doesn't have these problems but Win7/Vista do is a dead giveaway. One of the biggest network changes in Vista/7 was the introduction of SMB v2.0. Along with that, they considerably beefed up the Windows Authentication process for the NTLM.
More than likely, the Samba server running in MyBook isn't up to date compatible with NTLMv2 and/or SMBv2. In general, Vista/7 will balk at older authentication methods that XP was ok with.
Some of the settings you should try. Go to your Win7 gpedit.msc:
I hope some of this helps
Try those two settings and we can go from there
**Edit **
I should probably clarify where I'm going with this. Basically, we are reproducing XP's network security settings one by one on the Windows 7 machine until we see where it hiccups.
All the way to the point where we are just authenticating as anonymous and logging on with a guest account :) It's possible that the software inside the MyBook could just be straight up incompatible with Win7's network security.
I suspect that the files on your networked drive are set as "Read Only" - The fix is pretty simple. Right click on a file or folder, click PROPERTIES, then click GENERAL, and in ATTRIBUTES un-click "Read Only" and then you should be able to delete your files (at least most of them). I had the same problem with Linksys3000, a networked hard drive and W7.
Go to command prompt and type rd /s/q directory.
It seems to me that you are using an account on XP that has no equivalent account on Windows 7, so Windows 7 calls it "Account unknown" and assigns it some arbitrary permissions on the disk. There have been large changes in account-management going on from XP to Windows 7, so making both share the same NTFS disk is not a trivial exercise.
In addition, the format of NTFS disks is not the same for XP and Windows 7. Windows 7 can understand the XP flavor, but XP might not fully understand NTFS formatted under Windows 7. So if you want to reformat the disk, do it preferably under XP. I would also guess that your My Book would also feel more comfortable with the XP version of NTFS.
In theory the following steps might fix the problem :
I cannot promise that you may not sometimes in the future need to repeat again the above steps.
Another idea is to reformat the disk as FAT32. This would be better done on Windows 7, as in Windows XP you can only format FAT32 disks up to 32 GB in size. As FAT32 doesn't store account information, all users will have access to the entire drive, regardless of their account type.
If you have EN windows,add this into your registry,then right button on mouse and select take ownership. after that,you can dele that file. Save folowing code as *.reg
Take ownership:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
For removing that from registry:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
U can run cmd as well.
first run this:
takeown /f c:\badfile.xxx /r /d y
after that run:
icacls c:\badfile.xxx /grant administrators:F /t
User contributions licensed under CC BY-SA 3.0