Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 12, 2018 9:20 AM
Hi
I'd like to allow all users to create SymbolicLinks How do I change the NewItemSymbolicLinkElevation?
New-Item : Administrator privilege required for this operation.
At line:1 char:1
- New-Item -Path .\link -ItemType SymbolicLink -Value .\source\
-
+ CategoryInfo : PermissionDenied: (C:\Users\johannes\atom\String) [New-Item], UnauthorizedAccessExcept
ion
+ FullyQualifiedErrorId : NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand
All replies (4)
Friday, October 12, 2018 11:55 AM
Change the group policy
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
Add the proper group or user to Create symbolic links
Monday, October 15, 2018 7:45 AM
You have answered your question, there are the complete steps:
Open the Local Group Policy Editor (gpedit.msc)
Edit the Create symbolic links policy at:
Computer configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment → Create symbolic links
Add the user or group that you want to allow to create symbolic links.
If you've added your own user account, you need to log out and back in for the change to have an effect.
Note that this setting has no effect on user accounts that belong to the Administrators group. Those users will always have to run mklink in an elevated environment (as Administrator)
Regards
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, October 17, 2018 3:26 PM
Thanks! Excactly what I was looking for.
Friday, October 26, 2018 9:39 AM
You are welcome, please mark the helpful reply as answer, this behavior can help other users find out useful information.
Thanks for understanding and cooperating.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].