Moving Users folder on Windows

These are the step required to move the Users folder from the system partition to an other partition e.g. from C:\ to D:\ .
Note that once rebooted in command line mode the drive letter might have changed; you must check the actual drive letters and change the commands accordingly.

  1. Reboot in command line mode
  2. robocopy /copyall /mir /xj C:\Users D:\Users
  3. rmdir /S /Q C:\Users
  4. mklink /J C:\Users D:\Users