Work in this order
Randomly re-running the script is the slowest way to fix anything. These six checks, in order, cover the overwhelming majority of failures.
1. Is the console elevated?
Right-click → Run as administrator, every time. Licensing service calls fail immediately without it, often with 0x80070005 access denied. Being logged in as an administrator is not the same as running elevated.
2. Is the path sane?
Extract to C:\\MAS. Batch scripts break on long paths, spaces, and non-Latin characters — Cyrillic or CJK usernames in C:\\Users\\... are a frequent hidden cause. Symptoms look nothing like a path problem: menu options that do nothing, or "file not found" for files that clearly exist.
3. Did antivirus eat part of it?
Defender can delete files mid-extraction, leaving a half-populated folder that fails in confusing ways. Check quarantine. Add an exclusion for the extraction folder before extracting, not after.
For Office, quarantine has a delayed symptom: activation succeeds, then reverts an hour later when the Ohook file is removed. Exclude the Office program folder.
4. Is the Software Protection service healthy?
net stop sppsvc
net start sppsvc
Then retry. 0xC004F074 right after a feature update is nearly always this.
5. Is a stale key in the way?
slmgr /upk
slmgr /cpky
This removes the installed product key and clears it from the registry. Then re-run your method. 0xC004C003 and repeated "key blocked" messages are the signature.
6. Is it the wrong method for the edition?
If HWID reports the edition as unsupported — N variants, LTSC, IoT, Server, evaluation builds — stop trying to force it. Use TSforge, which is edition-agnostic and offline.
Error code quick map
| Code | Cause | Fix |
|---|---|---|
| 0x80070005 | Not elevated / Controlled Folder Access | Run as admin, disable CFA temporarily |
| 0xC004F074 | KMS host unreachable, sppsvc not ready | Restart sppsvc, retry |
| 0xC004C003 | Cached / blocked key | slmgr /upk + slmgr /cpky |
| 0x803FA067 | License cannot be applied (eval / insider) | Use TSforge |
| 0x4004F00C | Office hook not loading | Smart App Control or quarantine |
| 0xC004F012 | Licensing store corruption | sfc /scannow, then retry |
Still stuck?
Run slmgr /dlv and read the licensing status line — it usually names the actual problem more precisely than the script's message. Then check the error decoder for your specific code.
Get the script
Open Terminal (Admin) or PowerShell (Admin) and run:
irm https://get.activated.win | iex
Prefer offline? Grab the archive from the download page and run MAS_AIO.cmd as administrator. More help: MAS script overview · Massgrave Windows guide · troubleshooting · error decoder.