How to restore files/folders & permissions with robocopy

  1. Download psexec from http://live.sysinternals.com/psexec.exe
  2. Use the following commands to restore all files and security permissions:
    1. psexec -i -s cmd.exe
    2. (in the new cmd.exe shell run) robocopy /SEC /SECFIX /IS /IT /V <source> <destination>