Skip to content
shiroinekotfs edited this page Aug 21, 2025 · 3 revisions

License Manager

CodeQL

License Manager is free, open-source software managing Windows and Office licenses of local or remote computers. It also integrates Volume License Management Client Service for testing the KMS server and open a local KMS server.

Original Contributors

Contributor Description
Hotbird64 Original developer of License Manager
Nang Contributor of License Manager database
shiroinekotfs Contributor License Manager
anhvlt-2k6 Contributor License Manager

Usage

Main Window

When first open up the License Manager, you will see a window like this.

License Manager Main Window
License Manager Main Window

  1. License Manager sub-tools.
  2. Basic information about your computers, such as Computer Name, user name that is currently connecting, and currently selected product
  3. Your license information, including the SKU ID, Application ID, Phone Installation ID and Extended Product ID.
  4. Your machine information
  5. The status bar

Managing external computers

To connect and managing license of external computers (such as Windows Server Core), you can go to File > Connect to Another Computer.

A small dialog will display to prompt for the target computer. You can go enter the computer name, an IP address, or the FQDN; and if there is any credential changes recently, tick the checkbox Change Credentials.

Connect to Another Computer dialog
Connect to Another Computer dialog

⚠️

It is recommended that, if you are signed-in with the administrator account of the local Active Directory, and want to connect to a server, you should leave the checkbox Change Credentials empty.

Loading external database

When a new database is released though the community, you don't have to download a whole new version of License Manager. Go to File > Load Custom KMS Database

Install a Generic Key

To install a Generic Key the Key > Check or install a Generic Key or on the top bar Install a Generic Key. It will appear a new dialog that show a list of product keys available in the License Manager key database.

Install a Generic Key dialog
Install a Generic Key dialog

In the dialog, there are 3 main type of keys

  1. Store license keys - mostly are retail or KMS Host keys
  2. User-generated GVLKs are unverified by Microsoft, therefore the ability to activate using KMS host is unknown.
  3. Genuine GVLKs are the Microsoft's published product keys on Microsoft Learn

Once you select the right product key for your license, click on the Check button. It will show the detailed version of your key, including Product Key Applies for, Product Name, SKU ID, Edition, License (Type), and other information.

Check the Product Key
Check the Product Key

You can either click Check Online (to check if the MAK can be activated with Microsoft service) or Install Key into the system.

⚠️ Note

The Generic Key (GLVK) are designed to be activated with local KMS host, not with the online Microsoft server. You can may an error of "This is not an EPID that has multiple online activations"

Error with Check Online

Install multiple Generic Keys

If applicable, License Manager will (automatically) decide which keys are available to be installed in your system.

⚠️ Note

You can install multiple licenses for Office, but not Windows.

Install multiple GLVK
Install multiple GLVK

View system keys

You can see some product keys embed in your system by OEM in Key > Show your current System Keys

View system keys
View system keys

Activate the License

Once you have installed your product key, you can activate by click the Activate button or Product > Activate

⚠️ Note

If you have installed a Generic Volume Key, please configure your target activation server.

  • If your computer is in a Active Directory domain, and has a KMS host available, please configure the Detected KMS Domain, otherwise configure the Override KMS Host data with the server and its port.
  • If you are the Active Directory administrator, your domain has a KMS host, and you want to configure automatically detection service (mostly for load balancing), read how to configure the DNS server of your domain

Activate the License using custom KMS Host

You can also configure this setting globally. Please read in Configure Windows Software Protection Service (For advanced users)

Uninstall a Product Key

⚠️ Note

If you want to purge the current license status, this feature will not help. Please see in reloading the licenses

To uninstall a license, select the current license of the drop bar, then select the Uninstall Product Key in Product

Find a Product Detail by using EPID, SKU, or Product Key

⚠️ Note

Use this method when you want to install a product key that does not exist in the License Manager database, by click the Install Key button after you verify the key.

To view detail information about the EPID, SKU, or Product Key, select Product > Product Finder/Key Checker or Product Finder

Get Confirmation ID Online (For advanced users)

⚠️ Note

This feature only can get the local IID and EPID. If you want to use the get the external ID, please use the Manual

Get Confirmation ID Online
Get Confirmation ID Online

To get the confirmation without calling the Microsoft dispatch service, go to Product > Get Confirmation ID or Product > Get Confirmation ID (Manual). Make sure the computer that send the request is CONNECTED to the Internet. Otherwise it will not send/get request to the service.

After get the Confirmation ID, you can either ether use slui 4 or slmgr /atp <Your Confirmation ID>

Configure Windows Software Protection Service (For advanced users)

Configure Windows Software Protection Service
Configure Windows Software Protection Service

