SetKeyManagementServiceMachine method of the SoftwareLicensingService class

Sets the name of the key management service (KMS) machine to use for volume activation.

Syntax

uint32 SetKeyManagementServiceMachine(
  [in] string MachineName
);

Parameters

MachineName [in]

Specifies the name of the KMS machine.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
SppWmi.mof
DLL
SppWmi.dll

See also

SoftwareLicensingService