How to activate Windows 11 Home using CMD (slmgr)

To activate Windows 11 Home from the command line, open Command Prompt as administrator, install your key with slmgr /ipk followed by the 25-character Windows 11 Home key, then activate it online with slmgr /ato. Run slmgr /xpr afterwards: when it says The machine is permanently activated, you’re done. You need a genuine Home key (a Windows 10 Home key works too). A Pro key won’t go in this way, and no command activates Windows without a valid license.

Settings and the other two methods are covered in our core guide, how to activate Windows 11 with a product key. This page goes deeper into the Command Prompt route on Home: every command and what its window should say, what happens when the key and the edition don’t match, and how to fix the errors slmgr throws most often.

Check your edition and key first

Keys are tied to an edition, so take ten seconds to confirm what’s installed before you type anything.

  1. Click Start, type cmd, right-click Command Prompt and choose Run as administrator. Click Yes in the User Account Control prompt. The window title should start with Administrator:. Terminal (Admin) from the Win + X menu works just as well, and slmgr behaves the same in PowerShell.
  2. Run:
DISM /Online /Get-CurrentEdition
  1. Read the Current Edition line:
Current Edition What’s installed Key that activates it
Core Windows 11 Home A Windows 11 Home or Windows 10 Home key
CoreSingleLanguage Windows 11 Home Single Language Usually only the key built into the laptop; see our Home Single Language guide
Professional Windows 11 Pro A Pro key; a Home key won’t work

The key itself should say Windows 11 Home or Windows 10 Home on the card, box or email it came with. If your laptop shipped with Windows 11 Home, you probably don’t need to type a key at all: jump to the section on built-in keys below.

Activate Windows 11 Home with slmgr

Keep the elevated Command Prompt open and make sure the PC is online.

  1. Install the key, typed with its hyphens:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

After a few seconds a Windows Script Host window should say Installed product key XXXXX-XXXXX-XXXXX-XXXXX-XXXXX successfully. Click OK.

  1. Activate it with Microsoft’s servers:
slmgr /ato

Expect Activating Windows(R), Core edition followed by Product activated successfully. “Core” is simply Windows’ internal name for Home. On recent builds Windows sometimes activates on its own right after step 1; running /ato anyway does no harm.

  1. Confirm the result:
slmgr /xpr

Replacing an old key? If Windows was set up earlier with a different key, such as a corporate volume key or one left behind by an unofficial activation tool, clear it first and then go back to step 1:

slmgr /upk
slmgr /cpky
slmgr /ckms

/upk uninstalls the current key, /cpky removes it from the registry and /ckms clears any KMS server name. Windows shows as not activated between these commands and your new /ipk. That’s expected.

What success looks like

The quick check is slmgr /xpr, which should report Windows(R), Core edition: The machine is permanently activated. For the full picture, use slmgr /dli. slmgr normally answers in pop-up windows; to print the result in the console instead, where it’s easier to read and copy, run:

cscript //nologo %windir%\system32\slmgr.vbs /dli

A properly activated Home installation shows:

  • Name: Windows(R), Core edition
  • Description: Windows(R) Operating System, RETAIL channel (or OEM_DM channel on a laptop activated by its built-in key)
  • Partial Product Key: the last five characters of the key you installed
  • License Status: Licensed

Two results mean something is wrong. License Status: Notification means Windows isn’t activated, which brings back the watermark and locks personalization settings. A VOLUME_KMSCLIENT channel means Windows is configured for a company KMS server. On a home PC that usually points to an unofficial activation, so clear it with the three commands above and install your own key. What each channel means is explained in how to check your Windows license type.

You can confirm it in the interface too: under Settings → System → Activation, Activation state should read Active. The “Activate Windows” watermark disappears after the next restart.

Home key vs Pro key: which command to use

Most failed attempts come down to a key and an edition that don’t match. slmgr installs keys for the edition that is already on the PC. It never changes the edition.

Situation What happens What to do
Home key on Windows 11 Home Installs and activates slmgr /ipk, then slmgr /ato
Windows 10 Home key on Windows 11 Home Installs and activates The same two commands
Pro key on Windows 11 Home slmgr /ipk refuses it, usually with error 0xC004F069 Upgrade with changepk.exe (below)
Home key on Windows 11 Pro Can’t activate; a key can’t move Pro down to Home Use a Pro key, or reinstall and choose Home
Microsoft generic installation key Installs the edition, never activates Use your own key