Configure Windows Software Protection Service may help you in case of

  • The service is irresponsible with the changes apply into (e.g. after upgrade from Home to Pro): Service > Reload or Service > Restart
  • The service need to be purged all licenses because of any reasons: Service > Rearm
  • Start and Stop the service: Service > Start or Service > Stop
  • Installing new license for Windows: File > Install License Files

By default, the KMS Host Statistics will be shown, even you are not configured the KMS host. You can turn off this in View > Show Invalid, Unsupported and Empty Fields

⚠️ Note

  • If your computer is in a Active Directory domain, and has a KMS host available, please configure the Detected KMS Domain, otherwise configure the Override KMS Host data with the server and its port.
  • If you are the Active Directory administrator, your domain has a KMS host, and you want to configure automatically detection service (mostly for load balancing), read how to configure the DNS server of your domain

Load an extension (For advanced users)

In License Manager, external extension is the libkms32 (for License Manager 32-bit) or libkms64 (for License Manager 64-bit). It allows hosting a local KMS server, or testing a KMS Server.

You can obtain the libkms in the Volume License Management Service binaries or build it by yourself from source

KMS Host on License Manager
Hosting a KMS Server using License Manager and libkms
KMS Host on License Manager
Testing a KMS Host using License Manager and libkms

Export database (For advanced users)

In Export SKU and KMS IDs or Tools > Export SKU and KMS IDs, you can export the database for various applications, such as Volume License Management Service (in .kmd or the internal database in C programming language), py-kms, or other License Manager applications.

Export format File extension Description
VLMCSD .kmd This format used by vlmcsd, as the external (add-on) database
py-kms classic .txt This format used by py-kms (KMS for Python 2)
Generic C/C++/C# .txt, .c, .cpp, .h, .hpp, .cs This format helps developers to modify the vlmcsd source code
License Manager database, py-kms .xml This format used by License Manager

Depends in your case, you can select Options for encoding or readability.

Export database
Export database

Activation Error Codes

Error code Error message Activation type
0x8007000D The KMS host you are using cannot handle your product. It only supports legacy versions. KMS client
0x8004FE21 This computer is not running genuine Windows. MAK/KMS client
0x80070005 Access denied. The requested action requires elevated privileges. MAK/KMS client/KMS host
0x8007007b DNS name does not exist. KMS client
0x80070490 The product key you entered didn't work. Check the product key and try again, or enter a different one. MAK
0x800706BA The RPC server is unavailable. KMS client
0x8007232A DNS server failure. KMS host
0x8007232B DNS name does not exist. KMS client
0x8007251D No records found for DNS query. KMS client
0x80092328 DNS name does not exist. KMS client
0xC004B100 The activation server determined that the computer could not be activated. MAK
0xC004C001 The activation server determined the specified product key is invalid MAK
0xC004C003 The activation server determined the specified product key is blocked MAK
0xC004C008 The activation server determined that the specified product key could not be used. KMS
0xC004C020 The activation server reported that the Multiple Activation Key has exceeded its limit. MAK
0xC004C021 The activation server reported that the Multiple Activation Key extension limit has been exceeded. MAK
0xC004F009 The Software Protection Service reported that the grace period expired. MAK
0xC004F00F The Software Licensing Server reported that the hardware ID binding is beyond level of tolerance. MAK/KMS client/KMS host
0xC004F014 The Software Protection Service reported that the product key is not available MAK/KMS client
0xC004F02C The Software Protection Service reported that the format for the offline activation data is incorrect. MAK/KMS client
0xC004F035 The Software Protection Service reported that the computer could not be activated with a Volume license product key. KMS client/KMS host
0xC004F038 The Software Protection Service reported that the computer could not be activated. The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator. KMS client
0xC004F039 The Software Protection Service reported that the computer could not be activated. The Key Management Service (KMS) is not enabled. KMS client
0xC004F041 The Software Protection Service determined that the Key Management Server (KMS) is not activated. KMS needs to be activated. KMS client
0xC004F042 The Software Protection Service determined that the specified Key Management Service (KMS) cannot be used. KMS client
0xC004F050 The Software Protection Service reported that the product key is invalid. MAK/KMS/KMS client
0xC004F051 The Software Protection Service reported that the product key is blocked. MAK/KMS
0xC004F064 The Software Protection Service reported that the non-genuine grace period expired. MAK
0xC004F065 The Software Protection Service reported that the application is running within the valid non-genuine period. MAK/KMS client
0xC004F06C The Software Protection Service reported that the computer could not be activated. The Key Management Service (KMS) determined that the request timestamp is invalid. KMS client
0xC004F074 The Software Protection Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information. KMS client

Clone this wiki locally