On Windows home you can almost safely assume the local user is member of Administrators, thus testing for membership in S-1-5-32-556 (for Pro and up) or S-1-5-32-544 might do the trick. Regards, Joachim
-----Ursprüngliche Nachricht----- Von: WireGuard <[email protected]> Im Auftrag von Riccardo Paolo Bestetti Gesendet: Wednesday, 25 November 2020 00:43 An: Jason A. Donenfeld <[email protected]> Cc: WireGuard mailing list <[email protected]> Betreff: Re: Using WireGuard on Windows as non-admin - proper solution? On Sat Nov 21, 2020 at 11:05 AM CET, Jason A. Donenfeld wrote: > Hi, > > Check out the recent changes in git master, still under development, > but functional at this point: > > https://git.zx2c4.com/wireguard-windows/about/adminregistry.md Please note that unfortunately the S-1-5-32-556 group doesn't exist in all Windows editions. For example, it does not exist in Windows 10 Home. The general idea is fine, and that group could very well be the default one; however it might be useful to also have a registry key to pick a different SID. Riccardo P. Bestetti
