-1

I have windows server 2012 r2 and two storage drive. lest say A and B. I have created users and given files and folder access in drive A but now it is crashed and now I want to give all the same user permission in Drive B. I have same folders in both drives. How can I achieve it? Is there any way to copy the access rights and permissions?

Subham
  • 101
  • 1
  • 4

2 Answers2

1

With drive A being accessible as you added.

Robocopy is a built in tool that can do that. /E will give you all the subdirectories. Look into using it with the /sec flag, but /copyall is good too. You'll end up at something like this robocopy [source] [destination] /S /copyall. robocopy /? for more info.

xcopy is another built in tool you can use. xcopy [source] [destination] /S /K /O /X. xcopy /? for more info.

Nixphoe
  • 4,524
  • 7
  • 32
  • 51
  • Note that if you are copying an entire drive [you need to explicitly exclude the special folders](https://serverfault.com/a/920019/94065). – Harry Johnston Jul 12 '18 at 21:41
0

If drive A is accessible you can clone the permissions to drive B with a tool called Security Explorer by Quest (Buy or Free Try). It has an option to copy or clone the permissions to another object or folder. See the manual

Good Luck !

Igal K
  • 1
  • 1