Windows License Information - superseded
5 Votes |
Versioning - This is an older version.
1 | Windows License Information | 1/11/2020 1:21:06 PM |
2 | Windows License Information | 1/14/2021 7:32:22 PM |
Description
Reports Windows Licensing Information, majority of what is shown when running the command slmgr /dli. Includes information about Windows 7 ESU Licensing.
- License Name
- Description
- Partial Product Key
- License Status
- License Family
- KMS Server DNS Name
- KMS Server Port
- KMS Server IP Address
- KMS machine extended PID
- Activation Interval
- Renewal Interval
Property Details
2998601 | |
Production - Fully Tested and Ready for Production | |
Windows License Information | |
BESC | |
windows, license, information, kms, activation, renewal, interval, product key, description, license name | |
nathan on 1/11/2020 1:21:06 PM | |
nathan on 1/11/2020 1:21:06 PM | |
2564 Views / 54 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Properties
Windows License Status
Period
12 hours
* Results in a true/false |

if ((select "LicenseStatus from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi) as string contains "1") then "Licensed" else "Not Licensed"
Windows License Name
Period
12 hours
* Results in a true/false |

string value of select "Name from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Activation KMS Server DNS Name
Period
12 hours
* Results in a true/false |

string value of select "DiscoveredKeyManagementServiceMachineName from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Family
Period
12 hours
* Results in a true/false |

string value of select "LicenseFamily from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Activation KMS Server IP Address
Period
12 hours
* Results in a true/false |

(string value of select "DiscoveredKeyManagementServiceMachineIpAddress from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi) | "No IP Address Reported"
Windows License Activation Interval
Period
12 hours
* Results in a true/false |

string value of select "VLActivationInterval from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Renewal Interval
Period
12 hours
* Results in a true/false |

string value of select "VLRenewalInterval from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License KSM machine extended PID
Period
12 hours
* Results in a true/false |

string value of select "KeyManagementServiceProductKeyID from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Activation KMS Server Port
Period
12 hours
* Results in a true/false |

string value of select "KeyManagementServicePort from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Partial Product Key
Period
12 hours
* Results in a true/false |

string value of select "PartialProductKey from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License Description
Period
12 hours
* Results in a true/false |

string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')" of wmi
Windows License ESU Name
Period
12 hours
* Results in a true/false |

string value of select "Name from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU%25')" of wmi | "No ESU License"
Windows License ESU Description
Period
12 hours
* Results in a true/false |

string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU%25')" of wmi | "No ESU License"
Windows License ESU Partial Product Key
Period
12 hours
* Results in a true/false |

string value of select "PartialProductKey from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU%25')" of wmi | "No ESU License"
Windows License ESU Status
Period
12 hours
* Results in a true/false |

(if ((string value of select "LicenseStatus from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU%25')" of wmi) as string contains "1") then "Licensed" else "Not Licensed" ) | "No ESU License"
Relevance
Sharing
Social Media: |
Comments
![]() |
|
Updated separate Year 1 and Year 2 ESU license information. |