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/dlvxpr - Shows the activation expiration date for supported products
- Shows the
ProductKeyChannelfor 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
| Switch | Effect |
|---|---|
| -IID | Show Offline Installation ID |
| -Dlv | Show IID, Rearm count, Trusted time, Product ID.. if available |
| -All | Show status for all IDs, regardless installed keys |
| -Pass | Skip 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.
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/dlvxpr - Shows the activation expiration date for supported products
- Shows the
ProductKeyChannelfor 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
| Switch | Effect |
|---|---|
| -IID | Show Offline Installation ID |
| -Dlv | Show IID, Rearm count, Trusted time, Product ID.. if available |
| -All | Show status for all IDs, regardless installed keys |
| -Pass | Skip 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.
Step-by-step overview
The "Check Activation Status" script provides a comprehensive, centralized method to assess the licensing state of your Microsoft Windows and Office products. Unlike the built-in slmgr.vbs utility, which can be somewhat limited and requires multiple commands, this PowerShell script offers a unified interface with richer detail and broader compatibility. Its primary goal is to present a clear, easy-to-read summary of your system's activation status without needing to remember complex command-line arguments.
To begin, you need to obtain the script from its official source. Navigate to the GitHub repository provided: https://github.com/gravesoft/CAS. On the repository page, locate the prominent "Code" button, typically green, and click on it. From the dropdown menu that appears, select "Download ZIP". This action will download a compressed archive containing all the necessary script files to your computer.
Once the download is complete, locate the downloaded ZIP file, usually in your browser's default downloads folder. Right-click on this ZIP file and choose an option like "Extract All" or "Unzip". Select a convenient location on your computer to extract the contents, such as your Desktop or a dedicated Tools folder. It's important to extract the files rather than trying to run them directly from within the ZIP archive.
After extraction, open the newly created folder. Inside, you will find several files, including cmd_launcher.cmd. This batch file is designed to launch the PowerShell script correctly, ensuring it runs with the necessary administrative privileges and correct execution policies without manual configuration. Double-click on cmd_launcher.cmd to execute it. A command prompt window will appear, which will then launch the PowerShell script. The script will automatically detect and display the activation status for all supported Windows and Office installations on your system. It consolidates information like product ID, license channel, expiration dates, and even details on add-on licenses, offering a more granular view than standard tools. This utility is invaluable for system administrators and users alike who need a quick, accurate, and detailed overview of their Microsoft product activations.
Frequently Asked Questions
What is the primary purpose of Check Activation Status?
The script's main purpose is to display the detailed licensing status of Microsoft Windows and Office products in a user-friendly format. It acts as a more powerful and informative alternative to the native slmgr.vbs command, consolidating various activation details into a single report.
Which Microsoft products are supported by this script?
It supports a wide range of products including Windows Vista and later, Windows Server 2008 and later, Office 2010 and later (MSI/C2R), Office UWP apps on Windows 10/11, and Windows/Office KMS Hosts on Windows Server 2003 and later. This comprehensive support makes it a versatile diagnostic tool.
How does this script differ from slmgr.vbs?
Check Activation Status offers a more detailed output than slmgr.vbs, displaying additional information such as product key channel for older Windows versions, add-on license statuses, and subscription activation details. It also consolidates information from multiple commands into one, streamlining the process.
Do I need administrator privileges to run the script?
Yes, the cmd_launcher.cmd file is designed to automatically elevate the script to administrator privileges, which are required to access and display licensing information. This ensures the script runs without permission errors and gathers all necessary data.
Can I use this tool to activate Windows or Office?
No, the "Check Activation Status" script is purely a diagnostic and information-gathering tool. Its sole function is to display existing activation statuses and related licensing details. It does not possess any capabilities to activate or modify product licenses.
What do the -IID and -Dlv parameters do?
The -IID parameter specifically shows the Offline Installation ID, useful for manual offline activation. The -Dlv parameter provides a more verbose output, including details like the Installation ID, rearm count, trusted time, and product ID, offering a deeper dive into the licensing state.
Related guides
Get MAS from the official project
This site does not host its own build of the scripts. The buttons below go to the project’s own repository and mirrors, so what you get is what the developers published.
PowerShell one-liner published by the project:
irm get.activated.win | iexCheck the domain before running it, and see how to verify what you run.
Activation tooling is routinely classified as riskware by antivirus software. That is expected for this category and is not by itself evidence of malware — nor proof that a particular copy is clean. Verify the source before running anything.