1

Although it's a simple matter to configure Active Directory activation on Windows Server 2016 once the VA role is installed using the GUI, I need a way to configure this from the command line or preferably from powershell, however, I can't seem to find any powershell modules for this role.

Has anyone done this before?

PS. I am not looking to set up a KMS host using slmgr.vbs. I need to install a KMS key for active directory activation as you can do in the Volume Activation Tools GUI.

  • slmgr.vbs is also used to manage MAK activation (at least on previous version, not sure on 2016) – JFL Mar 10 '17 at 8:57
  • @JFL I know, thanks, I'm not looking to do MAK activation, I'm looking to install a KMS key for active directory activation, not set up a KMS host. I'll clarify the question. – Ashigore Mar 10 '17 at 8:59
  • if using a volume licensing media for installation, it should be configured for this out of the box. Isn't it the case? – JFL Mar 10 '17 at 9:59
0

I eventually found out how you can do it, still using slmgr.vbs:

slmgr.vbs /ad-activation-online <kms key>

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.