How do you activate Windows 11 with a product key? Open Start > Settings > System > Activation, select the “Change” button next to “Change product key” and enter the 25-character key. With an internet connection, Windows activates immediately; the activation state then shows “Active”. The key must match the installed edition: a key for Windows 11 Pro does not activate Home or Pro N. After activation, the device receives a digital license and activates by itself when the same edition is reinstalled.
Quick decision
| Your situation | What to do |
|---|---|
| Windows 11 is installed, not yet activated | Enter the key in Settings (section 2) |
| You are currently reinstalling | Enter the key in setup, or skip and enter it afterwards |
| Windows was already activated on this device | Enter nothing; the digital license activates the same edition again |
| Home is installed, your key is for Pro | Enter the key; Windows switches the edition |
| Motherboard replaced | Activation troubleshooter, see below |
| Error message | Table of error codes |
1. Check the activation state
- Open Start > Settings > System > Activation.
- The installed edition is shown at the top, with the Activation state below it.
If you expand the activation state, you see one of these messages:
| Message | Meaning |
|---|---|
| Windows is activated | Activated, no Microsoft account linked |
| Windows is activated with a digital license | Activated, the digital license is not linked to a Microsoft account |
| Windows is activated with a digital license linked to your Microsoft account | Activated and linked to your Microsoft account |
| Windows is not activated | Not activated; an error message states the reason |
2. Enter the product key in Settings
- Make sure the PC is connected to the internet.
- Open Start > Settings > System > Activation.
- Next to Change product key, select the Change button.
- Confirm the User Account Control prompt with Yes.
- Enter the key in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Copying and pasting avoids typing errors; 0 and O as well as 8 and B are often confused.
- Select Next and follow the instructions.
- Check the activation state. It should now read “Active”.
The page also opens directly: right-click Start > Run, then enter:
ms-settings:activation
3. Enter the key during installation
During a clean installation, setup asks for the key. You can enter it there or select I don’t have a product key and choose the edition manually. Choose the edition that matches your key. You then enter the key after the installation as in section 2. How to create the installation media is covered under
Install Windows 11 and 10 with a USB flash drive.
Many PCs with preinstalled Windows have the key stored in the firmware. If it matches the edition you are installing, setup applies it automatically, according to Microsoft.
4. Activate via the Command Prompt
For administrators and for PCs on which Settings does not respond, there is the script
slmgr.vbs. Open the Command Prompt or Terminal as administrator.
Install the key:
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Activate online:
slmgr.vbs /ato
Display license information:
slmgr.vbs /dli
Detailed license information and the expiration date of the activation:
slmgr.vbs /dlv
slmgr.vbs /xpr
According to Microsoft, /ipk checks whether the key is valid and matches the installed operating system, and replaces a key that is already installed. /ato triggers online activation.
5. Link the digital license to your Microsoft account
Microsoft recommends linking the digital license to a Microsoft account. You can then reactivate Windows through the troubleshooter after a major hardware change.
- Sign in with an administrator account.
- Open Start > Settings > System > Activation.
- Select Add an account and sign in with your Microsoft account.
- The message changes to “… digital license linked to your Microsoft account”.
Keep the key anyway. Where to find it is covered under
Find your Windows product key.
6. Reactivate after a hardware change
The digital license is tied to the hardware. After a motherboard replacement, Windows may no longer find a matching license.
- Open Start > Settings > System > Activation and select Troubleshoot. It only appears if Windows is not activated.
- Select I changed hardware on this device recently and then Next.
- Sign in with the linked Microsoft account.
- Select the check box This is the device I’m using right now and select Activate.
If you activated Windows with a key and did not link an account, enter the same key again (section 2). What applies when moving to an entirely different PC is covered under
Transfer a Windows license to a new PC.
Error codes
| Code | Meaning according to Microsoft | What helps |
|---|---|---|
| 0xC004F050, 0xC004C060 and related | The key cannot be used for activation | Check your entry; does the key match version and edition? |
| 0xC004F210, 0xC004F212, 0xC004E016 | Key and installed edition do not match | Install the matching edition or use a matching key |
| 0xC004F034 | Invalid key or key for a different Windows version | Check the key |
| 0xC004C003 | The key is not valid, for example because it was used on several devices | Contact the seller |
| 0xC004C008, 0x803FA071 | The key has already been used on another device | Contact the seller; after a hardware change, section 6 |
| 0xC004F211, 0xC004F213 | Hardware changed or no key found on the device | Section 6 |
| 0x803F7001 | No valid license found | Enter the key |
| 0xC004FC03, 0x8007267C | No internet connection or a firewall is blocking activation | Check the connection, try again later |
| 0xC004F00F | Key for Enterprise entered on Home or Pro | Use a key for the installed edition |
Without internet, Windows can also be activated by phone, according to Microsoft: type the following in the search box on the taskbar and follow the instructions:
SLUI 04
Phone activation is not available for Windows 11 Pro for Workstations; this edition must be activated over the internet.
Typical cases
New, self-built PC. Enter the key in setup or after the installation in Settings. Then link the Microsoft account.
PC set up again, previously activated. Select “I don’t have a product key” in setup and install the same edition. Windows activates online by itself.
Home installed, Pro purchased. Enter the Pro key. Windows switches to Pro and restarts, see
Upgrade Windows 11 Home to Pro.
Pro installed, key for Home available. The key does not match. Reinstall Home or use a Pro key.
At VivaKeys
All offers: category
Windows 11. If a key from us does not work, first check the edition and your entry. Then report the problem via “Report a problem” in your order, with the error code and a short description. We replace a defective key free of charge, usually within 24 hours. Without a delivery email, use
Report a key problem. Do not try a key over and over again. All editions compared: Windows 11 editions at a glance.
Frequently asked questions
Where do I enter the Windows 11 key? Under Start > Settings > System > Activation, select “Change” next to “Change product key”. During a clean installation, setup also asks for it.
Do I have to reactivate Windows 11 after reinstalling? Not manually, if the device already has a digital license and you install the same edition. Windows then activates online by itself.
Can I activate Windows 11 with a key for Windows 10? Do not rely on it. Microsoft writes that the key must match the version and edition of the installed Windows. An activated Windows 10 receives a digital license when upgrading to Windows 11.
How do I see whether Windows 11 is activated? Under Start > Settings > System > Activation, at the activation state. Alternatively, the command slmgr.vbs /xpr shows the status.
What does “Windows is activated with a digital license” mean? Windows is activated, and the license is tied to the device’s hardware. It is not yet linked to a Microsoft account.
How often can I activate a Windows 11 key? Microsoft writes that a product key is intended for installation on a single device. If it is used or tried on several devices, it can be marked as invalid.
Sources
Checked on 2026-11-10 against the publisher’s information:
- support.microsoft.com/en-us/windows/activation/activate-windows
- support.microsoft.com/de-de/windows/activation/activate-windows
- support.microsoft.com/en-us/windows/activation/get-help-with-windows-activation-errors
- support.microsoft.com/en-us/windows/activation/reactivating-windows-after-a-hardware-change
- learn.microsoft.com/en-us/windows-server/get-started/activation-slmgr-vbs-options
- learn.microsoft.com/en-us/windows/deployment/upgrade/windows-edition-upgrades
- support.microsoft.com/en-us/windows/activation/find-your-windows-product-key