1. Export HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares registry key from the source server
  2. Disable SERVER service on the source server (to be sure no one is modifying data during migration)
  3. Run RoboCopy using /COPYALL key (or /SEC key at least)
  4. Import registry file (exported in the first step) to the destination server
  5. Restart SERVER service on the destination server (required for imported registry file to take an effect)
  6. Update logon scripts/DNS records/server names/etc. so the users would be pointed to the new server

 

If needed, the steps above can be automated using a batch file.

Advertisements