Copy Share permissions from one folder to another

Print Friendly

To copy share permissions from one shared folder to another you have to use the permcopy command which is included in Windows Resource Kit Tools:

permcopy \\SourceServer Sharename \\Destinationserver Sharename

This command will copy the share permissions but not the security permissions of a folder. In order to copy the security permissions (and the files and folders included within it) I personally use the robocopy command which is also included in Windows Resource Kit Tools:

robocopy \\Source \\Destination /MIR /SEC /r:3 /w:5
This entry was posted in Windows. Bookmark the permalink.

Comments are closed.