Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
Windows Server 2003 and Windows XP are very similar, so maybe some of these will help: stackoverflow.com/questions/90121/symlink-in-windows-xp – RobinJ Nov 8 '11 at 18:19

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.

share|improve this answer
    
Are you sure? I'm looking at the Sysinternals page for Junction.exe (technet.microsoft.com/en-us/sysinternals/bb896768) and it says that "Windows 2000 and higher supports directory symbolic links"? – SofaKng Nov 8 '11 at 20:18
3  
I think that's just a conflict in terminology. Reparse points used to be the closest thing Windows had to symbolic links, until they added a new feature actually called symbolic links in Vista. See en.wikipedia.org/wiki/Symbolic_link#Microsoft_Windows – Chris Smith Nov 9 '11 at 14:09

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

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .