0

I'm loading a small sized isolated lab with Windows 7 and Office 2013. There are enough hosts to use KMS. In addition the lab does not have DNS as a service available, every host will use a static hosts file. The lab environment will not have access to the internet.

Is there a way to setup the hosts file to allow Office 2013 and Windows 7 to activate against the respective KMS servers?

  • How many hosts? Why not add a DNS server? Sounds like an unnecessarily laborious approach. – BlueCompute Sep 3 '15 at 14:04
  • This is a case of "here is the designed system, make it work." But, its ~25 hosts in a disconnected network. – pacmanwa Sep 11 '15 at 19:06
1

You may want to use the following:

cscript %systemroot%\system32\slmgr.vbs /skms <ip address of kms server>  
cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /sethst:<ip address of kms server>  
  • I am afraid that it is /skms <ip> not /skms:<ip>. MS documentation says, slmgr.vbs /skms <value>:<port> – Damn Vegetables Aug 18 '18 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.