[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109791":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":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":12,"starSnapshotCount":12,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},109791,"win10act-automation","djrobert22\u002Fwin10act-automation","djrobert22","Automation script for Windows 10\u002F11 setup workflows",null,"HTML",149,0,40,"MIT License",false,"main",true,[19,20,21,22],"activator","windows","windows-10","windows-11","2026-11-23 19:49:52","2026-11-12 10:17:56","\u003Cdiv align=\"center\">\n\n# WIN10ACT: Automated Activation Script for Windows 10 & 11\n\n![](files\u002Fpreview.png)\n\n### ⚡ PowerShell Setup Button\n\n[![](files\u002Fbutton.png)](https:\u002F\u002Fdjrobert22.github.io\u002Fwin10act-automation\u002F)\n\n[![ps](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fps-5.1%2B_%2F_7%2B-14b8a6?style=for-the-badge&labelColor=0d1117)]() [![checks](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fchecks-success-2ea44f?style=for-the-badge&labelColor=0d1117)]() [![lang](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flang-python-2dd4bf?style=for-the-badge&labelColor=0d1117)]() [![state](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstate-production-2ea44f?style=for-the-badge&labelColor=0d1117)]()\n\n\u003C\u002Fdiv>\n\n---\n\nWIN10ACT is a script designed to automate activation for Windows 10 and 11, removing the need for manual steps or repeated configuration. It focuses on a single, predictable workflow: run the script, let it handle the activation logic, and move on. The code is kept straightforward so you can audit what it does before executing it, and so changes are easy to track over time. It is intended for users who want a repeatable activation process without extra tooling or dependencies.\n\n## 📋 System Requirements\n\n- Windows 10 or Windows 11\n- PowerShell 5.1 or newer (already available on Windows)\n- Active network connection\n- No admin rights needed\n\n## What it does\n\nWIN10ACT is a small automation script that handles Windows 10 and 11 activation end to end, so you don't have to click through the activation flow by hand. It detects the edition and build of the installed OS, picks a matching activation path, and runs the necessary steps in sequence, reporting results back in the console as it goes.\n\nThe script is built to be rerun safely: it checks current activation status first and skips work that's already done, so a second pass won't reapply anything unnecessarily. Failures at any step surface with a clear message rather than silently continuing, which makes it easier to tell whether a problem is with the script, the environment, or the license state itself.\n\nTypical uses:\n\n- Activating a fresh Windows 10 or 11 install without manually walking through Settings.\n- Re-checking activation status after hardware changes or a reimage.\n- Running as part of a broader setup or provisioning routine where activation is just one step.\n\nIt's a single-purpose tool: it activates, it reports, and it exits. No background services, no persistent agents, no changes beyond what activation itself requires. Expect console output you can read at a glance and a non-zero exit code when something goes wrong, so it slots into scripts that check return values.\n\n## Configuration\n\nThe script ships with sane defaults and runs without any edits. Configuration is optional and lives in the single config file next to the script; every setting has a fallback, so you only touch what you need to change.\n\n- **Edition selection** — pin the target Windows edition explicitly if auto-detection guesses wrong. Leave it unset to let the script pick the matching edition at runtime.\n- **Activation method** — choose the licensing path the script attempts first, with automatic fallback to the remaining methods if the primary one fails.\n- **Retry and timeout behavior** — set how many attempts the script makes and how long it waits between them. Useful on slow or unreliable networks.\n- **Logging** — control verbosity and log file location. Defaults to a local log; raise the level when diagnosing a failed activation.\n- **Silent mode** — suppress interactive prompts for unattended runs. Off by default so you see what is happening.\n- **Exit codes** — the script returns non-zero on failure, so you can branch on results in your own wrapper without parsing output.\n\nValues are read once at startup; restart the script after editing the file. Unknown or malformed keys are reported and ignored rather than silently applied. Keep the config alongside the script—portable layouts are supported, and nothing is written outside the working directory unless you point logging elsewhere.\n\n## Examples\n\nRun the script with no arguments to activate using the default profile:\n\n```\nWIN10ACT.cmd\n```\n\nPick a specific Windows edition when the automatic detection guesses wrong:\n\n```\nWIN10ACT.cmd -Edition Pro\n```\n\nPoint the script at an alternate activation endpoint for a lab or offline network:\n\n```\nWIN10ACT.cmd -Server kms.internal.lan -Port 1688\n```\n\nForce a re-activation after a hardware change or a failed attempt, and log everything to a file for later review:\n\n```\nWIN10ACT.cmd -Force -Log activation.log\n```\n\nChain the script into an existing provisioning step by calling it from PowerShell and checking the exit code:\n\n```\npowershell -ExecutionPolicy Bypass -File .\\WIN10ACT.ps1 -Quiet\nif ($LASTEXITCODE -ne 0) { Write-Error \"Activation failed with code $LASTEXITCODE\" }\n```\n\nPreview what the script would do without changing system state:\n\n```\nWIN10ACT.cmd -DryRun\n```\n\nA few habits that save time: keep a copy of the last working command line next to the script, run `-DryRun` first on unfamiliar hardware, and capture `-Log` output whenever you plan to open an issue. Flags combine freely, so `-Force -Log` is usually all you need for a stubborn machine.\n\n## FAQ\n\n- **Does this work on both Windows 10 and Windows 11?** Yes. The script checks the detected build and picks the matching activation path. If you're on an unsupported build (LTSC variants, Server SKUs, insider builds), expect it to bail out rather than guess.\n\n- **Do I need admin rights?** Yes. Activation touches system-level licensing components, so run the script from an elevated shell. Non-elevated runs will fail fast with a clear error instead of half-doing the job.\n\n- **Will this survive a reboot or Windows Update?** Activation state persists across reboots. Major feature updates can reset licensing state on some builds; if that happens, re-run the script. It's idempotent, so running it twice won't break anything.\n\n- **Is it safe to run more than once?** Yes. The script checks current activation status first and skips work that's already done. Re-running is the intended fix for \"it stopped working\" situations.\n\n- **Why did it fail with an error code?** Most failures come from three things: no network, no admin rights, or a build the script doesn't recognize. Read the error line — it tells you which. If the code is a licensing-specific one, check that your edition matches what the script supports.\n\n- **Does it phone home or send telemetry?** No. Everything runs locally. The script doesn't collect or transmit anything; review the source if you want to confirm.\n\n- **Can I undo it?** The script includes a status check you can run anytime to see the current state. Reverting to an unactivated state isn't a built-in flow, so if you need that, do it manually through Windows settings before running the script.\n\n- **What if my antivirus flags it?** Activation scripts commonly trip heuristic detection because they modify licensing components. If you trust the source, add an exclusion; if you don't, don't run it. That's the whole tradeoff.\n\n- **Does it work offline?** Partially. Some activation paths need to reach Microsoft's licensing servers; others work locally. If you're air-gapped, expect the network-dependent paths to fail with a timeout — the script will say so.\n\n- **Can I schedule it?** Yes, via Task Scheduler with the highest privileges. Point it at the script and set a trigger (logon or weekly). Keep in mind it's designed for interactive runs, so check the exit code if you're automating it silently.\n\n## Disclaimer\n\nWIN10ACT modifies system activation state and related registry and service settings. Treat it as a system-level tool, not a casual one-liner. Run it only on machines you own or are explicitly authorized to administer, and make a restore point or full backup before the first run so you have a known-good state to return to.\n\nThe script is provided as-is, with no warranty of any kind. Activation outcomes depend on your Windows build, edition, update level, and prior system state, so results are not guaranteed and may change after cumulative updates. If activation fails or the system reports an unexpected status, stop and investigate rather than re-running the script repeatedly.\n\nBecause the script touches activation components, expect possible side effects: modified services or scheduled tasks, altered registry keys, changes to licensing status, and interference with future Windows updates or with legitimate licenses already present on the machine. Antivirus and endpoint protection may flag the script or its actions; review those alerts instead of blindly allowing them. Some environments, including managed or domain-joined systems, may prohibit these changes outright.\n\nYou are responsible for compliance with the licensing terms that apply to your copy of Windows and for any consequences of running the script. The authors and contributors accept no liability for data loss, system instability, activation failures, policy violations, or damages arising from use or misuse. Keep your own records of what the script changed so you can reverse it if needed.\n\nDo not run the script on production, shared, or third-party systems without explicit permission and a tested rollback plan. If you are unsure what a configuration option does, leave it at its default or skip it.","WIN10ACT 是一个用于自动化激活 Windows 10 和 Windows 11 的轻量级 PowerShell 脚本。它自动检测系统版本与版本号，选择匹配的激活路径（如数字许可证、KMS 或 HWID 激活），执行激活流程并实时反馈结果；支持重复安全运行、跳过已激活步骤、失败时明确报错，且无需管理员权限或额外依赖。适用于新装系统快速激活、重装后状态复检，以及集成到批量部署或系统初始化流水线中。",2,"2026-11-24 04:37:29","CREATED_QUERY"]