Fixing Symlinks on Windows

“The symbolic link cannot be followed because it’s type is disabled.”

Quite an easy fix tbh, you can check status with this command:

mintty screen dump

fsutil behavior query SymlinkEvaluation
Local to local symbolic links are enabled.
Local to remote symbolic links are enabled.
Remote to local symbolic links are disabled.
Remote to remote symbolic links are disabled.

As you can see, network symlinks are disabled on this machine in work I’m on. To fix it, run the following:

mintty screen dump

fsutil behavior set SymlinkEvaluation R2R:1
fsutil behavior set SymlinkEvaluation R2L:1

That fixes remote to remote (R2R) and remote to local (R2L), obviously the other two types are L2R and L2L.

Fixed!