Cart0

Windows · activation · 11 min read

How to Activate Windows 11: Product Key and Digital License

Updated

How to Activate Windows 11: Product Key and Digital License

Short answer: To activate Windows 11, open Settings, then System, then Activation. Press Change next to Change product key and type the 25 characters. No key because the PC has a digital license? Sign in with your Microsoft account and it activates by itself once it's online.

Short version of how to activate Windows 11: Settings, System, Activation, then Change product key. Type the 25 characters and you’re done. A PC that already carries a digital license doesn’t even need that. It activates by itself the first time it goes online.

Real life is messier. A new motherboard, a wrong edition, a key that won’t take. So we’ll go through both routes, the commands, and the error codes that come up most often.

Your situation What to do
You have a 25-character key Settings, System, Activation, Change product key
The PC came with Windows 11 Go online; the digital license activates it
You bought the upgrade in the Microsoft Store Sign in with the same Microsoft account
You changed the motherboard Activation troubleshooter, the hardware change option
No internet on that PC Installation ID and the Product Activation Portal
An error code shows Find the code in the table further down

How to activate Windows 11 with a product key

Two minutes, if the key matches the edition. You need an administrator account and an internet connection.

  1. Open Settings. Win + I is the quick way.
  2. Go to System, then Activation.
  3. Find the line Change product key and press Change.
  4. Type the 25 characters. The dashes fill in by themselves.
  5. Press Next, then Activate.
  6. Wait for the line “Windows is activated”. It usually shows within a minute.
Illustration of the Windows 11 Settings path System, Activation, Change product key with four steps to activate Windows 11 with a key
Illustration: the Windows 11 Settings path to the product key field and the four steps that follow.

Prefer a shortcut? Press Win + R and paste this. It opens the Activation page directly.

ms-settings:activation

One thing before you type. The key has to match the edition that’s installed. A Pro key on a Home install switches the PC to Pro after a restart. A Home key on a Pro install won’t activate it. Not sure which edition you have? Settings, System, About, and read the Edition line.

Product key or digital license

Two ways a PC proves it’s paid for. Microsoft’s wording, shortened: a product key is the 25-character code, and a digital license activates the PC without one.

Product key Digital license
What it is A 25-character code A license associated with your hardware, with no code to enter
You get it with A boxed or digital retail copy, a new or refurbished PC, volume licensing A free upgrade from an eligible device, a Microsoft Store purchase
What you type The key Nothing
After a reinstall Enter the key again Skip the key; the PC activates once it’s online
Microsoft account Not involved Can be linked, which helps after a hardware change
Table comparing a Windows 11 product key and a digital license: what it is, how you get it, what you type, reinstall and Microsoft account
Illustration: a Windows 11 product key is typed in, while a digital license activates the PC without one.

Which one do you have? The Activation page tells you. Open it and read the exact wording of the status line.

The line says In plain words
Windows is activated Activated. No Microsoft account linked
Windows is activated with a digital license Activated by a digital license, account not linked
Windows is activated with a digital license linked to your Microsoft account Activated, and your account can bring the license back after a hardware change
Windows is not activated Nothing valid yet; an error code usually sits below

Microsoft Helps has a short video on licenses and activation. Under three minutes, and worth it before a reinstall.

Understanding Windows licenses and activation Watch on YouTube

Linking the license to your Microsoft account

Do this before you ever swap a motherboard. It takes a minute, and it’s the step people wish they’d done.

  1. Sign in to the PC as an administrator.
  2. Settings, Accounts, Your info. The administrator account has to be a Microsoft one.
  3. Go back to Settings, System, Activation.
  4. Press Add an account and sign in.

The status line then ends with “linked to your Microsoft account”. That’s the one you want to see.

Entering the key during a clean install

Setup asks for the key early. Two choices on that screen.

On the setup screen What happens
You type the key Setup installs the matching edition, and the PC activates once it’s online
You press “I don’t have a product key” You pick the edition yourself, finish the install and enter the key later in Settings

Reinstalling on a PC with a digital license? Skip the key and pick the same edition as before. Pick the wrong one and it won’t activate. Our Windows 11 new PC setup guide walks through the whole install.

Activate Windows 11 with the Activation troubleshooter

It only shows up when the PC isn’t activated. You’ll find it on the Activation page, under Troubleshoot, and you need an administrator account to run it.

It handles What it does
A Pro license on a Home install Offers the upgrade to Pro
A Home license on a Pro install Offers to install Home
A digital license that hasn’t activated yet Tries the activation again
A hardware change Lets you pick this PC from your Microsoft account

The hardware one matters most. After a new motherboard it goes like this:

  • Choose “I changed hardware on this device recently”.
  • Sign in with the linked Microsoft account.
  • Tick “This is the device I’m using right now”.
  • Press Activate.

It needs the same account and the same edition as before. Moving the license to a different computer is another job, covered in how to transfer a Windows license to a new PC.

Commands that activate Windows 11

For a PC with a broken Settings app. Or for twenty PCs. Open Terminal or Command Prompt as administrator first.

Three lines. The first installs the key, the second activates online, the third shows what you’ve got.

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato
slmgr /dli
Command What it does Administrator window
slmgr /ipk Installs a key and silently replaces the one that’s there Needed
slmgr /ato Attempts online activation Needed
slmgr /dli Shows basic license information: edition, channel, last five characters of the key, status Not needed
slmgr /dlv Shows detailed license information Not needed
slmgr /xpr Shows the activation expiration date; mostly useful for KMS clients, because retail and MAK activation is perpetual Not needed

A healthy retail install answers the last command with License Status: Licensed and a RETAIL channel line. Anything else, and we’d read the error code before trying again.

Activate Windows 11 with no internet on that PC

Phone activation has changed. The PC may still show a phone number, and Microsoft now says not to call it. The Product Activation Portal replaced the call. The PC itself can stay offline. Setting up a brand-new PC with no connection at all? Our page on installing Windows 11 without internet covers the local-account step. Phone, laptop, anything with a browser does the portal part.

  1. On the offline PC, open Settings, System, Activation and choose Automated Help. Recent Windows 11 builds show the Installation ID there.
  2. On any device with internet, open the Product Activation Portal and sign in.
  3. Choose Activate a Microsoft Product, then Windows, then Windows 11.
  4. Type the Installation ID. The portal returns a Confirmation ID.
  5. Back on the PC, choose Enter Confirmation ID and type it in.

No Automated Help button on your build? Then the Installation ID comes from one command, and the Confirmation ID goes in with a second.

slmgr /dti
slmgr /atp CONFIRMATION-ID

The old phone activation window may not open at all on current builds. Gone? Fine. Microsoft points to Automated Help or the commands.

Want to see the portal screens first? They’re in the support article Activate Microsoft perpetual products using the Product Activation portal.

Signing in there doesn’t tie your account to the license. A personal Microsoft account works, so does a work or school one.

What an unactivated PC looks like

Windows 11 keeps running without activation. Microsoft’s license terms mention reminders to obtain a proper license, and some updates and services may be offered only to genuine installs.

What usually shows up on unactivated PCs in practice: the watermark in the corner, and Personalization settings greyed out. No wallpaper change, no colours, no themes. The watermark guide covers that corner of the screen.

Error codes after you press Activate

Code Microsoft’s meaning, shortened Full fix
0xC004F213 No product key was found on the device; typical after a motherboard replacement 0xC004F213 guide
0xC004C003 The key was marked invalid 0xC004C003 guide
0x803F7001 No valid license found 0x803F7001 guide
0xC004F050 The key can’t be used to activate this install 0xC004F050 guide
0xC004C008 The key has already been used on another device 0xC004C008 guide
0xC004F034 Invalid key, or a key for a different version 0xC004F034 guide

Something else on screen? The Windows 11 activation errors list has every code we’ve written up.

Common mistakes when you activate Windows 11

Mistake Better
A Home key typed into a Pro install Read the Edition line first
Mixing up B and 8, or G and 6 Copy and paste the key from the email
Swapping the motherboard before linking the account Add the Microsoft account on the Activation page first
Calling the phone number on screen Use the Product Activation Portal
Typing an old Windows 7 or 8.1 key Won’t work. Microsoft stopped accepting those keys for Windows 10 and 11 in 2023
Running “activator” scripts from search results Don’t. They bypass activation, and the license terms forbid that

That last one fills the search results for this topic. A script that fakes activation leaves you with an unlicensed PC and somebody else’s code running as administrator. We’d rather pay for a key.

