menu Chancel's blog
rss_feed
Chancel's blog
秋雨一何碧,山色倚晴空。

Windows KMS激活脚本

作者:Chancel Yang, 时间:2022 May 22, 阅读:81

KMS激活Windows指令如下,适用于Windows8/8.1/10/11

slmgr.vbs -ipk [windows key]
slmgr.vbs -skms [kms-server]
slmgr.vbs -ato

下面的命令可另存为一个bat文件,然后直接运行再依次输入Windows Key以及KMS地址即可

@ECHO OFF&PUSHD %~DP0

setlocal EnableDelayedExpansion&color 3e & cd /d "%~dp0"
title Windows Active

%1 %2
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :runas","","runas",1)(window.close)&goto :eof
:runas

echo.
echo                        Windows Active
echo.
echo --------------------------------------------------------------------------------                                                        
echo                Windows Active Script for 10/11
echo.
echo. --------------------------------------------------------------------------------

set /p windowsKey=Input Windows Key:
set /p serverUrl=Input KMS Url:

slmgr.vbs -ipk %windowsKey%
slmgr.vbs -skms %serverUrl%
slmgr.vbs -ato

echo Active completed

[[replyMessage== null?"发表评论":"发表评论 @ " + replyMessage.m_author]]

account_circle
email
web_asset
textsms

评论列表([[messageResponse.total]])

还没有可以显示的留言...
[[messageItem.m_author]] [[messageItem.m_author]]
[[messageItem.create_time]]
[[getEnviron(messageItem.m_environ)]]
[[subMessage.m_author]] [[subMessage.m_author]] @ [[subMessage.parent_message.m_author]] [[subMessage.parent_message.m_author]]
[[subMessage.create_time]]
[[getEnviron(messageItem.m_environ)]]