Convert Figma logo to code with AI

massgravel logoMicrosoft-Activation-Scripts

Open-source Windows and Office activator featuring HWID, Ohook, KMS38, and Online KMS activation methods, along with advanced troubleshooting.

94,893
9,256
94,893
1

Top Related Projects

8,345

KMS Emulator in C (currently runs on Linux including Android, FreeBSD, Solaris, Minix, Mac OS, iOS, Windows with or without Cygwin)

CloudMoe Windows 10/11 Activation Toolkit get digital license, the best open source Win 10/11 activator in GitHub. GitHub 上最棒的开源 Win10/Win11 数字权利(数字许可证)激活工具!

Smart Activation Script

🔑KMS_VL_ALL - Smart Activation Script

Quick Overview

Microsoft-Activation-Scripts (MAS) is a collection of open-source scripts designed to activate Microsoft products, including Windows and Office. It provides a user-friendly interface for activating various Microsoft products using different methods, such as KMS38 and HWID.

Pros

  • Easy-to-use interface with both GUI and command-line options
  • Supports activation of multiple Microsoft products, including Windows and Office
  • Regularly updated to maintain compatibility with the latest Microsoft releases
  • Open-source and community-driven, allowing for transparency and contributions

Cons

  • May be considered a gray area in terms of legality and Microsoft's terms of service
  • Potential security risks if scripts are modified or obtained from untrusted sources
  • Activation methods may be detected or blocked by Microsoft in future updates
  • Not a permanent solution, as some activation methods may require renewal

Getting Started

To use Microsoft-Activation-Scripts:

  1. Visit the GitHub repository: https://github.com/massgravel/Microsoft-Activation-Scripts
  2. Download the latest release of MAS_AIO.cmd
  3. Right-click the downloaded file and select "Run as administrator"
  4. Follow the on-screen instructions to activate your Microsoft products

Note: Always ensure you download the scripts from the official repository to avoid potential security risks.

Competitor Comparisons

8,345

KMS Emulator in C (currently runs on Linux including Android, FreeBSD, Solaris, Minix, Mac OS, iOS, Windows with or without Cygwin)

Pros of vlmcsd

  • Lightweight and efficient KMS emulator
  • Cross-platform support (Windows, Linux, macOS, etc.)
  • Can be used as both a client and server

Cons of vlmcsd

  • Requires more technical knowledge to set up and use
  • Limited documentation and user support
  • Focused solely on KMS activation, lacking other activation methods

Code Comparison

vlmcsd:

int main(int argc, CARGV argv) {
    // Initialize and parse command line
    parseCommandLine(argc, argv);
    // Start KMS server
    runServer();
    return 0;
}

Microsoft-Activation-Scripts:

@echo off
setlocal EnableExtensions EnableDelayedExpansion
mode con cols=98 lines=30
title Microsoft Activation Scripts

call :MainMenu
exit /b

Summary

vlmcsd is a lightweight, cross-platform KMS emulator that can be used as both client and server. It requires more technical expertise but offers flexibility for advanced users. Microsoft-Activation-Scripts provides a user-friendly interface with multiple activation methods, making it more accessible for general users. The choice between the two depends on the user's technical skills and specific activation needs.

CloudMoe Windows 10/11 Activation Toolkit get digital license, the best open source Win 10/11 activator in GitHub. GitHub 上最棒的开源 Win10/Win11 数字权利(数字许可证)激活工具!

Pros of CMWTAT_Digital_Edition

  • User-friendly graphical interface for easier activation
  • Supports both Windows and Office activation in one tool
  • Regularly updated with new features and compatibility improvements

Cons of CMWTAT_Digital_Edition

  • Less comprehensive documentation compared to Microsoft-Activation-Scripts
  • May trigger antivirus software due to its executable nature
  • Limited command-line options for advanced users

Code Comparison

