summaryrefslogtreecommitdiff
path: root/docs/check_activation_status.md
blob: 9de630b11728d790be0d433b5da21db8612a1f3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Check Activation Status

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

**Author:** [abbodi1406](https://github.com/abbodi1406)  
**Github Repo:** https://github.com/gravesoft/CAS  

---

How to use it
-------------

- Go to the [Github repo](https://github.com/gravesoft/CAS).
- 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 <a href="https://github.com/asdcorp/clic" target="_blank">Client Licensing Check</a> 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.