DisableKeyManagementServiceActivation method of the SoftwareLicensingService class

Disables volume activation through KMS machine.

Syntax

uint32 DisableKeyManagementServiceActivation(
  [in] boolean DisableActivation
);

Parameters

DisableActivation [in]

Determines whether volume activation is disabled. If this parameter is set to 1, volume activation is disabled. If this parameter is set to 0, volume activation is enabled.

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