Need a key first

Need a key that actually sticks? Ours is Windows 11 Pro, emailed the second you pay. There’s Windows 11 Home too, if Pro is more than you need.

Not sure which? Windows 11 Home vs Pro compares the two. We’re a trusted online store with genuine keys, and every one activates on Microsoft’s own servers. The other editions sit in the Windows 11 keys section.

Where these steps apply

Windows 11 Home and Pro, current builds. The names of the buttons come from Microsoft’s support pages as they read in November 2026. Still on the older system? The path differs there, and our Windows 10 activation guide has it.

Sources we checked the steps against:

Words on this page

Word Short explanation
Product key The 25-character code that activates the system
Digital license Activation without a key, associated with your hardware
Edition Home, Pro and so on; the key has to match it
Installation ID The number the PC shows for offline activation
Confirmation ID The number the Product Activation Portal gives back
KMS and MAK Volume activation methods used by organizations

Activate Windows 11 for free with a Windows 10 upgrade

This is the big one. Microsoft says it plainly on its Get Windows 11 page: the upgrade from Windows 10 is free, for the same edition you have now.

Activate Windows 11 for free legally: Windows 10 upgrade, reinstall on the same PC, hardware change troubleshooter and a retail license you own
Illustration: the four legal ways a PC gets Windows 11 activated without buying a new key.
  • Edition. Home moves to Home, Pro moves to Pro.
  • Version. Windows 10, version 2004 or later.
  • Hardware. The Windows 11 minimum requirements, TPM 2.0 and Secure Boot included.
  • Activation. Windows 10 has to be genuine and activated before you start.

Where to start? Settings, Update and Security, Windows Update. Check for updates. If the PC qualifies, the upgrade shows up there, ready to install. The PC Health Check app answers the same question if you’d rather see it first.

After the upgrade, Windows 11 carries a digital license for that device. No key to type. That license is what makes every later reinstall free too.

S mode, data and the account

Three small things before you click. Windows 10 Home in S mode upgrades to Windows 11 Home in S mode, free as well. Pro in S mode? Switch out first. Windows 11 Pro has no S mode.

The download is big. On a metered connection your provider may charge for it, so we’d use home Wi-Fi. And setup of Home, or Pro for personal use, wants an internet connection and a Microsoft account.

The PC fails the check? Look at what failed before giving up. TPM and Secure Boot are often just firmware switches, explained in our TPM 2.0 guide and the Secure Boot steps. The full list is in our Windows 11 requirements guide.

After a hardware change: getting activation back

Swap the motherboard and Windows may decide it’s on a new PC. Activation drops. Annoying, and fixable for free, as long as you did one thing earlier.

Activate Windows 11 for free again after a hardware change with the Activation troubleshooter in Settings
Illustration: the three steps of the Activation troubleshooter after a hardware change.

That one thing: link the digital license to your Microsoft account. Microsoft’s own advice is to do it before any hardware change, so the Activation troubleshooter can find the license later.

When activation drops:

  1. Settings, System, Activation.
  2. Troubleshoot.
  3. “I changed hardware on this device recently.”
  4. Sign in, pick this PC from the list, Activate.

Moving a whole license to another computer is a different story. Retail licenses can move. Licenses that came preinstalled usually stay with the original PC. Our guide to transferring a Windows license to a new PC sorts out which one you have.

Work and school PCs: a license you may already have

Some people already have a paid license and don’t know it. It comes through their employer or school.

  • Work. A company with Windows Enterprise subscriptions can step a Pro PC up to Enterprise. Licensed user, work account, sign in. The PC changes edition by itself.
  • School. The same mechanism steps Pro Education up to Education for licensed students and staff.

Both run on the organisation’s license, not yours. The device needs to be joined to the organisation’s Microsoft Entra ID. When the subscription ends, the PC falls back to its Pro or Pro Education edition, which still needs its own activation. So we’d ask the IT department first. Free for you, paid by them, and fully legal.

More on the school edition in Windows 10 Education.

Using Windows 11 without activation

Technically free. Also limited.

Setup installs fine without a key. Then the Activation page says Windows isn’t activated. Microsoft adds that you might need to buy Windows 11. In practice we’d expect a watermark in the corner and a few locked personalization settings. Our article on the Activate Windows watermark covers what it looks like and why it keeps coming back.

