Copy timestamps and permissions

I need to copy the timestamps and folders with their permissions from Windows Server 2016 to Windows Server 2022. How can I do that? Robocopy does not help, and I saw some tools like SyncBack Pro, Allway Sync, and GS RichCopy, but using all is not free for the case of preserving timestamps and NTFS permissions.

robocopy has /copy:DATS for data + attributes + time stamps + NTFS ACLs, why is that not good enough?

Robocopy alone, with the proper switches and privileges, is enough for copying timestamps and folder permissions between these Windows Server versions.
So, the typical command line for this migration scenario would be:

robocopy “SourcePath” “DestinationPath” /E /ZB /COPYALL /DCOPY:T /R:3 /W:5 /LOG:“C:\robocopy.log”

This command copies all files and directories (including empty ones), preserves timestamps and NTFS permissions, retries failures three times with a five-second wait between retries, uses restartable mode and backup mode, and logs the process.

For the tools “SyncBack Pro, Allway Sync, and GS RichCopy”, all are perfect GUIs, but try the free Robocopy first

2 Likes