Activation · Windows 11
Fix Windows activation errors after a hardware change
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
- The Microsoft account you used on this PC, if you have one. A digital license linked to your account is the easiest kind to move to new hardware, and the troubleshooter below asks you to sign in with it.
- Your product key, if you ever had one. The 25-character key from the box, the email receipt, or the sticker. Not every PC has one — many licenses are digital only — so do not stall if there is no key to find.
- An internet connection and a little patience. Activation happens against Microsoft's servers. A PC that has just had hardware replaced sometimes needs a restart and a short wait before the servers accept it again.
Read the activation state before you touch it
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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
- Settings > System > Activation reports that Windows is activated, with a digital license or a digital license linked to your Microsoft account.
- The edition shown matches the license you own.
- The activation survives a restart with no error code returning.
When it goes wrong
- The troubleshooter does not list your PC. That happens when the license was never linked to a Microsoft account — the link has to exist before the hardware change. Fall back to the product key route above. If neither works, the remaining route is Microsoft Support, which can sometimes reactivate a legitimate license by phone or chat after checking its history.
- The key is rejected as already in use or invalid. Re-read it character by character — 0 and O, B and 8 are easy to swap. If it is typed correctly and still rejected after a motherboard change on a PC that came with Windows preinstalled, you are most likely looking at the prebuilt-PC license limit described earlier: that license was tied to the original motherboard, and a new license is the honest fix.
- Windows deactivated with no hardware change at all. Check the Activation page for the error code anyway — a major Windows update or a repaired install can trigger the same state, and the troubleshooter route above is still the first move. If a drive was cloned or Windows was reset, the reset guide covers what a reset keeps and what it changes.
Related fixes
-
Fix a PC that beeps once and shows a black screen after a RAM change
One beep and a black screen straight after a RAM change almost always means the board is not accepting how the new memory is seated or arranged, not that Windows is broken. Reseat the sticks first, test one stick at a time next, and only then look at slot order and mixing old and new kits.
-
Fix a PC that shows the wrong time after travel or a daylight saving change
A PC clock that is wrong by whole hours after a trip or a clock change is usually showing the wrong time zone, not keeping bad time. Set the zone and automatic time on one Settings page, sync once, and check the Windows Time service only if the sync fails.
-
Fix an NVMe SSD that disappears after sleep or under load
An NVMe drive that vanishes after the PC sleeps, or drops out under load, is usually a power-state, firmware, or driver problem rather than a dead drive. Change the power behavior first, update the drive and chipset next, and only then treat it as failing hardware.
-
Fix a drive that disappears from File Explorer after the PC sleeps
A drive that vanishes from File Explorer after sleep, then comes back after a restart, is usually being powered down and not woken cleanly, or Windows has marked it as removed. Check Disk Management first to see whether Windows still sees the drive at all, then fix the power and hot-swap settings that let it drop.
Sources
- Microsoft Support, Reactivating Windows after a hardware change — how a digital license linked to a Microsoft account moves to new hardware.
- Microsoft Support, Using the Windows Activation troubleshooter — the troubleshooter flow, including the changed-hardware option.
- Microsoft Support, Activate Windows — activation methods, product keys, and the common error codes.