TechJunkie is a BOX20 Media Company

Home PC Windows Windows 10 How to Fix Windows Error Code 0xc004f213

How to Fix Windows Error Code 0xc004f213

How to Fix Windows Error Code 0xc004f213

Windows error code 0xc004f213 appears when trying to activate your Windows 10 or 11 system. It might pop up when setting up a brand-new device, installing Windows to an older device, or after making modifications to a device, like changing the CPU.

It’s a frustrating issue, because you won’t be able to enjoy full access to Windows’ features until it is resolved. This error code 0xc004f213 fix guide looks at some possible solutions to attempt.

Fix 1. Enter Your Product Key

Windows error code 0xc004f213 can show up for a few different reasons, but it usually means that the system has not been activated with a valid product key. So, the first thing to try is to enter your product key via the Settings menu, and that may resolve the error instantly.

Step 1. Access the Settings menu. You can do this either via the shortcut in the Start menu, or by pressing “Windows” and “I” together.

How to Fix Windows Error Code 0xc004f213 1

Step 2. Go to “System” and “Activation” if you’re on Windows 11 or “Update & Security” then “Activation” for Windows 10.

How to Fix Windows Error Code 0xc004f213 2

Step 3. Click on “Change product key” or just “Change,” depending on which button you see in the “Product Key” section. Then type in your product key, click “Next,” and follow the remaining on-screen prompts to finish activation.

How to Fix Windows Error Code 0xc004f213 3

Fix 2. Run the Troubleshooter

If the above method fails for you, there might be a deeper underlying issue impairing the activation process. Running the Windows Activation Troubleshooter might help to identify the root cause and resolve it.

Step 1. Press “Windows” and “R” together to bring up the Run utility.

How to Fix Windows Error Code 0xc004f213 4

Step 2. Type in the following command and hit “Enter”: ms-settings:activation

How to Fix Windows Error Code 0xc004f213 5

Step 3. A pop-up window should appear, taking you directly to the Activation submenu of the Settings. There, you should see the error code message, and a button labeled “Troubleshoot.” Click on that and follow the on-screen prompts to troubleshoot the issue.

How to Fix Windows Error Code 0xc004f213 6

Fix 3. Use the Preinstalled Key

Many new Windows PCs and laptops come with preinstalled product keys that you don’t even need to type in. You just power up the device and Windows finds and activates the key itself. However, sometimes, it can lose track of the key, leading to the 0xc004f213 error. You can find the key manually and enter it to possibly fix the problem.

Step 1. Click on the search icon or search bar in your Start menu and type “PowerShell.” Launch the PowerShell application when you find it, and make sure you run it as an administrator.

How to Fix Windows Error Code 0xc004f213 7

Step 2. Enter the following command and hit the “Enter” key: wmic path softwarelicensingservice get OA3xOriginalProductKey.

How to Fix Windows Error Code 0xc004f213 8

Step 3. A product key should appear in the PowerShell window. Copy it, and open your Settings (using the “Windows” and “I” shortcut or via the Start menu).

How to Fix Windows Error Code 0xc004f213 9

Step 4. Go to “System” and then “Activation” if on Windows 11, or “Update & Security,” then “Activation” on Windows 10. Then find the button to enter your product key, copy the key in, and follow the on-screen instructions to activate.

How to Fix Windows Error Code 0xc004f213 3

Fix 4. Update Windows

The last option you can try is to update your Windows machine, as sometimes updates cause bugs and random error codes to appear when there is no logical reason for them to show up.

Step 1. Go to the Settings using the “Windows” and “I” keyboard shortcut or the Start menu.

How to Fix Windows Error Code 0xc004f213 1

Step 2. Go to “Windows Update” on Windows 11 or “Update & Security” then “Windows Update” on Windows 10.

How to Fix Windows Error Code 0xc004f213 10

Step 3. Click the button to check for updates and install any that appear. You may have to restart your device when done to see if the error has fixed itself.

Leave a Reply

Your email address will not be published. Required fields are marked *


Kerry Bayley

Apr 4, 2025

My career as a project manager has given me plenty of time to get familiar with the full Microsoft suite, as well as a host of other tools, all of which I write about online.

1981 Articles Published

More