New
#1
Cannot Replace Owner with icacls!
I am trying to access/move files on a drive pulled from an old XP machine that failed.
The drive is connected to a W7 machine via an external USB case.
When I use explorer to access the properties for A SINGLE FILE, the owner is shown as an unknown GUID (I expect this). Using this interface, I can change the owner, but only using the GUI, and only one user at a time.
After I set the owner through the GUI, I can use icacls to change the permissions.
BUT I cannot use the GUI to set the owner for more than one item at a time. If I try to set the permissions for the directory and apply them recursively, the folder gets updated, but the files in it error.
icacls reports a failure when I use setowner to change the owner on any file (yes, I am running in an admin CMD window). So "icacls *.* /setowner NAME" fails (access is denied).
There are probably thousands of files here. What can be done?