AfterFormat

Windows activation after a reformat

If it was genuine before, it is genuine afterwards. Activation is attached to this machine’s hardware record rather than to a product key, so for most people it completes by itself the moment the PC is online. There are just a few places to look when it does not.

Last updated

Contents
  1. 1 Why it usually happens by itself
  2. 2 What differs by licence type
  3. 3 What to do after the reformat
  4. 4 When you do not know the key
  5. 5 If it stays unactivated
  6. 6 Frequently asked

Why it usually happens by itself

Since Windows 10, activation works through a "digital licence". Once a PC is activated, its hardware (chiefly the motherboard) is recorded on Microsoft’s servers. Reinstall the same edition on the same PC — even choosing "I don’t have a product key" during setup — and the moment it is online the server recognises the machine and activates it. There is no key to type in again.

So the one thing you actually have to get right after a reformat is the edition: Home if it was Home, Pro if it was Pro. The internet does the rest.

What differs by licence type

Branded PC or laptop (OEM)
The product key is embedded in the motherboard firmware (UEFI). Setup reads it automatically, picks the edition and activates. It does not even ask for a key. Nothing to do. That key is bound to this PC and cannot be moved to another.
Bought separately (retail, FPP, Microsoft Store)
Recorded as a digital licence on first activation. If it is linked to your Microsoft account, you can move it to new hardware — even a new motherboard — through the activation troubleshooter. The most portable kind. Keep the key card or the purchase email.
System-builder (OEM/DSP) key bought with a self-built PC
A key bought like a component, alongside the parts. By its terms it is bound to the first PC (motherboard) it is installed on. Reformatting on the same board is fine; a motherboard swap does not, in principle, carry activation across.
Free upgrade from Windows 7 or 8.1
A digital licence was created at upgrade time. The old 7 or 8.1 key is not needed: clean install 10 or 11, choose "I don’t have a product key", and it activates. Plenty of PCs still activate this way today.
Work PC (volume licence, KMS)
A company server manages activation. Reformat it yourself and it cannot reach that server, so it will not activate. Leave work PCs to the IT department.

What to do after the reformat

  1. Get online

    Activation needs to talk to the server. If the network driver is missing and there is no internet, that comes first. Once connected, activation follows on its own shortly after.

  2. Check Settings → System → Activation

    "Windows is activated" or "activated with a digital licence" means you are done. If it is tied to your Microsoft account it reads "digital licence linked to your Microsoft account" — the best state to be in for the next reformat or hardware change.

  3. If not, click Troubleshoot

    You need to be signed in with your Microsoft account. Choose "I changed hardware on this device recently", pick this PC from the list of devices on your account, and the licence reattaches. For a retail licence this also handles a motherboard swap.

  4. Check the edition

    The single most common cause of failure. A Home licence will not activate a Pro install. Look under Settings → System → About → Windows specifications. If Pro went on by mistake, Home has to be reinstalled (the only way down from Pro is a reinstall). The other way round — Home installed but you own a Pro key — "Change product key" upgrades it in place.

  5. Enter the key if you have one

    Settings → System → Activation → Change product key. Type the 25 characters and it activates immediately. Branded PCs never need this; it is for retail or system-builder keys you hold.

When you do not know the key

First: most people do not need it. Branded PCs carry it in firmware and everyone else has a digital licence. If you still want it on record, there are ways.

Read the firmware key (branded PC or laptop)
Before or after a reformat, open PowerShell and run (Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey. It prints the key stored on the motherboard. Empty output means this PC has no OEM key.
Your Microsoft account
Windows bought from the Store shows its key under account.microsoft.com → Order history. A digital licence linked to the account moves through Troubleshoot without any key.
Purchase records
The order email, the card inside the box, the sticker on an old PC case (from the Windows 7 era). System-builder keys are often in the retailer’s order history.
Before you format, check first
The licensing section of "What to sort out before you format" covers this. Even a photo of the current activation status and edition saves guesswork afterwards.

If it stays unactivated

It does not stop working. An "Activate Windows" watermark appears at the bottom right, personalisation (wallpaper, colours, lock screen) is locked, and Settings nags you to activate. Updates and program installs carry on as normal. So rather than typing in any key you can find, work through the steps above and find the cause.

The "genuine key" for a few dollars

The very cheap keys that turn up in search are mostly volume-licence or developer (MSDN) keys being resold in pieces. They activate today, and the day Microsoft blocks the key, activation drops — with no refund. Buy Windows only from the Microsoft Store or an authorised retailer. On a branded PC you never needed to buy one in the first place.

Frequently asked

I swapped the motherboard and activation is gone

With a retail licence linked to your Microsoft account, use Troubleshoot → "I changed hardware on this device recently" to move it. OEM keys on branded PCs and system-builder keys do not, in principle, transfer to a new board; that needs a new licence.

Can a Windows 10 key install Windows 11?

Yes. A 10 digital licence or key activates 11 as-is: 10 Home to 11 Home, 10 Pro to 11 Pro. 7 and 8.1 keys are sometimes still accepted, but that is not guaranteed.

I clicked "I don’t have a product key" during setup — is that a problem?

No. On a PC with a digital licence that is the normal route. If setup asks which edition to install, pick the same one you had before. Branded PCs read the firmware key and skip that screen entirely.

I get "Windows can’t activate, 0xC004..."

Check the connection and try again a few hours later; the same error appears when the activation servers are briefly unreachable. If it persists, run Troubleshoot, and if that fails too, suspect an edition mismatch.

What about Office?

Microsoft 365 just needs you to sign in. A perpetual licence (Office 2021 or 2024) was linked to an account at first install, so reinstall from account.microsoft.com → Services & subscriptions and it activates. Office that came with the PC is likewise on whichever account you set it up with.

It is stuck on "Windows reported that the hardware of your device has changed"

If Troubleshoot does not clear it, run slmgr /ato from an administrator terminal to force an activation attempt; any error code it returns narrows the cause. Failing that, Microsoft support chat can look up the licence.

Activated? Programs next

Pick the programs you use and we build the installer file. Activation and drivers first, programs after — that order avoids surprises.

Pick programs

Contact us

Without it we cannot write back.