aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-07-26 19:45:43 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-08-02 13:54:04 +0200
commita71e855143756b5459e1e9bbe7b6e1a356c40ef5 (patch)
tree44a15efa4b632ca17637b7ff730878decd1b64db
parentconf: forbid reserved names with extension (diff)
downloadwireguard-windows-a71e855143756b5459e1e9bbe7b6e1a356c40ef5.tar.xz
wireguard-windows-a71e855143756b5459e1e9bbe7b6e1a356c40ef5.zip
docs: add reg command shortcut to admin keys
Suggested-by: Jonathan Tooker <jonathan.tooker@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--docs/adminregistry.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/adminregistry.md b/docs/adminregistry.md
index f7d04409..9196a93f 100644
--- a/docs/adminregistry.md
+++ b/docs/adminregistry.md
@@ -19,6 +19,10 @@ users belonging to the Network Configuration Operators builtin group
However, basic functionality such as starting and stopping tunnels remains intact.
+```
+> reg add HKLM\Software\WireGuard /v LimitedOperatorUI /t REG_DWORD /d 1 /f
+```
+
#### `HKLM\Software\WireGuard\DangerousScriptExecution`
When this key is set to `DWORD(1)`, the tunnel service will execute the commands
@@ -30,6 +34,10 @@ utmost trepidation. Rather than use `%i`, WireGuard for Windows instead sets the
environment variable `WIREGUARD_TUNNEL_NAME` to the name of the tunnel when
executing these scripts.
+```
+> reg add HKLM\Software\WireGuard /v DangerousScriptExecution /t REG_DWORD /d 1 /f
+```
+
#### `HKLM\Software\WireGuard\MultipleSimultaneousTunnels`
When this key is set to `DWORD(1)`, the UI may start multiple tunnels at the
@@ -39,3 +47,7 @@ tunnels using `wireguard /installtunnelservice`; this controls only the semantic
of tunnel start requests coming from the UI. If all goes well, this key will be
removed and the logic of whether to stop existing tunnels will be based on
overlapping routes, but for now, this key provides a manual override.
+
+```
+> reg add HKLM\Software\WireGuard /v MultipleSimultaneousTunnels /t REG_DWORD /d 1 /f
+```