Hi,
I've done a Robocopy from a file repository located in another domain to our own domain file share.
ACL has been copied for each file and folders, and so we do not have access to any files or folders because SID are just unknown (untrusted domain).
Ok, so I decide to take ownership of all directories and files and then renew all NTFS permissions with our domain accounts, but I have a problem :
When I try to take ownership of some directories recursively a lot of files are in "access denied". Sometimes dozens of files so I have to cancel ! Or I'm doomed to click 100000 times on my mouse on "Ignore".
I've tried to take ownership with "SYSTEM" account or "Domain admins" group but I still get the "access denied" pop up for some files.
Is there any best practice or command I can use to take ownership of all files and folder by "FORCE" ? I mean, why the file system is just denying that if I'm the super mega admin ? Is there any hidden account I'm not aware of ? :) Joking. But maybe this is not the best practice ?
Any help welcome, thanks !