4

I'm trying to create a directory symbolic link under Windows Server 2003 but I'm not having any luck.

I've tried junction.exe (Sysinternals), ln.exe, and linkd.exe (Windows Server 2003 Resource Kit).

I'd like c:\folder\subfolder to link to \fileserver\realSubfolder

This works perfectly fine under Windows 7 (using mklink.exe) but I can't get this to work under Windows Server 2003.

Can anybody help me out?

1

4 Answers 4

5

You can't. Directory symlinks were introduced in Windows Vista. The closest analog is directory reparse points (aka junctions), which the Systinternals Junction tool you referenced can create.

2
2

Maybe the problem is that the group policy doesn't allow you to use directory symbolic links on network paths, for security reasons.

Check it here: Computer Configuration\Administrative Templates\System\NTFS File System\Selectively Allow The Evaluation Of A SymbolicLink

1

Junctions won't support UNC paths. It only resolves for local paths.

Junctions are a subset of reparse points, so the same restriction applies also.

Starting with Vista, you can create symlinks, which will resolve to a remote path. They will even let you daisy chain symlinks with remote paths.

0

You can, please see my response to this similar question over at stackoverflow - https://stackoverflow.com/a/18593425/18475

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.