Adding Powershell commands to Windows instructions (#1299)

Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>
This commit is contained in:
Sean Reifschneider 2023-04-04 00:58:32 -06:00 committed by GitHub
parent ceeef40cdf
commit 036ff1cbb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

View file

@ -74,7 +74,7 @@
clicking the icon in the system tray
</li>
</ol>
<p>Or</p>
<p>Or using REG:</p>
<p>
Open command prompt with Administrator rights. Issue the following
commands to add the required registry entries:
@ -83,7 +83,16 @@
<code>REG ADD "HKLM\Software\Tailscale IPN" /v UnattendedMode /t REG_SZ /d always
REG ADD "HKLM\Software\Tailscale IPN" /v LoginURL /t REG_SZ /d "{{.URL}}"</code>
</pre>
<p>Restart Tailscale and log in.</p>
<p>Or using Powershell</p>
<p>
Open Powershell with Administrator rights. Issue the following commands to
add the required registry entries:
</p>
<pre>
<code>New-ItemProperty -Path 'HKLM:\Software\Tailscale IPN' -Name UnattendedMode -PropertyType String -Value always
New-ItemProperty -Path 'HKLM:\Software\Tailscale IPN' -Name LoginURL -PropertyType String -Value "{{.URL}}"</code>
</pre>
<p>Finally, restart Tailscale and log in.</p>
<p></p>
</body>