Update install.bat
This commit is contained in:
parent
ce2c21e7d0
commit
8be3fa56de
|
@ -3,7 +3,7 @@ cd %~dp0
|
||||||
echo Installing TAP driver...
|
echo Installing TAP driver...
|
||||||
bin\tap-windows-installer.exe
|
bin\tap-windows-installer.exe
|
||||||
echo Installing now the KMS server service...
|
echo Installing now the KMS server service...
|
||||||
bin\vlmcsd.exe -s -U /n -O .=192.168.123.1/24
|
bin\vlmcsd.exe -s -U /n -O
|
||||||
echo Adding firewall exception...
|
echo Adding firewall exception...
|
||||||
netsh advfirewall firewall add rule name="vlmcsd" dir=in action=allow program=%~dp0bin\vlmcsd.exe enable=yes
|
netsh advfirewall firewall add rule name="vlmcsd" dir=in action=allow program=%~dp0bin\vlmcsd.exe enable=yes
|
||||||
echo Starting vlmcsd service...
|
echo Starting vlmcsd service...
|
||||||
|
@ -13,7 +13,7 @@ set /p kmsKey=Enter a valid key for your Windows version:
|
||||||
echo Installing key...
|
echo Installing key...
|
||||||
slmgr /ipk %kmsKey%
|
slmgr /ipk %kmsKey%
|
||||||
echo Setting up KMS address...
|
echo Setting up KMS address...
|
||||||
slmgr /skms 192.168.123.2
|
slmgr /skms 10.10.10.10
|
||||||
echo Sending activation request...
|
echo Sending activation request...
|
||||||
slmgr /ato
|
slmgr /ato
|
||||||
echo All done! Press enter to exit.
|
echo All done! Press enter to exit.
|
||||||
|
|
Loading…
Reference in New Issue