How to Resolve Robocopy Permission Issues When Migrating Windows Servers?

0
0
Asked By CloudyMonkey23 On

I'm in the process of migrating from Windows Server 2012 R2 to 2019, both running as virtual machines, and I need to ensure that I retain all file permissions during the migration. When I run my robocopy command as User1, it works perfectly fine. However, I encounter an "Error 5: access denied" when I attempt to run the same command using User2. The command I'm using on serverB is: robocopy \\serverA\Disk$\Folder Disk\Folder /e /copy:dats /r:1 /w:1 /xo /np /ndl /nfl /log:C:\temp\log.txt. It's worth noting that both users are part of the Administrators group on both servers, and the owner of the Disk is also the Administrators group.

1 Answer

Answered By TechieTom456 On

In NTFS, just being in the Administrators group doesn't guarantee full permissions on everything. It sounds like User2 might not have "Full Control" permissions on the destination folder, which is crucial for modifying permissions. You should check the security settings of the folder and ensure that it includes "Full Control" for User2.

CuriousCoder88 -

But if the Administrators group has Full Control, shouldn't that be enough? Is there a method to allow all admins to have Full Control without individually adjusting permissions on NTFS?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.