Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this page

Table of Contents
maxLevel5

...

Code Block
languagebat
themeMidnight
C:\WINDOWS\system32\slmgr.vbs /dli
PowerShell
Code Block
languagepowershell
themeRDark
PS> Get-CimInstance SoftwareLicensingProduct -Filter "Name like 'Windows%'" | 
where { $_.PartialProductKey } | select Name, Description, LicenseStatus

...

Code Block
languagevb
themeFadeToGrey
SELECT Name,Description,LicenseStatus FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL

Remediation

These commands may be run at an elevated command prompt, or via a remote management system.

...

Code Block
languagebat
themeMidnight
titleElevated Command Prompt
C:\WINDOWS\system32\slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
C:\WINDOWS\system32\slmgr.vbs /ato

Resources