merlin搭建局域網內免配置KMS自動激活環境

準備

vlmcsd發佈地址git

KMS KEYbash

配置腳本

#!/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-staticdom

激活過程

我使用的是office2016 x64版本tcp

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

office2010把office16替換成Office14code

office2013把office16替換成office15orm

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
相關文章
相關標籤/搜索