# massgravel/microsoft-activation-scripts

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/massgravel-microsoft-activation-scripts).**

178,586 stars · 17,085 forks · Batchfile · GPL-3.0

## Links

- GitHub: https://github.com/massgravel/Microsoft-Activation-Scripts
- Homepage: https://massgrave.dev
- awesome-repositories: https://awesome-repositories.com/repository/massgravel-microsoft-activation-scripts.md

## Topics

`activator` `hwid` `kms` `kms38` `massgrave` `massgravel` `microsoft` `microsoft365` `office` `office365` `ohook` `powershell` `tsforge` `windows` `windows-10` `windows-11`

## Description

This project is a collection of batch-based automation tools designed for managing software licensing, system configuration, and deployment. It provides a comprehensive toolkit for authorizing operating systems and productivity suites through various methods, including digital licensing, volume activation, and key management service emulation.

The toolkit distinguishes itself by offering specialized routines for both modern and legacy software environments. It employs advanced techniques such as hardware identity generation, dynamic memory hooking, and registry-level state manipulation to maintain persistent activation. Beyond licensing, the project includes utilities for retrieving official installation media, verifying file integrity via cryptographic checksums, and performing system repairs to resolve configuration or authorization errors.

The software covers a broad range of administrative tasks, including automated deployment, unattended installation customization, and the restoration of licensing components. It also provides diagnostic features to verify current activation states and troubleshoot common configuration failures. The entire suite is implemented as a modular set of command-line scripts intended for local machine management and system maintenance.

## Tags

### Part of an Awesome List

