Access to mklink denied but researcher successful

Attempting to create a link to a file share using: mklink / D "\ fileshare \ dest \ folder_link" "\ fileshare \ dest \ folder" (under administrator)

But it gives denied access, tries to run fsutil, but fails :(

fsutil behavior set SymlinkEvaluation R2R:1

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 enabled.

However, when I try to create a link via explorer (by right clicking, choosing Create Shortcut), it works.

Why doesn't command line work but explorer does? Is there an alternative way to create soft links via cmd?

+3


source to share


1 answer


So it turned out to be a Group Policy Communication Policy not installed on the computer that hosted the file.



secpol.msc, Local Policies \ User Rights Assignment \ Create Symbolic

+1


source







All Articles