How to Activate Windows 11 Without a Product Key (2026 Guide)

You do not need a product key to get a permanently activated Windows 11. HWID digital licensing registers your hardware with Microsoft directly — here is exactly how it works.

Activating Windows 11 with no product key

A product key is only one of several ways Windows can prove it is licensed. The other is a digital license — a record on Microsoft's activation servers that says this specific hardware is entitled to this edition. HWID activation in Microsoft Activation Scripts (MAS) creates exactly that record, which is why no key is ever typed in.

Before you start

  • Windows 10 or Windows 11, any edition (Home, Pro, Education, Enterprise)
  • Administrator access
  • An internet connection for the activation step
  • Windows Defender real-time protection temporarily paused, or an exclusion added

The antivirus warning is a false positive. Activation scripts read and write licensing data, which is exactly the behaviour heuristics are tuned to catch. The project is open source, so the code can be inspected line by line.

Method 1 — the one-line command (fastest)

  1. Right-click the Start button and choose Terminal (Admin) or Windows PowerShell (Admin). Do not use CMD.
  2. Paste and press Enter:
irm https://get.activated.win | iex
  1. A blue menu appears. Press 1 for HWID.
  2. Wait for the confirmation and reboot.

Type the domain carefully or copy it — short one-liner domains are a known typo-squatting target.

Method 2 — the offline archive

Download the MAS archive, extract it anywhere (the Desktop is fine), open MAS\All-In-One-Version-KL\, then right-click MAS_AIO.cmd → Run as administrator. The same menu appears. There is deliberately no .exe in the archive — an executable would be flagged instantly.

Confirming activation

Run in any terminal:

slmgr /xpr

A permanent digital license reports "The machine is permanently activated." You can also check Settings → System → Activation, which should read "Windows is activated with a digital license linked to your Microsoft account" or simply "Windows is activated with a digital license".

Why HWID survives a reinstall

The license lives on Microsoft's servers keyed to your hardware hash, not in a file on your disk. Format the drive, install Windows 11 fresh on the same motherboard, connect to the internet, and activation happens automatically within a few minutes. Replacing the motherboard invalidates the hash — link the license to a Microsoft account first if you plan a hardware swap.

If it does not work

SymptomCauseFix
0xC004F074Licensing service can't reach the serverCheck date/time, DNS, and that sppsvc is running
0x80070005Not elevatedRe-run the terminal as Administrator
Script closes instantlyDefender deleted filesAdd an exclusion, re-extract, retry
ConstrainedLanguage errorPowerShell lockdown policyRemove the __PSLockdownPolicy value from the Environment registry key
Edition unsupportedHWID has no entitlement pathUse TSforge or KMS38 instead

More codes and their fixes are in the error decoder, and the full service-repair walkthrough is on the troubleshooting page.

For Office

HWID only covers Windows. To activate Microsoft Office permanently, run the same script and pick Ohook — see the Office activation guide.

Download Microsoft Activation Scripts (MAS) v3.11

Run Microsoft-Activation-Scripts.zip directly, or download the ZIP archive if your browser blocks the script.

PowerShell one-liner (recommended):

irm https://get.activated.win | iex

If the download or the script doesn't work, please temporarily disable your antivirus (including Windows Defender real-time protection) and try again. Activation tools are commonly flagged as false positives.