Skip to main content

Check Activation Status

A robust Windows Powershell script to display the licensing status of Microsoft Windows and Office.

Author: abbodi1406
Github Repo: https://github.com/gravesoft/CAS


How to use it

  • Go to the Github repo.
  • Download the ZIP file by clicking on the "Code" button and selecting "Download ZIP".
  • Extract the ZIP file to a preferred location on your computer.
  • Run the cmd_launcher.cmd file located in the extracted folder.

Supported products

  • Windows Vista and later / Windows Server 2008 and later.
  • Office 2010 and later (MSI or C2R), installed on Windows XP and later.
  • Office UWP apps on Windows 10/11.
  • Windows and Office KMS Host (CSVLK), installed on Windows Server 2003 and later.

Features

  • Require Windows Powershell 2.0 at minimum
  • Practical replacement for slmgr.vbs functions /dli /dlv xpr
  • Shows the activation expiration date for supported products
  • Shows the ProductKeyChannel for Windows Vista / 7 / 8 primary installed key (available for uplevel Windows by default)
  • Shows the status of add-on licenses (Extended Security Updates, APPXLOB, OCUR..., etc)
  • Shows the status of Automatic VM Activation for Windows Server 2012 and later
  • Shows the status of Subscription Activation for Windows 11 24H2 and later
  • Implement vNextDiag.ps1 functions to detect Office vNext licenses (subscription or lifetime)
  • Implement Client Licensing Check tool for Windows 8 and later

Unsupported

Status of Token-based or Active Directory (AD) Volume Licensing.

Parameters

SwitchEffect
-IIDShow Offline Installation ID
-AllShow status for all IDs, regardless installed keys

License

The project is licensed under the terms of the MIT License.