CMWTAT_Digital_Edition (C#):

public static bool ActivateWindows()
{
    string script = "slmgr /ato";
    return ExecuteCommand(script);
}

Microsoft-Activation-Scripts (Batch):

:KMS38Activation
set "KMS38_Key=NPPR9-FWDCX-D2C8J-H872K-2YT43"
cscript //Nologo %windir%\System32\slmgr.vbs /ipk %KMS38_Key% >nul

Both projects aim to activate Microsoft products, but they use different approaches. CMWTAT_Digital_Edition provides a GUI and uses C# for its implementation, while Microsoft-Activation-Scripts relies on batch scripts for a more lightweight and flexible solution. The code snippets show the activation process for each tool, with CMWTAT_Digital_Edition using a simple command execution and Microsoft-Activation-Scripts employing a more detailed KMS-based activation method.

Smart Activation Script

Pros of KMS_VL_ALL_AIO

  • More comprehensive activation support for various Microsoft products
  • Includes a graphical user interface (GUI) option for easier use
  • Offers more detailed logging and diagnostic information

Cons of KMS_VL_ALL_AIO

  • Larger file size due to additional features and GUI components
  • May be more complex for users who prefer simpler, command-line solutions
  • Less frequent updates compared to Microsoft-Activation-Scripts

Code Comparison

KMS_VL_ALL_AIO:

@echo off
set "SysPath=%SystemRoot%\System32"
if exist "%SystemRoot%\Sysnative\reg.exe" (set "SysPath=%SystemRoot%\Sysnative")
set "Path=%SysPath%;%SystemRoot%;%SysPath%\Wbem;%SysPath%\WindowsPowerShell\v1.0\"

Microsoft-Activation-Scripts:

@echo off
set "nul=>nul 2>&1"
set "_psc=powershell -nop -ep bypass -c"
set "_buf={$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=31;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}"

Both scripts use batch commands to set up the environment, but KMS_VL_ALL_AIO focuses on system path configuration, while Microsoft-Activation-Scripts includes PowerShell commands and adjusts the console window size.

🔑KMS_VL_ALL - Smart Activation Script

Pros of KMS_VL_ALL

  • Supports a wider range of Microsoft products, including Office and Windows Server editions
  • Offers more customization options for advanced users
  • Includes built-in troubleshooting tools and diagnostic features

Cons of KMS_VL_ALL

  • Less user-friendly interface, requiring more technical knowledge
  • May trigger antivirus software more frequently due to its implementation
  • Lacks some of the modern activation methods found in Microsoft-Activation-Scripts

Code Comparison

KMS_VL_ALL:

@echo off
set KMS_Emulation=1
set KMS_ActivationInterval=43200
set KMS_RenewalInterval=43200

Microsoft-Activation-Scripts:

$KMS_RenewalInterval = 10080
$KMS_ActivationInterval = 120
$KMS_HWID = "364F463A8863D35F"

Both projects use similar activation techniques, but KMS_VL_ALL tends to use batch scripts, while Microsoft-Activation-Scripts primarily utilizes PowerShell. The code snippets show how each project sets key activation parameters, with KMS_VL_ALL using longer intervals by default.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

MAS Logo

Microsoft Activation Scripts (MAS)

A Windows and Office activator using HWID / Ohook / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections.

Chat with us without signup MAS on Reddit Follow us on X


Download / How to use it?

Method 1 - PowerShell (Windows 8 and later) ❤️

  1. Open PowerShell (Not CMD). To do that, right-click on the Windows start menu and select PowerShell or Terminal.
  2. Copy and paste the code below and press enter
irm https://get.activated.win | iex

or (deprecated, will be retired on Dec 31 2024, use above instead)

irm https://massgrave.dev/get | iex
  1. You will see the activation options. Choose [1] HWID for Windows activation. Choose [2] Ohook for Office activation.
  2. That's all.

  • On older Windows builds you may need to run the below command before,
    [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12
  • The Powershell method does not work on Windows 7. Use the Method 2 - Traditional instead.
  • The URL get.activated.win may be blocked by some DNS services because it is a new domain.

Method 2 - Traditional (Windows 7 and later)

  1. Download the file under the code button from GitHub or Bitbucket or Codeberg
  2. Right-click on the downloaded zip file and extract
  3. In the extracted folder, find the folder named All-In-One-Version
  4. Run the file named MAS_AIO.cmd
  5. You will see the activation options, follow the on-screen instructions.
  6. That's all.

To run the scripts in unattended mode, check here


Latest Version: 2.7
Release date: 6-Sep-2024

Troubleshooting / Help

Download Original Windows & Office

Homepage - https://massgrave.dev/


Made with Love ❤️