Skip to content

Fix Windows Error 0xC004F213: No Product Key Found

By Bikram Bhujel
Windows activation error: Windows reported that no product key was found on your device, error code 0xC004F213

"Windows reported that no product key was found on your device. Error code: 0xC004F213" shows up on the Activation page when Windows cannot find a license for the PC it is running on. It shows up most often after a motherboard replacement, after reinstalling Windows from a USB stick, or on a PC that came with a different edition than the one installed. The fix depends on where your license came from, so start by working out which case you are in.

Quick answer

Open Settings > System > Activation and click Troubleshoot. If you changed the motherboard, choose I changed hardware on this device recently and sign in with the Microsoft account that holds your digital license. If the PC shipped with Windows, read the key stored in its firmware with PowerShell and enter it under Change product key.

Why error 0xC004F213 happens

CauseWhat it means
Motherboard replaced or PC rebuiltYour digital license is tied to the old hardware ID.
Wrong edition installedThe PC has a Home license but Pro was installed, or the other way round.
Fresh install from USB with no keyWindows did not find a key in the firmware or a digital license for this hardware.
Work or school PCThe license comes from your organization (KMS, Microsoft 365 or Intune) and the PC cannot reach it.

Fix 1: Run the Activation troubleshooter

  1. Open Settings > System > Activation.
  2. Click Troubleshoot next to the activation state. You need to be signed in as an administrator.
  3. If you replaced the motherboard, click I changed hardware on this device recently, sign in with the Microsoft account you used on this PC before, pick the device from the list and tick This is the device I'm using right now.

This only works if your license was linked to a Microsoft account before the hardware change. You can check that on the Activation page; it says "Windows is activated with a digital license linked to your Microsoft account".

Fix 2: Read the product key stored in the firmware

Most laptops and branded PCs sold with Windows 8 or later have the key embedded in the BIOS. Open PowerShell as administrator and run:

(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey

If it prints a 25-character key, enter it under Settings > System > Activation > Change product key. If it prints nothing, there is no key in the firmware and you need one from your box, email receipt or Microsoft account.

Older guides use wmic path SoftwareLicensingService get OA3xOriginalProductKey. That still works on older builds, but WMIC is no longer installed by default on new Windows 11 builds, so use the PowerShell line above.

Fix 3: Install the edition that matches your license

A Home license cannot activate Pro, and Pro cannot activate with a Home key. Check what you have under Settings > System > About > Windows specifications. If the edition is wrong, either buy an upgrade or reinstall the right edition. When reinstalling, let setup read the firmware key so it picks the matching edition automatically. My guide to installing Windows 11 without a Microsoft account covers making the USB.

Fix 4: Enter the key and activate from the command line

If the Settings page will not take the key, run these in Command Prompt as administrator, replacing the example key with yours:

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato
slmgr /dlv

The last command shows the license details, including the edition and whether activation succeeded.

Fix 5: Work or school PCs

If the PC belongs to your company, do not buy a key. Corporate PCs usually activate through a KMS server on the office network, a Windows Enterprise subscription assigned in Microsoft 365, or Intune. Connect to the office network or VPN, make sure you are signed in with your work account, and run slmgr /ato. If it still fails, ask IT; they may need to reassign your license.

Still not activated?

  • Check the date, time and time zone are correct, then restart.
  • Install all pending Windows updates.
  • Contact Microsoft support from the Get Help app if you have proof of purchase.

Setting up many PCs at once? Installing over the network saves a lot of USB sticks: installing Windows 11 over a network.

Frequently asked questions

What does error 0xC004F213 mean?

It means Windows could not find a valid product key or digital license for this device. It is most common after replacing the motherboard, installing the wrong edition, or reinstalling Windows without a key.

How do I find my Windows product key?

On PCs that came with Windows, run (Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey in PowerShell as administrator to read the key stored in the firmware. Retail keys are on the box, the receipt email, or in your Microsoft account order history.

Can I reactivate Windows after a motherboard replacement?

Yes, if your digital license was linked to your Microsoft account before the change. Run the Activation troubleshooter and choose I changed hardware on this device recently. OEM licenses that came with the old motherboard may not transfer.

Does wmic still work to show the product key?

Only on older builds. WMIC is no longer installed by default on new Windows 11 versions, so use the PowerShell Get-CimInstance command instead.

Can I use a Windows 10 key on Windows 11?

Yes. A valid Windows 10 key of the same edition activates Windows 11.

Comments

Questions and corrections are welcome. I read every comment before it appears, and remove spam and promotional links.