2

Trying to migrate users My Documents and Desktop redirected folders where the users have exclusive rights to the folders. Using Robocopy with /e and /copyall attributes running as domain admin. Access is denied. This is from Server 2003 to Server 2008 R2. DFS is running but replication won't work between the machines. Any thoughts?

Dean
  • 23
  • 2
  • If the users have "exclusive" access rights to the folders, surely that means the account you're running robocopy as will not have rights? – Adam Thompson Mar 19 '14 at 15:17
  • Yes, that's why I brought it up. I'm looking for a way around that that doesn't include taking ownership. Like running robocopy through a batch file as a scheduled task under NT Authority. (Haven't been able to get that to work) – Dean Mar 19 '14 at 15:46
  • Is there a reason you are preventing the Domain Admins account from NTFS and/or Share permissions on the redirected folders? You should be able to give permissions to the parent folder and let inheritance set permissions for the children. That should allow you to robocopy with your options. – Byron C. Mar 19 '14 at 20:19

1 Answers1

2

This is probably the wrong way to do this (as in, you probably want to use the file server migration tool or handle this through Group Policy, or get DFS replication working), but if you insist on using robocopy, you want the /zb switch.

/ZB : Use restartable mode; if access denied use Backup mode.

HopelessN00b
  • 53,795
  • 33
  • 135
  • 209