Windows Activation Guide
Microsoft Activation Scripts (MAS) is an open-source collection of scripts that automates the process of activating Windows and Office products. It leverages various Microsoft-sanctioned activation channels without modifying core system files, making it a clean and reliable solution. This guide focuses on the Windows activation methods available within the MAS suite.
Understanding the Activation Methods
MAS offers four primary methods for Windows activation. Each method has distinct characteristics, permanence, and compatibility. Understanding these differences is key to selecting the appropriate one for your system and needs.
- HWID (Hardware ID): Permanent activation tied to your device's hardware profile.
- KMS38: Activation that is valid until the year 2038.
- TSforge: A specialized, permanent activation method for Windows Server editions.
- Online KMS: The traditional, renewable 180-day activation used in enterprise environments.
HWID: Permanent Digital License
A Hardware ID (HWID) activation is the gold standard for personal use. This method authenticates your machine with Microsoft's activation servers, which then generate a permanent digital license for your specific hardware combination (motherboard, CPU, etc.). This is the same legitimate process that occurs when you upgrade from an activated Windows 7/8.1 to Windows 10/11 or purchase a digital license from the Microsoft Store.
Once your device has a digital license, it remains activated forever, even through clean reinstalls of the same Windows edition. You do not need to run the activator again. The activation is tied to your hardware, not your Microsoft account, though linking it can help with reactivation after significant hardware changes.
Supported Editions:
- Windows 10/11: Core, CoreN, CoreSingleLanguage, Education, EducationN, Enterprise, EnterpriseN, EnterpriseS, EnterpriseSN, Professional, ProfessionalN, ProfessionalEducation, ProfessionalEducationN, ProfessionalWorkstation, ProfessionalWorkstationN.
HWID is the recommended method for all supported consumer and business editions of Windows 10 and 11.
KMS38: Activation Until 2038
The KMS38 method is an excellent alternative when HWID is not applicable. It works by emulating a legitimate KMS activation and then extending its validity to the maximum possible date, which is January 19, 2038. Unlike a standard KMS activation, KMS38 does not require reactivation every 180 days and works entirely offline after the initial activation.
This method is particularly useful for Enterprise LTSC/LTSB editions, which are not supported by the HWID method. It provides a long-term, set-and-forget solution that functions like a permanent license for all practical purposes.
Supported Editions:
- All editions supported by HWID, plus Windows 10 Enterprise LTSC/LTSB and Windows 11 Enterprise LTSC.
TSforge: Server Activation Solution
TSforge is a specialized activation method developed specifically for Windows Server editions. Standard methods like HWID are not compatible with Server SKUs. TSforge leverages a loophole in the activation process for Server editions that allows for a permanent, offline activation. It's a robust and reliable method designed to ensure that critical server infrastructure remains activated without needing periodic renewal.
Supported Editions:
- Windows Server 2016, 2019, 2022 (Standard, Datacenter, Essentials, and other variants).
If you are running a compatible Server OS, TSforge is the designated and most effective method available in the MAS suite.
Online KMS: The Renewable Standard
Online Key Management Service (KMS) is the most traditional activation method, widely used in corporate and educational institutions. It works by contacting a KMS server to validate the license. MAS includes a script that connects to public, community-maintained KMS servers on the internet to complete this process.
A KMS activation is valid for 180 days. To ensure the system remains activated, MAS creates a renewal task in the Windows Task Scheduler. This task runs automatically in the background twice a week to contact a KMS server and reset the 180-day activation period. This process is lightweight and seamless.
This is the most versatile method and serves as a fallback for any edition that cannot be activated via HWID, KMS38, or TSforge, including older versions like Windows 7 and 8.1.
Supported Editions:
- Windows 7, 8, 8.1, 10, 11, and all Server versions (Enterprise, Professional, etc.).
- It is also the primary method for activating volume-licensed Microsoft Office products. For more details, see our guide to Office activation.
Which Activation Method Should I Use?
Choosing the right method is straightforward if you follow this hierarchy:
- For Windows 10/11 (Non-LTSC): Use HWID. It's permanent and the best option.
- For Windows 10/11 (LTSC Editions): Use KMS38. It provides activation until 2038.
- For Windows Server (2016/2019/2022): Use TSforge. It's the designated permanent method for servers.
- For any other case (e.g., Windows 7/8.1, or if other methods fail): Use Online KMS. It's a reliable, renewable activation for all supported products.
How to Activate Windows Using MAS
Activating Windows with Microsoft Activation Scripts is a simple process. You can use the all-in-one script menu or run it directly with a single command in PowerShell.
Method 1: The PowerShell One-Liner (Recommended)
This is the fastest and easiest way to run the scripts.
- Right-click on the Windows start menu and select Terminal (Admin) or PowerShell (Admin).
- Copy and paste the following command into the terminal and press Enter:
irm https://get.activated.win | iex - A menu will appear. Press the corresponding number for your desired activation method (e.g.,
1for HWID,2for KMS38). - The script will automatically detect your Windows version and apply the activation.
- Wait for the success message to appear in the console.
- To verify, go to Settings > System > Activation (on Windows 11) or Settings > Update & Security > Activation (on Windows 10). It should state "Windows is activated with a digital license" or "Windows is activated."
Method 2: Manual Download
- Download the latest version of MAS. The file will be a compressed
.zipor.rararchive. - Extract the archive's contents to a folder on your computer. It's recommended to add this folder to your antivirus software's exclusion list to prevent false positives.
- Navigate into the extracted folder and then into the
All-In-One-Versiondirectory. - Right-click on the
MAS_AIO.cmdfile and select Run as administrator. - Follow the on-screen menu prompts as described in step 3 of the PowerShell method.
Is Using Microsoft Activation Scripts Safe?
Yes. The scripts are completely open-source and the code is publicly available on GitHub for anyone to inspect. They do not contain malware. The methods used are designed to be as clean as possible, leveraging built-in Windows functions and licensing channels. MAS does not modify or damage system files, ensuring system stability and integrity remain intact. The project is maintained by a trusted community and is widely regarded as the safest activation tool available.
What if My Antivirus Flags the Script?
Antivirus software, including Windows Defender, may sometimes flag the scripts as a threat (e.g., "HackTool:Win32/AutoKMS"). These are false positives. They occur because the scripts interact with Windows licensing and activation components in a way that some security heuristics interpret as suspicious. The code is not malicious. To resolve this, you can temporarily disable your antivirus before running the script or, for a permanent solution, add the script file or its folder to your antivirus exclusion list.
Can I Get Updates After Activating with MAS?
Absolutely. Activation status is entirely separate from the Windows Update service. Using MAS to activate your system will not interfere with your ability to download and install any official security patches, feature updates, or optional drivers from Microsoft. Your system will behave exactly like a retail-activated copy of Windows.
Will This Activation Ever Expire?
It depends on the method used:
- HWID and TSforge: These are permanent activations. They will never expire and will survive clean reinstalls of the same Windows edition on the same hardware.
- KMS38: This activation is set to expire in the year 2038. For all practical purposes, it is a lifetime activation.
- Online KMS: This activation expires every 180 days. However, MAS automatically creates a renewal task that runs in the background to reset the timer, effectively keeping your system permanently activated as long as it can connect to the internet periodically. If you encounter any issues, our troubleshooting guide can help.