1、激活Office 2013(Office必须为VL版本
命令如下:
cd "C:Program FilesMicrosoft OfficeOffice15"
cscript ospp.vbs  /sethst:KMS服务器地址
cscript ospp.vbs /act
这里要注意"C:Program FilesMicrosoft OfficeOffice15",此目录是你的OFFICE安装目录,安装位置不同,此处相应修改。
2、激活windows
slmgr /skms KMS服务器地址
slmgr /ato

 

其他命令
slmgr.vbs的使用示例
1、安装产品密匙
命令:slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
2、安装OEM证书方法
命令:slmgr.vbs -ilc x:xxx.XRM-MS
3、激活Windows
命令:slmgr.vbs -ato
4、显示许可证激活状态的截止日期
命令:slmgr.vbs -xpr
5、查看许可证的概要信息
命令:slmgr.vbs -dli
6、查看许可证详细信息
命令:slmgr.vbs -dlv
7、卸载当前产品密匙
命令:slmgr.vbs -upk

发表回复

后才能评论

评论(1)