> ## Documentation Index
> Fetch the complete documentation index at: https://vault.billoxd.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to activate Windows 10/11 

# **<u>Microsoft Activation Scripts (MAS)</u>**

An open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.

### **Activation Methods**

* [**Method 1: PowerShell (Recommended)**](#method-#1)
* [**Method 2: Traditional (Offline)**](#method-#2)

# ⚡<u>Method #1</u>

**This method is the most convenient and works on Windows 8.1, 10, and 11.**

1. Click the **Start Menu**, type `PowerShell`, and open it.
2. Copy and paste the code below and press **Enter.**

```text theme={null}
   irm https://get.activated.win | iex
```

3. In the menu that appears, type the number corresponding to one of the **Green** options.

<ResponseField name="Having trouble? " type="(Blocked by ISP or Old Windows)">
  <Expandable title="How to fix?">
    **If the command is blocked:**\
    Some ISPs block the URL. Use this command to bypass DNS blocks (Windows 10/11 only):

    ```c# theme={null}
    iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)

    ```

    **If you receive a TLS/SSL Error (Older Windows):**\
    If you are on Windows 7 or an old build of 8/10, run this command *before* the main command:

    ```c# theme={null}
    [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolT
    ```
  </Expandable>
</ResponseField>

# ⚡<u>Method #2</u>

**Use this method if you prefer downloading a file or cannot use the PowerShell method.**

1. Download the script:
   * [**MAS\_AIO.cmd**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd\&download=true) (Direct script)
   * **[MAS\_](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?\$format=zip)[AIO.zip](http://AIO.zip)** (If the direct script is blocked by your browser)
2. Run the `MAS_AIO.cmd` file.
3. In the menu that appears, type the number corresponding to one of the **Green** options.

<Tip>
  **Tip**

  * Some ISPs/DNS providers block access to our domains. You can bypass this by enabling [<u>DNS-over-HTTPS (DoH)</u>](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/) in your browser.
  * **Having trouble?** Connect with us [<u>here</u>](https://massgrave.dev/troubleshoot).
</Tip>

* To activate additional products such as **Office for macOS, Visual Studio, RDS CALs, and Windows XP**, see [here](https://massgrave.dev/unsupported_products_activation).
