Compartilhar via


WMI Properties and Methods for Volume Activation

 

Applies To: Windows 10, Windows 8.1, Windows Server 2012 R2

Table 12 lists WMI properties and methods for the Software Protection Platform. Software Protection Platform properties are defined in the file %WinDir%\System32\wbem\sppwmi.mof.

Table 12. Software protection platform WMI properties and methods

//properties SoftwareLicensingService Class

Version 

KeyManagementServiceMachine 

OA3xOriginalProductKeyDescription

KeyManagementServicePort 

IsKeyManagementServiceMachine 

VLActivationInterval 

VLRenewalInterval 

KeyManagementServiceCurrentCount 

RequiredClientCount 

PolicyCacheRefreshRequired 

ClientMachineID 

RemainingWindowsReArmCount 

KeyManagementServiceListeningPort 

KeyManagementServiceDnsPublishing 

KeyManagementServiceLowPriority 

KeyManagementServiceHostCaching 

KeyManagementServiceUnlicensedRequests 

KeyManagementServiceLicensedRequests 

KeyManagementServiceOOBGraceRequests 

KeyManagementServiceOOTGraceRequests 

KeyManagementServiceNonGenuineGraceRequests 

KeyManagementServiceNotificationRequests 

KeyManagementServiceTotalRequests 

KeyManagementServiceFailedRequests 

KeyManagementServiceActivationDisabled 

//methods SoftwareLicensingService Class

InstallProductKey 

InstallLicense 

InstallLicensePackage 

SetKeyManagementServiceMachine 

ClearKeyManagementServiceMachine 

SetKeyManagementServicePort 

ClearKeyManagementServicePort 

SetVLActivationInterval 

SetVLRenewalInterval 

ClearProductKeyFromRegistry 

AcquireGenuineTicket 

ReArmWindows 

RefreshLicenseStatus 

SetKeyManagementServiceListeningPort 

ClearKeyManagementServiceListeningPort 

DisableKeyManagementServiceDnsPublishing 

EnableKeyManagementServiceLowPriority

DisableKeyManagementServiceHostCaching 

DisableKeyManagementServiceActivation 

DiscoveredKeyManagementServiceMachineName 

DiscoveredKeyManagementServiceMachinePort 

GenerateActiveDirectoryOfflineActivationId

DepositActiveDirectoryOfflineActivationConfirmation

DoActiveDirectoryOnlineActivation

SetVLActivationTypeEnabled

ClearVLActivationTypeEnabled

//properties SoftwareLicensingProduct Class

ID

Name

Description

ApplicationID

ProcessorURL

MachineURL

ProductKeyURL

UseLicenseURL

LicenseStatus

LicenseStatusReason

GracePeriodRemaining

EvaluationEndDate

OfflineInstallationId

PartialProductKey

ProductKeyID

LicenseFamily

LicenseDependsOn

LicenseIsAddon

VLActivationInterval

VLRenewalInterval

KeyManagementServiceProductKeyID

KeyManagementServiceMachine

KeyManagementServicePort

DiscoveredKeyManagementServiceMachineName

DiscoveredKeyManagementServiceMachinePort

IsKeyManagementServiceMachine

KeyManagementServiceCurrentCount

RequiredClientCount

KeyManagementServiceUnlicensedRequests

KeyManagementServiceLicensedRequests

KeyManagementServiceOOBGraceRequests

KeyManagementServiceOOTGraceRequests

KeyManagementServiceNonGenuineGraceRequests

KeyManagementServiceTotalRequests

KeyManagementServiceFailedRequests

KeyManagementServiceNotificationRequests

GenuineStatus

ExtendedGrace

TrustedTime

DisableKeyManagementServiceHostCaching

VLActivationType

VLActivationTypeEnabled

ADActivationObjectName

ADActivationObjectDN

ADActivationCsvlkPid

ADActivationCsvlkSkuId

// methods SoftwareLicensingProduct Class

UninstallProductKey

Activate

DepositOfflineConfirmationId

GetPolicyInformationDWord

GetPolicyInformationString

SetKeyManagementServiceMachine

ClearKeyManagementServiceMachine

SetKeyManagementServicePort

ClearKeyManagementServicePort

SetVLActivationTypeEnabled

ClearVLActivationTypeEnabled

See also