For a test machine or a virtual machine that lives for a week, we’d accept that. For the PC you work on every day? We wouldn’t. It’s not a license, just the period before one.

Why generic keys don’t activate Windows 11 for free

Search for free keys and you’ll find lists. Some are real Microsoft keys. None of them activate a home PC.

  • Generic install keys. They install an edition, Pro for example. Activation still needs a real license.
  • KMS client keys. Microsoft publishes them openly. They activate only against a KMS host on a company network.

Microsoft’s own KMS key page is blunt about it. These keys won’t activate a retail install and can’t serve as a retail license. At home there’s no KMS host, so the counter just runs out.

We keep the generic keys, with that warning, in our list of free Windows 10 and Windows 11 keys. How a real KMS setup works is in our explainer on KMS activation.

Free activators and scripts: the catch

The other half of the search results promise permanent activation with one command. We don’t link them, and we’d stay away.

  • It isn’t a license. The tool changes how Windows reports activation. Nobody sold you anything, and the license terms still apply.
  • You run a stranger’s code as administrator. Full access to the system, from an anonymous source.
  • It can stop working. An update or a reinstall, and the PC is back to unactivated.

The “free” part costs more later. A clean reinstall, a password change on every account, sometimes a lost weekend.

Buying a Windows 11 license from the Activation page

No key at all? Windows has a store button for that. It sits on the same page.

  1. Settings, System, Activation.
  2. Open Store. Older builds call it Go to Store.
  3. Pick the edition and pay with your Microsoft account.

A license bought there arrives as a digital license on that PC. Nothing to type. It stays tied to the account you paid with, so a reinstall later is easy.

Prefer a key you can keep in an email? Then the Windows 11 Pro key route above does the same job. Prices in the Store change by region, and Microsoft shows the current one on its Windows 11 page.

Old Windows 7 and 8.1 keys and Windows 11

Short answer: no. That door closed in 2023.

For years a Windows 7 or 8.1 key would quietly activate Windows 10 and then 11. Microsoft ended that, and the old keys now return an error. A Windows 10 PC activated back then is a different story. Its digital license still carries over through the free upgrade.

  • Old key, fresh install. Won’t activate.
  • Old PC already on activated Windows 10. The free upgrade keeps the license.
  • Retail Windows 10 key. Edition must match, Home to Home, Pro to Pro.

How the two kinds of license compare is in digital license vs product key.

Removing a key before you sell the PC

Selling the computer but keeping a retail key for the next one? Take it off first.

Administrator window, then these two:

slmgr /upk
slmgr /cpky

The first uninstalls the key. The second clears it from the registry, so nobody can read it back. The PC then drops to not activated. A license that came preinstalled with the PC stays with that PC anyway, so we’d leave that one alone.

Checking the result? Our page on checking Windows activation status has the readouts.

FAQ

Can I activate Windows 11 without a product key?

Yes, if the PC has a digital license. Go online and it activates by itself. No license at all? Then you need a key.

Will a Windows 10 key activate Windows 11?

Microsoft's pages don't promise it. Plenty of guides report that it works for the matching edition. We wouldn't count on it for a new purchase.

What happens if I never activate it?

Windows keeps running. You get the watermark, reminders, and locked Personalization settings. Microsoft's terms also say some updates and services may go only to genuine installs.

How do I check that it's activated?

Settings, System, Activation. The line should read "Windows is activated", with or without the digital license wording.

I changed the motherboard and it deactivated. Now what?

Run the Activation troubleshooter and choose the hardware change option. It works when the digital license was linked to your Microsoft account. With a retail key, type the key again.

Can I activate Windows 11 with CMD?

Yes. One command installs the key, a second one activates online. Both are in the commands section, and both need an administrator window.

Can I activate Windows 11 free, without buying a key?

Only with a digital license. A PC that came with Windows 11, or got the free upgrade from an eligible device, activates by itself once it's online. No license on it? Then it needs a key. Activator scripts don't count: the license terms forbid them.

Where do I find my product key?

In the order email if you bought a digital copy. On the box or card for a boxed copy. A PC that shipped with Windows 11 keeps its key in the firmware, and Windows reads it by itself.