The third row also answers the “Windows 11 Pro activation key CMD command” question. On a PC that already runs Windows 11 Pro, the same slmgr /ipk and slmgr /ato pair takes a Pro key. On Home, use the edition-change tool instead:

changepk.exe /ProductKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Windows upgrades itself to Pro, restarts (sometimes twice) and activates with that key. Your files and apps stay where they are. If you’re not sure the extra Pro features are worth it, see Windows 11 Home vs Windows 11 Pro.

Built-in keys, reinstalls and PCs without internet

A laptop that came with Windows 11 Home. The manufacturer stored the key in the UEFI firmware, and Windows uses it automatically as soon as the PC goes online. If it still says Not active, for example after a reinstall, read the key straight from Command Prompt:

powershell -NoProfile -Command "(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey"

It prints the 25-character key, which you can pass to slmgr /ipk and then slmgr /ato. An empty result means there’s no key in the firmware, which is normal on desktops built from parts. The older wmic command found in many guides is missing from recent Windows 11 builds, so use the line above.

A reinstall on a PC that was activated before. Microsoft’s activation servers keep a digital license for that hardware, so you don’t need a key. Connect to the internet and run slmgr /ato, or click Troubleshoot under Settings → System → Activation. Make sure you reinstalled the same edition: a Home license won’t activate Pro.

No internet on the PC. Activation by phone call was discontinued on 3 December 2025, but offline activation still works through a web page you open on your phone:

  1. Install the key with slmgr /ipk as above.
  2. Run slmgr /dti (or press Win + R and run slui 4) to display the Installation ID, nine groups of digits.
  3. On your phone, open visualsupport.microsoft.com/activate, sign in if asked and enter the Installation ID.
  4. Apply the Confirmation ID you get back, typed as digits only:
slmgr /atp CONFIRMATIONID
  1. Check the result with slmgr /xpr.

One warning: commands and scripts that promise to activate Windows “for free” without a key don’t produce a license. They point Windows at an unofficial server or modify system files with administrator rights, which breaks the license terms and puts the PC at risk. Stick to your own key.

If it still doesn’t work

Note the code slmgr shows and match it here:

  • 0xC004F025: access denied. Command Prompt isn’t elevated, so reopen it with Run as administrator.
  • 0xC004F050: the key is invalid. Paste it instead of typing it, and check that it really is a Home key.
  • 0xC004F069 or 0xC004E016: the key belongs to a different edition. See the Home vs Pro table above.
  • 0xC004F074 or 0x8007007B: Windows is still looking for a KMS server. Run slmgr /upk, slmgr /cpky and slmgr /ckms, then install your key again.
  • 0xC004C003: Microsoft has blocked the key. Ask the seller for a replacement.
  • 0xC004C008: the key has reached its activation limit, usually because it’s active on another PC.
  • 0x80072F8F: the secure connection to the activation server failed, most often because the clock is wrong. Correct the date and time in Settings → Time & language → Date & time and run slmgr /ato again.

Every other code has its own page in the activation error library.

FAQ

Can I activate Windows 11 Home with CMD for free?

Only if the PC already has a license: a Home key stored in its firmware, or a Home digital license from an earlier activation. Then slmgr /ato reactivates it. Otherwise slmgr needs a genuine Windows 11 or Windows 10 Home key, because the command itself doesn't create a license.

Does a Windows 10 Home key work in slmgr on Windows 11 Home?

Yes. Windows 10 Home keys activate Windows 11 Home with the same slmgr /ipk and slmgr /ato commands.

Why does slmgr reject my Windows 11 Pro key on Home?

slmgr only installs keys for the edition that is already installed. Run changepk.exe /ProductKey followed by the Pro key in an elevated Command Prompt instead: Windows upgrades to Pro, keeps your files and activates.

Can I activate Windows 11 Home from CMD without internet?

Yes. Install the key, run slmgr /dti to see the Installation ID, enter it at visualsupport.microsoft.com/activate on your phone, then apply the Confirmation ID with slmgr /atp.

Still stuck? Write to support@keytory.com — we reply within a few hours.

Next guideHow to activate Windows 11 Home Single Language
Contents