36
14
I am having an issue creating a symbolic link on Windows 7 Ultimate. I want to map a folder from a mapped network drive into My Documents.
mklink /D "C:\Users\Vegard\Documents\Virtual Machines" "Z:\Virtual Machines"
returns You do not have sufficient privilege to perform this operation.
.
Z:\Virtual Machines
is set to be available offline, but I am online when I am trying this.
This is what I've tried (as suggested here):
Using Local Security Policy to add my user to Local Polices\User Rights Assignments\Create symbolic links, and rebooting. No luck.
Running cmd.exe as an Administrator, but then I cannot see the mapped network drive at all. I can however create symbolic links on the drive.
Using
fsutil
to changesymlinkevaluation
, to setR2L:1
(even though it seem to me I wantL2R
, which is already enabled).Using full UNC path of the shared folder does not work either (
The syntax of the command is incorrect.
when run as an administrator,You do not have sufficient privilege to perform this operation.
when run as a normal user).
Output of fsutil behavior query symlinkevaluation
:
C:\Windows\system32>fsutil behavior query symlinkevaluation
Local to local symbolic links are enabled.
Local to remote symbolic links are enabled.
Remote to local symbolic links are enabled.
Remote to remote symbolic links are disabled.
Any ideas?
As I mentioned below, this is because an elevated prompt does not have the foldershares mapped to it. Try a
cd z:\
and you'll get an error. runcmd
as a user and see that the folder is mapped. – surfasb – 2011-12-23T23:04:25.433