# 确认操作系统版本
winver
# 安装激活码
slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
# 设置kms服务器地址
slmgr.vbs -skms kms.library.hk
# 开始激活
slmgr.vbs -ato
slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX # win10
# office激活
C:Program Files (x86)Microsoft OfficeOffice14
cscript ospp.vbs /sethst:kms.library.hk
cscript ospp.vbs /act
slmgr.vbs /ipk YC6KT-GKW9T-YTKYR-T4X34-R7VHC #2008R2 standrad
slmgr.vbs /ipk 489J6-VHDMP-X63PK-3K798-CPX3Y #2008R2 企业版
7MCW8-VRQVK-G677T-PDJCM-Q8TCP visio2010kms密钥