py-kms激活VOL

下載地址:python

git clone https://github.com/ThunderEX/py-kms.gitgit

cd py-kms/github

 

依賴:服務器

pip install argparseide

 

運行:server

python server.pyip

 

WIN客戶端:rem

slmgr -skms 192.168.0.81   (py-kms服務器地址)get

slmgr -atoit

 

查看激活狀態:

slmgr.vbs /dlv

 

OFFICE:

cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /sethst:192.168.0.81

 

cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /sethst:192.168.0.81


///

cd C:\Program Files\Microsoft Office\Office14

cscript ospp.vbs /remhst

cscript ospp.vbs /setprt:1688

cscript ospp.vbs /sethst:192.168.0.81

cscript ospp.vbs /act          //激活

cscript ospp.vbs /dstatus      //檢查激活狀態


注:

Office16==Office2016;Office15==Office2013;Office14==Office2010;

相關文章
相關標籤/搜索