Creating Junction from mapped NAS

2

I need to create a junction "test" on J:\ (which is a Windows partition) which should refer to K:\folder1\folder2\folder3 (mapped network drive).

I cd into J:\ and ran the command mklink /J k:\folder1\folder2\folder3 test but it returned the error:

Local volumes are required to complete the operation.

Can't I create a junction for mapped network drives?

user3232823

Posted 2016-06-01T20:51:12.807

Reputation: 121

Answers

2

Can't we create junction for mapped network drives?

No, that is not supported. Junctions can only be created to drives on the same computer.

You can create a Directory symbolic link instead:

mklink /d k:\folder1\folder2\folder3 test

Notes:

  • /d Create a Directory symbolic link. (default is file)
  • By default, only Administrators can create symbolic links.

    The security setting 'Create symbolic links' can be granted at:

    Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\

enter image description here

Source mklink


Further Reading

DavidPostill

Posted 2016-06-01T20:51:12.807

Reputation: 118 938