robocopy existing data to new machine with all attributes

8 Feb

robocopy “\\oldservername\d$\SCANS” “\\newservername\d$\SCANS” /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:rem robocopy15.log

 

how to migrate data with all attributes and security settings