9

I'm trying to better organize my public folder at work and I need to maintain old links that I have emailed to people in the past. I'm thinking of creating symbolic links so that I can maintain those old folder links while moving my folders and files where I want them.

Unfortunately, I can't seem to do this because I'm working on networked drives.

Issuing the following command:

mklink /J "\\networkDrv\users\Me\Force Tester" "\\networkDrv\users\Me\File Store\Lappers\ASL_ABL\Code\Force Tester"

results in this error:

Local NTFS volumes are required to complete the operation.

1 Answer 1

9

Try running command prompt as administrator and with the /D switch instead.

mklink /D "\\networkDrv\users\Me\Force Tester" "\\networkDrv\users\Me\File Store\Lappers\ASL_ABL\Code\Force Tester"

Run mklink /? from command prompt to get more details of the options of this command.

Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.

Access Denied Fix

If you run the mklink /D command as administrator and the Link part of the command is a UNC network path and you get Access Denied error message, then follow the below to potentially resolve this issue.

  1. On there server where (and/or on the Windows client PC you're getting the Access Denied error message when you run the command) the Link part of the command is located, run this command as administrator on the server: fsutil behavior query SymlinkEvaluation
  2. If you see Remote to remote symbolic links are disabled. then run this command: fsutil behavior set SymlinkEvaluation R2R:1
    • You can run this from the location where you're running the MKLINK command and getting access denied whether on the Windows Server itself or the Windows client PC
  3. Now try running your command again and hopefully it works successfully now.

Link Reference: Access is denied on mklink

11
  • denied. I get 'Access is denied." I guess because I'm not an admin for the server. Dec 24, 2015 at 15:47
  • Well I am running the console in admin mode Dec 24, 2015 at 15:58
  • Ok, I will try that next. Right now, I was able to create the link on the desktop as per your last comment no problems. However, when I went to move the link to the network, it turned into an empty folder with a link to nowhere. So I guess the link got broken in the copying process Dec 24, 2015 at 16:06
  • And yes, I do have write permissions, I can create and edit a text file Dec 24, 2015 at 16:06
  • Access is denied, that's all I get Dec 24, 2015 at 16:20

You must log in to answer this question.

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