mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
7 lines
193 B
Batchfile
7 lines
193 B
Batchfile
@echo off
|
|
if "%1"=="runas" (
|
|
cd %~dp0
|
|
) else (
|
|
powershell Start -File "cmd '/K %~f0 runas'" -Verb RunAs
|
|
)
|
|
reg add HKLM\Software\WireGuard /v MultipleSimultaneousTunnels /t REG_DWORD /d 1 /f |