I have a shared folder that I am moving to a new server with Robocopy. However, I do not have FULL permissions to all of the source files.
I am planning on taking ownership of all files and folders with takeown, and then adding NTFS permission, then repeating the Robocopy.
takeown /f "D:\Data" /r /a /d y
icacls "D:\Data" /grant "administrator:F" /T
My questions are:
- Does taking ownership as shown above affect file permissions at all? I would like to start this ahead of time (during the day) since it will take a while. But if it will cause people to lose access to their files, then it will have to wait until after hours.
- Will the icacls command add Full Control for Administrator, without affecting any other permissions? Again, my goal is for this to not affect end users.