Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Manage Windows Product key with Software Licensing Manager
  • screenshot 2020 02 08 at 17.23.28
    How to disable Password Change for all Exchange Server Users Network | Monitoring
  • IIS Installed
    Add and remove IIS Web Server on Windows Server 2019 via the Server Manager and PowerShell Web Server
  • maxresdefault
    How to fix Error reading setup initialization file Windows
  • Slide2 2
    Oracle VirtualBox: Installing Windows 11 without TPM Support Virtualization
  • Featured image   Network Access Permission...
    Fix You Might Not Have Permission to Use This Network Resource Error Network | Monitoring
  • Featured image IE mode.
    How to Enable Internet Explorer Mode in Edge in Windows 11 Windows
  • Startup delay mbam
    Force immediate MBAM Encryption: Why does the MBAM Agent delay most times in encrypting devices? Windows
  • fixzoomaudioissue
    How to fix unable to access microphone on Zoom JIRA|Confluence|Apps

Manage Windows Product key with Software Licensing Manager

Posted on 07/01/202113/08/2025 Christian By Christian No Comments on Manage Windows Product key with Software Licensing Manager

In this article, we shall discuss how to Manage Windows Product key with Software Licensing Manager. Activation is the process by which your Windows device is licensed and considered genuine. Activation helps verify that your copy of Windows is genuine and hasn’t been used on more devices than the Microsoft Software License Terms permit. See the following guide on how to find your Windows 10 Product key and how to replace your windows license via the Graphical User Interface (GUI), “check Windows 10 activation status and change your product key“.

Moreover, the Software Licensing Management Tool (slmgr) commands are used to enable advanced Windows activation tasks (change, manage, uninstall, or install) your product key. See this guide on other methods to find your Windows product key, how to activate DriveLock License on Windows Server, and how to find your Windows 10 Product key.

Software Licensing Management Commands

The “slmgr” is a Visual Basic Script (VBScript) in Windows. Its main purpose is for volume activation. The following figure below describes the syntax of the slmgr.vbs script.

Please see Windows License Transfer Guide: Windows 10 and 11, how to Check Windows Activation Status and troubleshoot activation errors, and Different ways to check for Ansible syntax errors.

Slmgr ipk

To begin, “Ipk” means “Install Product Key.” If your goal is to activate Windows through the command-line, you can achieve this by executing the syntax “Slmgr -ipk” followed by your product key.

In order to proceed, launch the Windows Command Prompt with Administrative rights as demonstrated below. Since our objective is to utilize the command prompt for tasks such as installing, managing, and uninstalling Windows product keys, it’s crucial to follow these steps.

open command prompt

This will open the command line interface. Here, you can enter the command along with your product key as demonstrated below.

Press enter when you are done. At this point, you should receive a prompt indicating whether the product key status is valid or invalid.

Slmgr-ipk {your product key)

Slmgr dlv

After running the above command “Slmgr -ipk” to activate Windows, you can run the “Slmgr dlv” to see whether your Windows license is activated.

If this is the case, the window that opens shows the entry Licensed under License status. To do this, launch the command prompt with Admin privileges.

Slmgr dlv in command Prompt

Also, see how to fix “Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server“, and how to enable Amazon S3 default bucket encryption using S3 Console.

Slmgr dti

In the course of no internet connection or you are working in an isolated environment and you wish to activate your Windows PC, this can be achieved with the “slgmr -dti” command.

This will ensure your Windows is activated offline without an Internet connection. To do this, enter the command in the command prompt with administrator privilege as shown below.

Slmgr dti in command Prompt

Slmgr upk

You can also uninstall Windows keys using the slmgr.vbs script. This is useful if you want to transfer the key from one PC to another.

Slmgr upk

Extend (delay) Windows activation

Slmgr rearm

The command can be used to extend (delay) Windows activation. As described in the table above, it resets the evaluation period and licensing status, and activation state of the computer. To do this, launch the Windows Command Prompt with Administrative rights

In the Command Prompt Window, please enter the following key: slmgr -rearm

Command successfully completed

You will have to restart your system in order for the changes to take effect. This command can be run about 3 times consecutively after the original activation period has expired and this amounts to a period of 120 days.

Windows license valid for 10 days
Windows license valid for 10 days
Restart Windows
Restart Windows
Windows license valid for 180 days
Windows license valid for 180 days

Slmgr -xpr

To display the expiration date of the current license, run the following command. This information is specifically relevant to a Windows system activated through an organization’s KMS (Key Management Service) server.

Retail licenses and multiple activation keys typically result in a perpetual license that doesn’t expire.

However, as you can see below, I do not have a license, and my Windows is currently in “Notification Mode”. This situation implies that the Windows system has entered a “grace period,” and it’s currently running without full activation. For a solution, see Slmgr rearm above for how to extend your license validity.

In contrast, on my second device, I have an Evaluation license and you can see the expiry date as shown below.

Screenshot-2021-09-01-at-21.02.51

Slmgr /dli

Upon executing the command, this will display the current license information with activation status and partial product key as shown below.

However, it’s important to note that, as you can see below, I do not have a license, and my Windows is currently in “Notification Mode”.