- [Activation Automators](https://awesome-repositories.com/f/awesome-lists/devtools/hardware-and-windows/activation-automators.md) — Automates the permanent licensing of operating systems using digital hardware identification and offline validation methods.

### Business & Productivity Software

- [Permanent Digital Licensing](https://awesome-repositories.com/f/business-productivity-software/license-management/permanent-digital-licensing.md) — Applies a hardware-based digital license to achieve permanent activation without ongoing background processes. ([source](https://massgrave.dev/chart))
- [License Management](https://awesome-repositories.com/f/business-productivity-software/license-management.md) — Provides command-line utilities for deploying permanent digital licenses, managing KMS configurations, and resetting activation states. ([source](https://massgrave.dev/chart))
- [Hardware ID Licensing](https://awesome-repositories.com/f/business-productivity-software/license-management/hardware-id-licensing.md) — Performs permanent digital license activation by generating a hardware ID to preserve system configuration. ([source](https://massgrave.dev/command_line_switches))
- [Manual Digital Licensing](https://awesome-repositories.com/f/business-productivity-software/license-management/manual-digital-licensing.md) — Applies a digital license ticket and product key to register an operating system installation as genuine. ([source](https://massgrave.dev/manual_hwid_activation))
- [Offline Activation Methods](https://awesome-repositories.com/f/business-productivity-software/license-management/offline-activation-methods.md) — Extends the activation period for operating systems using an offline, fileless method. ([source](https://massgrave.dev/kms38))
- [Volume Licensing Tools](https://awesome-repositories.com/f/business-productivity-software/license-management/volume-licensing-tools.md) — Applies digital licenses or volume activation methods to authorize various editions of the operating system. ([source](https://massgrave.dev/](https://massgrave.dev/))
- [Activation Utilities](https://awesome-repositories.com/f/business-productivity-software/office-productivity-software/activation-utilities.md) — Manages the authorization of productivity software through volume licensing, key management services, and persistent activation hooks. ([source](https://massgrave.dev/](https://massgrave.dev/))
- [Legacy Authorization Scripts](https://awesome-repositories.com/f/business-productivity-software/license-management/legacy-authorization-scripts.md) — Applies specialized scripts to permanently authorize older productivity software on legacy operating systems. ([source](https://massgrave.dev/unsupported_products_activation))
- [License Emulation](https://awesome-repositories.com/f/business-productivity-software/license-management/license-emulation.md) — Generates valid authentication tokens locally to simulate successful server-side validation without network connectivity.
- [Persistent Activation Hooks](https://awesome-repositories.com/f/business-productivity-software/license-management/persistent-activation-hooks.md) — Installs a background hook to manage license validation, providing a persistent activation state. ([source](https://massgrave.dev/command_line_switches))
- [Legacy Product Keys](https://awesome-repositories.com/f/business-productivity-software/office-productivity-software/activation-utilities/legacy-product-keys.md) — Provides valid activation keys for discontinued operating systems and productivity suites to restore functionality on older hardware. ([source](https://massgrave.dev/unsupported_products_activation))
- [Activation State Resets](https://awesome-repositories.com/f/business-productivity-software/activation-utilities/activation-state-resets.md) — Clears existing license locks, rearm counters, and evaluation periods to restore the system to a clean state. ([source](https://massgrave.dev/command_line_switches))
- [Manual Activation Tickets](https://awesome-repositories.com/f/business-productivity-software/activation-utilities/manual-activation-tickets.md) — Generates manual authentication files to verify system eligibility for activation when automated processes are unavailable. ([source](https://massgrave.dev/hwid))
- [Pre-activation Integrators](https://awesome-repositories.com/f/business-productivity-software/activation-utilities/pre-activation-integrators.md) — Embeds activation credentials into installation media to ensure the operating system is automatically licensed immediately upon deployment. ([source](https://massgrave.dev/hwid))

### System Administration & Monitoring

- [Windows Configuration Management](https://awesome-repositories.com/f/system-administration-monitoring/windows-configuration-management.md) — Provides a collection of batch-based automation tools for managing digital licenses, volume activation, and system configuration.
- [Licensing Repair Utilities](https://awesome-repositories.com/f/system-administration-monitoring/system-repair-tools/licensing-repair-utilities.md) — Restores corrupted registry keys and system services to resolve persistent software activation failures. ([source](https://massgrave.dev/guide_links))
- [System Repair Tools](https://awesome-repositories.com/f/system-administration-monitoring/system-repair-tools.md) — Diagnoses licensing errors, repairs corrupted system services, and restores registry settings to ensure stable software performance. ([source](https://massgrave.dev/guide_links))

### DevOps & Infrastructure

- [Windows Deployment Utilities](https://awesome-repositories.com/f/devops-infrastructure/windows-deployment-utilities.md) — Fetches official installation media, verifies file integrity via checksums, and applies custom configuration rules during system setup.
- [Automated Deployment Scripts](https://awesome-repositories.com/f/devops-infrastructure/deployment-management-strategies/automation-and-tooling/deployment-tooling/automated-deployment-scripts.md) — Streamlines the installation and licensing of software across multiple systems using unattended scripts and custom configuration rules.
- [Automated Deployments](https://awesome-repositories.com/f/devops-infrastructure/deployment-management/deployment-strategies/automated-deployments.md) — Executes activation routines in unattended mode to streamline the setup of multiple systems simultaneously. ([source](https://massgrave.dev/))

### Repository Format

- [Awesome List](https://awesome-repositories.com/f/repository-format/awesome-list.md) — A community-curated directory that catalogs and links out to other open-source projects, rather than a standalone tool you run yourself.

### Security & Cryptography

- [Binary Integrity Verification](https://awesome-repositories.com/f/security-cryptography/security/utilities/cryptographic-implementation-tools/binary-integrity-verification.md) — Calculates and compares cryptographic checksums of downloaded installation files against known official values to ensure integrity. ([source](https://massgrave.dev/genuine-installation-media))

### User Interface & Experience

- [Process Injection Mechanisms](https://awesome-repositories.com/f/user-interface-experience/dynamic-ui-injection/process-injection-mechanisms.md) — Inserts temporary background processes into software memory to intercept and override standard license verification routines.

### Networking & Communication

- [Service Emulators](https://awesome-repositories.com/f/networking-communication/service-emulators.md) — Intercepts and responds to local licensing requests by simulating an internal server to maintain persistent software authorization.
