Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mklink permission on windows 8

I need to create symbolic links via mklink as an user, not as an administrator. I have set via secpol.msc and Security Settings → Local Policies → User Rights Assignment rule Create Symbolic links to user, that is currently logged in. After that I have restarted my laptop and tried to create symlink.

I still get the error: You do not have sufficient privilege to perform this operation.

The strange thing is that when I create junction (mklink /d /j ...) it works fine. For other mklink operations does not.

So the question is simple, how can I need to set permissions in windows 8 to get mklink work properly under user, not administrator?

Thank you for help.

like image 377
Jan Prokes Avatar asked May 09 '13 15:05

Jan Prokes


1 Answers

You can create symbolic links in non-elevated command prompt ONLY if you have enabled SeCreateSymbolicLink policy for user AND user doesn't belong to Administrators group

like image 193
maoizm Avatar answered Oct 09 '22 21:10

maoizm