windows搭建KMS服务器
把其中的“vlmcsd-Windows-x64.exe” copy到C:\Windows\System32
然后管理员运行cmd,进入路径C:\Windows\System32
运行命令:
- # Create System Service
- sc create KMSSrv binpath=%windir%\System32\vlmcsd-Windows-x64.exe type=own start=auto displayname="KMS Emulator"
-
- # Run Vlmcsd
- net start KMSSrv
-
- # Open Port:1688
- netsh advfirewall firewall add rule name="KMS Emulator Server" dir=in action=allow protocol=TCP localport=1688
复制代码至此,KMS服务器算是搭建完毕了。 2、验证把刚才下载的文件其中的“vlmcs-Windows-x64.exe” copy到C:\Windows\SysWOW64
然后管理员运行cmd,进入路径C:\Windows\SysWOW64
运行命令: - vlmcs-Windows-x64.exe -v -l 3 localhost
- localhost也可以是别的服务器地址,比如你的KMS服务器是10.1.2.14
复制代码
|