How to Fix Windows 11 Activation Error 0xC004F213

Mudin Saiful

Cartoon license certificate with a ribbon seal and a question mark for a Windows 11 error 0xC004F213 guide

Hi everyone, in this post I want to show you how to fix activation error 0xC004F213 in Windows 11. You usually spot it in Settings under Activation, with the message Windows reported that no product key was found on your device. It means Windows checked your PC and could not find a license that belongs to it.

To keep this guide honest, I did not just copy a list of fixes. I reproduced the error on a fresh Windows 11 Pro install, then went through every fix Windows itself offers, using only Settings, no Command Prompt. You will also see what happens when you try a free generic key from the internet, because that is the trap most people fall into.

What Error 0xC004F213 Means

Every copy of Windows needs a license to be activated. That license is either a product key (25 characters) or a digital license that Microsoft stores for your hardware or your Microsoft account.

Error 0xC004F213 appears when Windows looks for that license and comes back empty-handed. Here are the most common reasons:

Cause                                          Typical situation
You changed the motherboard or many parts      PC upgrade or repair
Windows was reinstalled without a key          Fresh install from USB
The edition does not match the license         Pro installed, but license is Home
Only a generic install key is present          Key copied from a website

The edition point is easy to miss. A Windows 11 Home license cannot activate Windows 11 Pro, and the other way round. Always check which edition you have before buying anything.

Checking the Error in Settings

Before trying any fix, look at the exact message so you know you are dealing with the same error. Everything in this guide happens in the same Settings page.

Open Start, click Settings, choose System, then Activation. You can also type activation in the search box on the taskbar.

Activation state shows Not active and 0xC004F213

Windows 11 Pro Activation page showing Not active with error code 0xC004F213 marked

Activation state says Not active. Expand it to read the red message: Windows reported that no product key was found on your device. Error code: 0xC004F213. On this page you can also see the edition, here Windows 11 Pro.

Fix 1: Run the Activation Troubleshooter

The troubleshooter is the first thing to try. It checks your PC against Microsoft’s activation servers and can restore a digital license automatically if one exists.

Make sure the PC is connected to the internet first, because the troubleshooter has to talk to Microsoft.

Click Troubleshoot

Troubleshoot button on the Activation page marked with a red box

Next to the error message, click Troubleshoot. Wait about 10 seconds while it runs.

The troubleshooter result

Troubleshooting has completed with the I changed hardware on this device recently link marked

On my test PC the result was We weren’t able to activate Windows on this device. That is expected, because this PC never had a license. On a PC that was activated before, this step often fixes the problem straight away. If it does not, look at the link I changed hardware on this device recently in the same window.

Fix 2: I Changed Hardware on This Device Recently

This option is for people whose Windows was activated before, and then they replaced the motherboard or several parts. Windows treats the PC as a new device, so the old license no longer matches.

The fix only works if your digital license was linked to a Microsoft account before the hardware change. That is why it is worth linking your account now, even if your PC is fine (see the last section).

Sign in with the Microsoft account that holds the license

Microsoft account sign-in window after choosing I changed hardware on this device recently

Clicking the link opens the Microsoft account sign-in window. Sign in with the account you used on this PC before. Windows then shows a list of devices linked to that account. Pick the device you are using now, tick This is the device I’m using right now, and click Activate.

I did not sign in on my test PC because it has no license to recover. If the list is empty, your license was never linked to the account, and you need Fix 3 or Fix 4.

Fix 3: Enter Your Own Product Key

If you bought Windows as a box, a card, or from an online store, you have a 25-character product key. Entering it is the most direct fix for 0xC004F213.

Your key is usually in the purchase email, on a card in the box, or on a sticker on older laptops. Laptops sold with Windows 10 or 11 usually store the key in the BIOS and activate by themselves, so they rarely need this step.

Change product key

Enter a product key box with a generic key typed and the Next button marked

On the Activation page, click Change next to Change product key. Type your key in the Product key box, then click Next and Activate.

In this screenshot I typed the generic Windows 11 Pro key VK7JG-NPHTM-C97JM-9MPGT-3V66T, the kind you find on many websites. Let us see what happens.

A generic key is rejected

Unable to activate Windows with error 0x803fa067 after entering a generic key

The result is Unable to activate Windows with error 0x803fa067: you don’t have a valid digital license or product key. Generic keys like this one are only for installing Windows, never for activating it. Use a key you actually bought.

My experience: Keys and activation tools shared on websites or YouTube either fail like this one or use a method that is not legal. Some of those tools also install malware. If you do not have a key, Fix 4 is the safe option.

Fix 4: Buy a License from the Microsoft Store

If you have no key at all, you can buy a license from the same Settings page. The Store automatically shows the edition that matches your Windows.

The license you buy here becomes a digital license, and it is tied to your Microsoft account straight away.

Get a new license in the Microsoft Store app

Microsoft Store Windows 10/11 Pro page with the price button marked

Click Open Store next to Get a new license in the Microsoft Store app. On my Windows 11 Pro the Store opened the Windows 10/11 Pro page. The price shown depends on your country. After paying, Windows activates within a few minutes without you typing a key.

Prevent It Next Time: Link a Microsoft Account

Most people only hit 0xC004F213 after a reinstall or a hardware change. If your license is linked to a Microsoft account, you can get it back with Fix 2 in a couple of clicks.

On a local account, the license is not stored anywhere you can reach later. That is the situation on my test PC.

Sign in with a Microsoft account instead

Settings Accounts Your info with the Sign in with a Microsoft account instead link marked

Open Settings, Accounts, Your info. On a local account you will see Sign in with a Microsoft account instead. Once you sign in and Windows is activated, the Activation page shows Windows is activated with a digital license linked to your Microsoft account. Notice the banner at the top as well: You need to activate Windows before you can personalize your PC. That is one of the limits of an unactivated Windows.

Activation Errors That Look Similar

Several activation codes look alike, but the fix depends on the code. Here are the ones I ran into while testing this guide and the most common relatives.

Code          Meaning                                      Fix
0xC004F213    No product key or license found on the PC   Fix 1 to 4 in this guide
0x803fa067    The key entered is not a valid license       Use a purchased key
0xC004F050    The key is invalid for this edition         Check edition, use the right key
0xC004F074    Cannot reach the company KMS server          Contact your IT department

Frequently Asked Questions

These are the questions that come up most often with this error. The answers are based on what I saw on the test PC and Microsoft’s activation pages.

If your problem is not here, leave a comment with the exact error message.

Can I keep using Windows without activating it?

Yes. Windows keeps working, but you cannot change personalization settings such as the wallpaper and theme, and a watermark appears in the corner of the screen.

I reinstalled Windows on the same PC. Do I need a new key?

Usually not. Install the same edition as before and connect to the internet. The PC’s digital license activates it automatically. If it does not, run Fix 1.

The troubleshooter does not show I changed hardware on this device recently

That link only appears when Windows sees the possibility of a hardware change. Sign in with your Microsoft account first, then run the troubleshooter again.

My key is from my old PC. Can I use it?

Retail keys bought separately can be moved to a new PC. OEM keys that came with a laptop or prebuilt PC belong to that machine only.

That covers every way to fix error 0xC004F213 in Windows 11 using Settings alone. If Windows Update is also giving you trouble, read how to fix Windows Update errors in Windows 11. If you get stuck, leave a comment below.

Leave a Comment