This situation indicates that the Windows system has entered a “grace period,” and it’s currently running without full activation.

Perform slmgr (Windows Activation) actions on remote devices

You can also remotely administer computers on your network by using the following syntax below. It’s important to note that the square brackets [] enclose optional arguments, and angle brackets <> enclose placeholders.

When you type these statements, omit the brackets and replace the placeholders with your values. The following figure below describes the syntax of the slmgr.vbs script. Feel free to utilize any syntax of your choice.

slmgr.vbs [<ComputerName> [<User> <Password>]] [<Options>]
slmgr.vbs computername username password /option

I am certainly not sure if the image above did a good in explaining these commands, kindly see the following table below for more slmgr syntax.

The slmgr syntax to manage Windows product key

Some slmgr syntax
ItemExplanation
MachineNameThe machine to administer. Defaults to the local machine if omitted.
usernameThe username of an administrator account on the remote machine.
passwordThe password for username.
/atoActivate Windows license and product key against Microsoft’s server.
/atp Confirmation_IDActivate the product with a user-provided Confirmation_ID. 
/cdnsDisable DNS publishing by the KMS host.
/ckhcDisable KMS host caching.
/ckmsClear the name of KMS server used to default and port to default.
/cpkyDelete the Windows product key from Windows Registry.
/cpriSet the KMS priority to low.
/dliDisplay the current license information with activation status and partial product key.
/dlvDisplay additional license information. Similar to /dli but more detailed.
/dtiDisplay Installation ID for offline activation.
/ipk keyChange the Windows product key. Replaces the current product key if present.
/ilc fileInstall a license file.
/rilc Reinstall system license files.
/rearmReset the evaluation period/licensing status and activation state of the computer. Use /rearm-app to specify an app, or /rearm-sku for a specific sku.
/skmsSet the Volume Licensing KMS server and/or the port used for KMS activation.
/skhcEnable KMS host caching (enabled by default). This blocks the use of DNS priority and weight after the initial discovery of a working KMS host.
/sai intervalSets the interval in minutes for unactivated clients to attempt KMS connection.
/spriSet the KMS priority to normal (default).
/sprt portSet the port on which the KMS host listens for client activation requests (default TCP port is 1688).
/sdnsEnable DNS publishing by the KMS host (default).
/upkUninstall the currently installed Windows product key and return the license status back to a trial state.
/xprShow the expiry date of the current license or indicate whether activation is permanent.

I hope you found this blog post on how to Manage Windows Product key with Software Licensing Manager helpful. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Licensing, Microsoft Windows, SLMGR, Software Licensing Management, Windows 10, Windows 11, Windows Activation, Windows Key Activation, Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows Server 2025, Windows server Activation

Post navigation

Previous Post: How to fix Error reading setup initialization file
Next Post: Veles Software: MPA Tools Review and Product Details

Related Posts

  • mbamreports
    Email notifications for MBAM Enterprise and Compliance and Recovery Audit reports Windows
  • maxresdefault
    How to remove a Printer from Windows 10 via PowerShell, Windows registry and Print Management Windows
  • why use bitlocker drive encryption.width 800
    This device cannot use a Trusted Platform Module, allow BitLocker without a compatible TPM when turning on Bitlocker Windows
  • diagnose
    How to Diagnose a Windows Hardware Issue Windows
  • MDt
    Failure 5456: Unable to determine destination disk, partition, and/or drive, see BDD Log Windows
  • Feature image   Hiren's boot
    Recover your data after system failure with Hiren’s boot Backup

More Related Articles

mbamreports Email notifications for MBAM Enterprise and Compliance and Recovery Audit reports Windows
maxresdefault How to remove a Printer from Windows 10 via PowerShell, Windows registry and Print Management Windows
why use bitlocker drive encryption.width 800 This device cannot use a Trusted Platform Module, allow BitLocker without a compatible TPM when turning on Bitlocker Windows
diagnose How to Diagnose a Windows Hardware Issue Windows
MDt Failure 5456: Unable to determine destination disk, partition, and/or drive, see BDD Log Windows
Feature image   Hiren's boot Recover your data after system failure with Hiren’s boot Backup

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • screenshot 2020 02 08 at 17.23.28
    How to disable Password Change for all Exchange Server Users Network | Monitoring
  • IIS Installed
    Add and remove IIS Web Server on Windows Server 2019 via the Server Manager and PowerShell Web Server
  • maxresdefault
    How to fix Error reading setup initialization file Windows
  • Slide2 2
    Oracle VirtualBox: Installing Windows 11 without TPM Support Virtualization
  • Featured image   Network Access Permission...
    Fix You Might Not Have Permission to Use This Network Resource Error Network | Monitoring
  • Featured image IE mode.
    How to Enable Internet Explorer Mode in Edge in Windows 11 Windows
  • Startup delay mbam
    Force immediate MBAM Encryption: Why does the MBAM Agent delay most times in encrypting devices? Windows
  • fixzoomaudioissue
    How to fix unable to access microphone on Zoom JIRA|Confluence|Apps

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.