Ohook is the method that matters
Office validates its licensing state through a local library. Ohook places a small hook alongside that library so the check resolves locally. No key is installed, no KMS host is contacted, no scheduled task is created, and nothing expires.
That covers Office 2013, 2016, 2019, 2021 and 2024 in both retail and volume channels, plus Microsoft 365 Apps for enterprise and business, plus Project and Visio.
It does not cover the Microsoft Store build of Office or web-only 365 subscriptions — neither uses the licensing path Ohook hooks into. If Ohook reports no Office found, that is almost always why: uninstall the Store version and install the Click-to-Run build with the Office Deployment Tool.
Installing
- Close every Office application, including Outlook in the tray.
- Run MAS as administrator.
- Choose Ohook Activation → Install.
- Open Word → File → Account and look for "Product Activated".
One run handles every Office product present on the machine.
Verifying properly
The Account page caches. The authoritative check runs from the Office install folder:
cd "C:\\Program Files\\Microsoft Office\\Office16"
cscript ospp.vbs /dstatus
LICENSE STATUS: ---LICENSED--- is what you want. ---NOTIFICATIONS--- means the hook is not loading.
When Ohook is blocked
Smart App Control on clean Windows 11 installs blocks the hook file outright. SAC cannot be turned back on without a reinstall, so decide deliberately — or use TSforge or Online KMS instead.
HVCI / Code Integrity Guard in strict mode produces the same outcome.
Antivirus quarantine is the sneakiest failure: activation works, then Office quietly reverts an hour later when Defender removes the file. Exclude the Office program folder if you want it to persist.
The fallbacks
TSforge writes licensing data directly and activates perpetual Office offline. Use it when Ohook is blocked by a platform security feature.
Online KMS installs a volume key, points at a host and creates a renewal task — 180 days, auto-renewed, nothing written next to Office. It is the right pick on locked-down machines where you cannot manage exclusions.
After reinstalling Office
Ohook and TSforge are both local, so replacing the installation removes the licensed state. Re-running takes under a minute — keep the archive somewhere convenient instead of re-downloading each time.
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.