Activating Windows 11 with a product key: every method

Enter your key in Settings, during setup or from the command line, and what to do when activation fails.

A Windows 11 product key is 25 characters long, in five groups of five. You can enter it at three points: on a PC that already runs Windows, during a fresh installation, or from an administrator command prompt. Pick the method that matches your situation.

Method 1: Windows is already installed

  1. Open Settings > System > Activation.
  2. Next to Change product key, select Change.
  3. Paste or type the key and select Next, then Activate.

The page should then read Windows is activated. If you enter a Pro key on a Home installation, Windows upgrades itself to Pro first.

Method 2: during a clean install

  1. Download Windows 11 from Microsoft's official download page, using the Media Creation Tool or the ISO file.
  2. Boot from the USB stick or DVD and start setup.
  3. When setup asks for a product key, type yours. You can also choose I don't have a product key and add it later using Method 1.
  4. Make sure you install the edition that matches your key (Home or Pro).

Method 3: command line

Open Terminal or Command Prompt as administrator and run:

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX then slmgr /ato

The first command installs the key, the second activates it online. This is useful on PCs where the Settings page won't open.

If activation fails

  • Edition mismatch (error 0xC004F069 or similar): the key is for a different edition from the one installed. Use the matching edition or upgrade with Method 1.
  • No internet or server busy: retry later, or use phone activation: press Windows + R, run slui 4, pick your country and follow the automated call to get a confirmation ID.
  • Typing errors: paste the key instead of typing it; B and 8, or O and 0, are easy to confuse.

Bought your key from us and still stuck? Email the error code and your order number and we'll help.

Keys mentioned in this guide

All keys
My Pro Keys
info@myprokeys.com

Your cart

Your cart is empty

Pick the Windows, Office or game key you need and it will show up here.

Browse all keys