How to Copy Files with Permissions

Share

Last Review: August 7, 2010
Product(s): Windows Server 2008 / 2008 R2

Use Robocopy copy to files with permissions from one path to another. Former XCOPY has been depreciated and is no longer available. Use caution as any contents of the destination path will be deleted if it does not exit in the source.

For faster copying speed, temporarily stop anti-virus services in Control Panel / Services.

  1. Open a Command Prompt.

  2. Run Robocopy with the mirror option. Example:
     
    robocopy x:\users y:\users /MIR

Use Ctrl-C to stop copying if you receive access denied errors and must take control of files in the source path. When you re-run Robocopy, it will compare any previously copied files and only copy remaining files from the source path.