Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Issue: This security ID may not be assigned as the owner of this object. #141

Open
salmanmalik-emb opened this issue Apr 27, 2023 · 2 comments

Comments

@salmanmalik-emb
Copy link

salmanmalik-emb commented Apr 27, 2023

I am getting the same error reported before
Issue https://github.com/WireGuard/wgctrl-go/issues/108

Found this additional chat for this issue.
https://www.mail-archive.com/wireguard@lists.zx2c4.com/msg06053.html

Please let me know if it has been fixed or how to solve this issue.

@lgnyy
Copy link

lgnyy commented May 16, 2023

Wireguard.exe needs to be run with SYSTEM privileges; Please call psexec.exe - s - i "wireguard. exe" tun0
https://learn.microsoft.com/en-us/sysinternals/downloads/psexec

@nikwo
Copy link

nikwo commented Apr 16, 2024

@salmanmalik-emb if you're using userspace implementation of wireguard(wireguard-go) you could rewrite SecurityDescriptor for uapi server before calling UAPIListen, in my case, D: (A;OICI;GA;;;S-1-5-32-544) (A;OICI;GA;;;S-1-5-18)(A;OICI; GRGW;;;S-1-5-11)

(Allow all for system user and local administrator, allow authenticated user to write/read)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants