I'm using Windows Server 2012 R2
as the new file server to copy the Home Drives content from the old file server (Server 2008) to the S:\ drive in the new file server.
Can anyone please suggest me which parameter should I use to make sure that the file & directory ownership is still retained from the old source file server in the new file server ?
I have tried to copy using the following one line batch script:
robocopy \\OldFileServer\Homes S:\homes *.* /MIR /SEC /SECFIX /LOG:C:\TEMP\RoboCopylogs.txt
but the result is that all of the copied directories in the new S: drive are owned by the newServer2012R2\Administra
tors group ?
the users cannot delete the files in their own Home drives.
Is there any way or parameter to include or script to fix the ownership above?