本方法只适用于VOL(批量许可)版本的Windows和Office。
激活Windows
执行下面的脚本即可,更多slmgr使用方法请参考这里
slmgr /upk
slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
slmgr /skms KMS地址
slmgr /ato
slmgr /dlv
激活Office
切换到Office文件夹…\Microsoft Office\Office16 ,然后执行下面的脚本即可,ospp.vbs更多使用方法请参考这里
cscript ospp.vbs /sethst:KMS地址
cscript ospp.vbs /act
cscript ospp.vbs /dstatus