Update kms.bat

pull/1/head
呓喵酱 4 years ago committed by GitHub
parent 028268ba02
commit 02ef16674b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      kms.bat

@ -1,6 +1,11 @@
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
@echo off
cd /d "%SystemRoot%\system32"
echo. Clear old kms config...
slmgr /upk
slmgr /ckms
slmgr /rearm
echo. Setup new kms service...
slmgr /skms kms.yimian.xyz
slmgr /ato
slmgr /xpr

Loading…
Cancel
Save