Home Reference WMI Reference root CIMV2 SoftwareLicensingService
 

SoftwareLicensingService

This class exposes product-independent properties and methods of the Software Licensing service.

Quick Start

Properties

In this WMI class, all WMI properties are read-only. You can only read values but not change them.

ClientMachineID

Data type String

The GUID that identifies a KMS client to a KMS host. The client includes this in requests it sends to the KMS.

DiscoveredKeyManagementServiceMachineIpAddress

Data type String

Last discovered KMS host IP address through DNS.

DiscoveredKeyManagementServiceMachineName

Data type String

Last discovered KMS host name through DNS.

DiscoveredKeyManagementServiceMachinePort

Data type UInt32

Last discovered KMS host port through DNS.

IsKeyManagementServiceMachine

Data type UInt32

Indicates whether KMS is enabled on the computer: 0 if $false, 1 if $true.

KeyManagementServiceCurrentCount

Data type UInt32

The count of currently active KMS clients on the KMS host. -1 indicates the computer is not enabled as a KMS, or has not received any client licensing-requests.

KeyManagementServiceDnsPublishing

Data type Boolean

Indicates the DNS publishing status of a KMS host: 0=Disabled, 1=Auto publish enabled (default).

KeyManagementServiceFailedRequests

Data type UInt32

The count of invalid KMS requests.

KeyManagementServiceHostCaching

Data type Boolean

Indicates the caching status of KMS host name and port: 0=Caching disabled, 1=Caching enabled (default).

KeyManagementServiceLicensedRequests

Data type UInt32

The count of KMS requests from clients with License Status=1 (Licensed).

KeyManagementServiceListeningPort

Data type UInt32

The TCP port the KMS host uses to listen for activation requests.

KeyManagementServiceLookupDomain

Data type String

The FQDN of the resource domain containing the KMS SRV records for the org. Returns null if SetKeyManagementServiceLookupDomain has not been called.

KeyManagementServiceLowPriority

Data type Boolean

Indicates the thread priority status of KMS service: 0=Normal Priority (default), 1=Low priority.

KeyManagementServiceMachine

Data type String

The name of the KMS host. Returns null if SetKeyManagementServiceMachine has not been called.

KeyManagementServiceNonGenuineGraceRequests

Data type UInt32

The count of KMS requests from clients with License Status=4 (NonGenuineGrace).

KeyManagementServiceNotificationRequests

Data type UInt32

The count of KMS requests from clients with License Status=5 (Notification).

KeyManagementServiceOOBGraceRequests

Data type UInt32

The count of KMS requests from clients with License Status=2 (OOBGrace).

KeyManagementServiceOOTGraceRequests

Data type UInt32

The count of KMS requests from clients with License Status=3 (OOTGrace).

KeyManagementServicePort

Data type UInt32

The TCP port used by clients to send KMS-activation requests. Returns 0 if SetKeyManagementServicePort has not been called.

KeyManagementServiceProductKeyID

Data type String

KMS product key ID. Returns null if not applicable.

KeyManagementServiceTotalRequests

Data type UInt32

The total count of valid KMS requests.

KeyManagementServiceUnlicensedRequests

Data type UInt32

The count of KMS requests from clients with License Status=0 (Unlicensed).

OA2xBiosMarkerMinorVersion

Data type UInt32

Minor version number of the OA2 BIOS marker.

OA2xBiosMarkerStatus

Data type UInt32

Status of the OA2 BIOS marker. 0=No SLIC table, 1=SLIC table with Windows marker, 2=SLIC table without Windows marker, 3=Corrupted or invalid SLIC table

OA3xOriginalProductKey

Data type String

Product key from the OA3 BIOS marker.

PolicyCacheRefreshRequired

Data type UInt32

Indicates whether the licensing policy-cache needs to be updated: 0=not required, 1=Refresh required.

RemainingWindowsReArmCount

Data type UInt32

Remaining number of times the client can be rearmed successfully.

RequiredClientCount

Data type UInt32

The minimum number of clients required to connect to a KMS host in order to enable volume licensing.

TokenActivationAdditionalInfo

Data type String

Additional information for token-based activation.

TokenActivationCertificateThumbprint

Data type String

Thumbprint of the certificate that activated the machine.

TokenActivationGrantNumber

Data type UInt32

Grant number in the token-based activation license that activated the machine.

TokenActivationILID

Data type String

ID of the token-based activation license that activated the machine.

TokenActivationILVID

Data type UInt32

Version of the token-based activation license that activated the machine.

Version

Data type String

Version of the Software Licensing service

VLActivationInterval

Data type UInt32

The frequency, in minutes, of how often a client will contact the KMS host before the client is licensed.

VLRenewalInterval

Data type UInt32

The frequency, in minutes, of how often a client will contact the KMS host after the client is licensed.

Methods

Examples

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:31:09 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin