WireGuard Client access for None Windows Administrator accounts

To make the WireGuard windows app better for standard windows users, you need to make your user(s) a member of the “Network Configuration Operators” group. 

This allows you to enable/disable (or choose if you have multiple) the VPN without needing to be a member of the Administrators group.

To do this you also need to add a line to the registry.

Here’s the powershell code to do that: 

New-ItemProperty “hklm:\software\wireguard” -Name “LimitedOperatorUI” -Value 1 -PropertyType “DWord” -Force Add-LocalGroupMember -Group “Network Configuration Operators” -Member “$username”