merlin搭建局域网内免配置KMS自动激活环境

2016/07/07 21:30
阅读数 2.6K

准备

vlmcsd发布地址

KMS KEY

配置脚本

#!/bin/sh
cd /jffs/
wget "http://192.168.1.10/kms/vlmcsd"
chmod 700 vlmcsd
/jffs/vlmcsd
echo 
netstat -an |grep 1688
touch /jffs/configs/dnsmasq.d/kms
chmod 755 /jffs/configs/dnsmasq.d/kms
echo "domain=lan">/jffs/configs/dnsmasq.d/kms
echo "expand-hosts">>/jffs/configs/dnsmasq.d/kms
echo "bogus-priv">>/jffs/configs/dnsmasq.d/kms
echo "local=/lan/">>/jffs/configs/dnsmasq.d/kms
echo "dhcp-option=lan,15,lan">>/jffs/configs/dnsmasq.d/kms
echo "srv-host=_vlmcs._tcp.lan,`uname -n`.lan,1688">>/jffs/configs/dnsmasq.d/kms

service restart_dnsmasq
iptables -I INPUT -p tcp --dport 1688 -j ACCEPT


echo "sh /jffs/vlmcsd">>/jffs/scripts/firewall-start
echo "iptables -I INPUT -p tcp --dport 1688 -j ACCEPT">>/jffs/scripts/firewall-start

ARMv7 Processor rev 0 (v7l)用这个编译版本 little-endian\static\vlmcsd-armv7el-uclibc-static

激活过程

我使用的是office2016 x64版本

office2016 32位版本: cd "%ProgramFiles(x86)%\Microsoft Office\Office16"

office2010把office16替换成Office14

office2013把office16替换成office15

cd "%ProgramFiles%\Microsoft Office\Office16"
#cscript ospp.vbs /sethst:192.168.1.1
cscript ospp.vbs /remhst
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
slmgr -skms xxxx.xxxx.com
slmgr /ato
展开阅读全文
KMS
加载中

作者的其它热门文章

打赏
0
3 收藏
分享
打赏
0 评论
3 收藏
0
分享
返回顶部
顶部