As indicated in this document, and also referenced in several places, we can run the WireGuard Windows GUI client as a non-administrator user with the functionality limited to toggle on or off the existing VPN tunnel configuration created.
This generally involves two steps as an administrator on the Windows host:
-
Create a registration key, which is specified in the command below
reg add HKLM\Software\WireGuard /v LimitedOperatorUI /t REG_DWORD /d 1 /f
-
Add the non-administrator user we wish to be able to toggle on/off the tunnel to the
the Network Configuration Operators builtin group
. We can do this by invoking thelusrmgr
command.
No comments:
Post a Comment