SyncToy 2.1 64bit fails on Symbolic and Hard linked files and folders. RRS feed

  • Question

  • Tested this on Windows 7 to Windows 7 and Windows 7 to Windows 8.

    First use mklink command to make a symbolic link of a file in a folder

    Next use mklink command to make a hard link of a file in the same folder

    Next create a shortcut of a file in the same folder.

    Set Windows Explorer to display files as large icons

    You should now see three files names with the different colored arrow in the corner.

    A blue arrow for the shortcut. A green arrow for the symbolic linked file. A red arrow for the hard linked file.

    Setup SyncToy to sync to folders on different systems.

    You OS is probably set wrong for handling Symbolic Links so you will need to use the fsutil command to handle symbolic links, because you will get an error about symbolic links cannot be followed.

    This is your goal: Remote to remote symbolic links are enabled.

    fsutil behavior query SymlinkEvaluation

    fsutil behavior set  SymlinkEvaluation R2R:1

    fsutil behavior query SymlinkEvaluation

    Now run SyncToy.  You should see the same thing on the remote system as you have setup on the host system.  You don't.  The Shortcut will work, but the symbolic link and hard link files get copied as files not links.  SyncToy will not show any errors.

    Synctoy should have set the symlink behavior and it didn't and then it does not handle the links correctly.

    Friday, May 17, 2013 8:13 PM