<p align="center"><img src="https://massgrave.dev/img/logo_small.png" alt="MAS Logo"></p>

<h1 align="center">Microsoft  Activation  Scripts (MAS)</h1>

<p align="center">
    <a href="https://discord.gg/tVFN4N84PP"><img src="https://img.shields.io/badge/Chat%20with%20us%20on%20Discord--blue?style=social&logo=discord" alt="Chat with us without signup" title="Chat with us without signup"></a>
    <a href="https://www.reddit.com/r/MAS_Activator"><img src="https://img.shields.io/badge/MAS%20on%20Reddit--orange?style=social&logo=reddit" alt="MAS on Reddit" title="MAS on Reddit"></a>
    <a href="https://twitter.com/massgravel"><img src="https://img.shields.io/twitter/follow/massgravel" alt="Follow us on X" title="Follow us on X"></a>
</p>

<p align="center">A Windows and Office activator using HWID / Ohook / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections.</p>

<hr>
  
## Download / How to use?

### (Recommended) Method 1 - PowerShell
> The Powershell method does not work on Windows 7. Use Method 2 - Traditional instead.

> On older Windows builds you may need to run the following code before: `[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12`  

1. Left-click on the Windows start menu or click on your Windows key and type in PowerShell
2. Copy and paste the code below and press enter  
```
irm https://get.activated.win | iex
```
or (deprecated, will be retired on Aug 31 2024, use above instead)  
```
irm https://massgrave.dev/get | iex
```
3. A prompt to grant access will pop-up, click Yes
4. A new window will show up with 9 options (1 - 4 are for activation methods)
    1. HWID - Windows - Permanent
    2. Ohook - Office - Permanent
    3. KMS38 - Windows - Year 2038
    4. Online KMS - Windows/Office - 180 Days
    5. Activation Status
    6. Troubleshoot
    7. Extras
    8. Help
    9. Exit
5. Make a selection and continue from the on-screen steps

- The URL get.activated.win may be blocked by some DNS services because it is a new domain.

### Method 2 - Traditional

1. Download the file under the code button from [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) or [Bitbucket](https://bitbucket.org/WindowsAddict/microsoft-activation-scripts)
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-CRC32_XXXXXXXX.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](https://massgrave.dev/command_line_switches)

### [Troubleshooting / Help](https://massgrave.dev/troubleshoot)
### [Download Original Windows & Office](https://massgrave.dev/genuine-installation-media)
### [Homepage](https://massgrave.dev/)

```
Latest Version: 2.6
Release date: 20-Apr-2024
```

---

<p align="center">Made with Love ❤️</p>