Hello,
Welcome to Microsoft Q&A!
You could try to use LsaAddAccountRights
to assign one or more privileges to an account. Refer to the Doc:Authenticated Users. Authenticated User is always SID: S-1-5-11. The constant of Create symbolic links
is SeCreateSymbolicLinkPrivilege
.
For more details, I suggest you could refer to the Doc: Assigning Privileges to an Account
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.