Skip to content
PCFixWorkbench

Activation · Windows 11

Fix Windows activation errors after a hardware change

Written November 18, 2026

Windows ties its license to your hardware, and a motherboard swap looks — to the activation servers — like a brand-new PC. The good news: in most cases the license is not gone, it just needs to be re-linked to the machine in front of you. Run the activation troubleshooter first, because it was built for exactly this situation, then fall back to re-entering your product key. Start by reading which kind of license you actually have, because that decides which of those routes can work.

What you need

Read the activation state before you touch it

  1. Open Settings > System > Activation and read the state. Note the exact message and any error code — codes like 0xC004F211 mean Windows detected a hardware change, while 0xC004C003 points at a key problem. The code tells you which half of this guide applies. Microsoft lists the common codes and their meanings in Activate Windows.
  2. Check the edition matches. The same page shows the edition — Home or Pro. A license only activates the edition it belongs to. If a repair or reinstall put Pro on a PC licensed for Home, or the reverse, activation will fail until the edition and the license agree, no matter how valid the key is.
  3. Recall how the license arrived. A license you bought separately — boxed, or from the Microsoft Store — is a retail license and can move to new hardware. A license that came with a prebuilt PC is usually tied to that machine, and a motherboard replacement is exactly the change it does not survive. Microsoft explains the distinction in Reactivating Windows after a hardware change. Knowing which kind you have sets honest expectations before you start.

The simple fixes, in order

  1. Sign in with the Microsoft account linked to the license. If you previously signed in to this PC with a Microsoft account, the digital license is usually linked to it. Sign in under Settings > Accounts with that same account if you are not already, then return to the Activation page.
  2. Run the activation troubleshooter. On Settings > System > Activation, choose Troubleshoot. You need to be signed in as an administrator for the troubleshooter and the changed-hardware option to appear. When it finishes, choose I changed hardware on this device recently, sign in if asked, pick this PC from the list of devices on your account, and confirm. That flow is the designed path for a motherboard or drive change, and Microsoft documents it in Using the Windows Activation troubleshooter.
  3. Restart and check again. After the troubleshooter reports success, restart the PC and re-open the Activation page. The state sometimes updates only after the restart.
  4. Wait a day if the hardware change is fresh and everything else checks out. Occasionally the activation servers lag behind a change. If the edition matches and the troubleshooter recognized your device, leaving the PC connected and trying again the next day resolves a stubborn case without further changes.

The advanced route: re-enter the key and check the edition

  1. Re-enter the product key. On the Activation page choose Change product key and type the 25-character key exactly as printed — Windows adds the hyphens as you type, so enter just the characters. A key that was valid before the hardware change often activates the rebuilt PC straight away.
  2. Fix an edition mismatch before blaming the key. If the installed edition does not match the license, entering the key for the correct edition in the same Change product key box can move the PC to that edition, or you may need to reinstall Windows with the matching edition. Do this before concluding the license is lost — a mismatched edition produces key errors that look like a dead license.
  3. Confirm the old device is not holding the license in your account. Sign in to your Microsoft account in a browser and look at your devices. If the pre-repair machine still lists as a separate device, that is normal — the troubleshooter's device list in the step above is where you pick the current PC and transfer the activation to it.

End state

When it goes wrong

Related fixes

Sources