How to Deactivate a Windows 11 License: What You Need to Know

Deactivating a Windows 11 license isn't a built-in menu option you'll find in Settings — and that confuses a lot of people. Microsoft doesn't offer a single "deactivate" button the way some software does. Instead, the process depends on your license type, your hardware situation, and what you plan to do next. Understanding the mechanics first saves a lot of frustration.

What "Deactivating" a Windows 11 License Actually Means

When people say they want to deactivate their Windows 11 license, they usually mean one of three things:

  • Transferring the license to a new PC
  • Unlinking the license from a Microsoft account
  • Removing the product key from a device before selling or wiping it

Windows doesn't have a traditional deactivation system because the license is tied to either your hardware fingerprint or your Microsoft account — depending on which license type you have. Knowing which applies to you changes everything about the process.

The Two Main License Types and How They Behave

License TypeTied ToTransferable?How to "Deactivate"
OEM LicenseSpecific hardware (motherboard)NoCannot be transferred; stays with the device
Retail LicenseMicrosoft account or product keyYesCan be removed and reused on another PC
Volume LicenseOrganization/IT infrastructureManaged by adminRequires enterprise tools (VAMT, KMS)
Digital License (linked to MS account)Microsoft accountLimitedUnlink via Microsoft account settings

OEM licenses — the kind that come pre-installed on laptops and pre-built desktops from manufacturers like Dell or HP — are permanently bound to that machine's motherboard. You can't move them. Deactivating in any meaningful sense isn't possible; when the hardware dies, so does the license.

Retail licenses are the transferable ones. These are purchased separately, either as a physical box or a digital download. They can be removed from one machine and installed on another.

How to Remove a Retail Product Key from Windows 11

If you have a retail license and want to release it from your current PC — for example, before selling the machine or before a clean install on new hardware — you can do this via Command Prompt.

Steps:

  1. Open Command Prompt as Administrator (search "cmd," right-click, select Run as administrator)
  2. Type the following command and press Enter:
slmgr /upk 

This uninstalls the product key from the current installation. The OS will revert to an unactivated state.

  1. To also clear the key from the license store (recommended before selling a device), run:
slmgr /cpky 

This removes the key from the registry so it can't be easily retrieved by someone else.

🔑 After running these commands, Windows 11 will still function temporarily but will show activation watermarks and restrict some personalization features.

How to Unlink a Digital License from Your Microsoft Account

If your Windows 11 license is a digital license linked to your Microsoft account, the process is different. Microsoft introduced the Devices section in your account settings to manage this.

Steps:

  1. Go to account.microsoft.com and sign in
  2. Navigate to Devices
  3. Find the PC you want to remove
  4. Select Remove device

Removing the device from your account doesn't automatically free the license for another machine, but it does sever the association — which matters when you're preparing to hand off or reset a device.

What Happens During a Hardware Upgrade

This is where things get more nuanced. If you replace a motherboard on a PC that had a digital license linked to your Microsoft account, Windows 11 may fail to reactivate automatically because the hardware fingerprint changes significantly. 🖥️

In this situation, Microsoft provides a troubleshooter path:

  1. Go to Settings > System > Activation
  2. Select Troubleshoot
  3. Choose the option indicating you recently changed hardware
  4. Sign in with the Microsoft account the license is linked to

This can reassociate the license with the new hardware — but it only works with retail or digital licenses tied to an account, not OEM licenses.

Enterprise and Volume Licensing Are a Different World

If you're working in a business environment using KMS (Key Management Service) or MAK (Multiple Activation Key) licensing, deactivation is handled through the Volume Activation Management Tool (VAMT) or by your IT administrator. Individual users in these environments typically don't manage license activation or deactivation directly — and attempting to do so with the commands above may conflict with your organization's deployment policy.

Variables That Determine Your Specific Situation

Several factors shape what's actually possible for any given user:

  • How Windows 11 was acquired — pre-installed, purchased separately, upgraded from Windows 10
  • Whether a Microsoft account is linked to the installation
  • Whether the license is OEM, retail, or volume
  • Whether hardware changes are involved — especially motherboard replacements
  • Whether the device is domain-joined or managed by an organization

Each combination leads to a meaningfully different set of options and limitations. A retail license on a personal machine gives you the most flexibility. An OEM license on a company-issued laptop gives you essentially none. Understanding where your license falls on that spectrum is the starting point for figuring out what steps — if any — are actually available to you. 🧩