Use a KMS outside of the domain

Tuesday, May 10th, 2016

I had an issue where we needed a small domain to register it’s Windows 2012 virtual machines to the main KMS of the company.

The problem was the small domain had it’s own IP range and it’s own DNS. I attempted to activate the virtual machines and received a message reporting the KMS was not resolvable in DNS.

Since this was a tiny domain and the DNS would not be managed, I needed another way to activate the virtual machines.

Looking at the options of the slmgr script, I found what I needed.

slmgr.vbs /skms <ip address>:<port number>

This tells the system where to look for the KMS and what port to use.

After the “OK” message, I simply attempted activation via:

slmgr.vbs /ato

The virtual machines activated.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: