Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search. I'm trying to create a directory symbolic link under Windows Server but I'm not having any luck. I've tried junction. This works perfectly fine under Windows 7 using mklink.
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. Maybe the problem is that the group policy doesn't allow you to use directory symbolic links on network paths, for security reasons.
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.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. How can I create a directory symbolic link on Windows Server ? Viewed 48k times. Improve this question. Only scanning them verify selection finds the changes in these folders.
This could be a real problem with large file collections but perhaps mapped drives and UNC are also susceptible, so it's all a wash? See also superuser. Add a comment. Active Oldest Votes. Improve this answer. Simon Catlin Simon Catlin 5, 3 3 gold badges 16 16 silver badges 20 20 bronze badges. You reckon? Any actual evidence one way or another? I've had to do this for sharing drives with a service. Been doing this for a couple years, in production, on multiple workstations and servers and not had a single issue.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. I want to map a folder from a mapped network drive into My Documents. This is what I've tried as suggested here :. No luck. Running cmd. I can however create symbolic links on the drive. Using fsutil to change symlinkevaluation , to set R2L:1 even though it seem to me I want L2R , which is already enabled. Using full UNC path of the shared folder does not work either The syntax of the command is incorrect.
Your user account has some security policies on them by default which can be disabled, through secpol. Go to the Run dialog and type:. When you log back in, run cmd with admin privileges. Now you should be able to run mklink commands like this with no problems:. Note: Make sure the directory you're trying to link to exists or hasn't been moved or deleted, prior to linking. My solution became to disable User Account Control, reboot, then create the symlinks as my own user, then re-enabling UAC and rebooting again.
Rather unfortunate if I need to create further symlinks at a later stage, but it does work, it is just very inconvenient. You cannot do symbolic links in networks and mapped drive as source, you can only use it as target and the source is your local drives. The answer below is doesn't exactly answer the question, but since I ended here after searching for my issue, I'll add my solution.
However, when I used fsutil hardlink it worked. Note that the source and destination folders for mklink and fsutil hardlink are reversed! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Creating a symbolic link to mapped network drive in Windows Ask Question. Asked 11 years, 2 months ago.
0コメント