Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b5d5c1e04 | ||
|
|
2780344194 |
No files matched your search
@@ -2676,6 +2676,10 @@ if not defined winserver (
|
|||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set rdsh=
|
||||||
|
for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAppCompat 2^>nul') do set "edid=%%a"
|
||||||
|
if "%edid%"=="0x1" set "rdsh=1"
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Check Smart App Control
|
:: Check Smart App Control
|
||||||
@@ -2725,6 +2729,9 @@ set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
|||||||
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
||||||
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
||||||
|
|
||||||
|
call :oh_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
call :oh_ppcpath
|
call :oh_ppcpath
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
@@ -2783,6 +2790,9 @@ set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
|||||||
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
||||||
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
||||||
|
|
||||||
|
call :oh_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
call :oh_ppcpath
|
call :oh_ppcpath
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
@@ -3126,6 +3136,22 @@ exit /b
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:oh_checkrdsh
|
||||||
|
|
||||||
|
set _rdshfail=
|
||||||
|
if defined winserver if defined rdsh if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
||||||
|
echo %_oIds% | find /i "Retail" %nul1% && (
|
||||||
|
set error=1
|
||||||
|
call :dk_color %Red% "Retail versions of Office cannot be activated with Ohook when running on a Remote Desktop Services host."
|
||||||
|
call :dk_color %Blue% "Go back to Main Menu, select Change Office Edition option, and change to Volume."
|
||||||
|
set _rdshfail=1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
||||||
|
|
||||||
:oh_fixprids
|
:oh_fixprids
|
||||||
@@ -3414,19 +3440,6 @@ call :dk_color %_Yellow% "%mas%"
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Add SharedComputerLicensing registry key if Retail Office C2R is installed on Windows Server
|
|
||||||
:: https://learn.microsoft.com/en-us/office/troubleshoot/office-suite-issues/click-to-run-office-on-terminal-server
|
|
||||||
|
|
||||||
if defined winserver if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
|
||||||
echo %_oIds% | find /i "Retail" %nul1% && (
|
|
||||||
set scaIsNeeded=1
|
|
||||||
reg add %_config% /v SharedComputerLicensing /t REG_SZ /d "1" /f %nul1%
|
|
||||||
echo Adding SharedComputerLicensing Reg [Successful] [Needed on Server With Retail Office]"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
exit /b
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
:oh_processmsi
|
:oh_processmsi
|
||||||
@@ -5249,6 +5262,10 @@ if not defined winserver (
|
|||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set rdsh=
|
||||||
|
for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAppCompat 2^>nul') do set "edid=%%a"
|
||||||
|
if "%edid%"=="0x1" set "rdsh=1"
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Process Office UWP
|
:: Process Office UWP
|
||||||
@@ -5317,6 +5334,9 @@ set "_oLPath=%_oRoot%\Licenses"
|
|||||||
set "pkeypath=%_oRoot%\Office15\pkeyconfig-office.xrm-ms"
|
set "pkeypath=%_oRoot%\Office15\pkeyconfig-office.xrm-ms"
|
||||||
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
||||||
|
|
||||||
|
call :ts_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo Processing Office... [C2R ^| %_version% ^| %_oArch%]
|
echo Processing Office... [C2R ^| %_version% ^| %_oArch%]
|
||||||
|
|
||||||
@@ -5359,6 +5379,9 @@ set "_oLPath=%_oRoot%\Licenses16"
|
|||||||
set "pkeypath=%_oRoot%\Office16\pkeyconfig-office.xrm-ms"
|
set "pkeypath=%_oRoot%\Office16\pkeyconfig-office.xrm-ms"
|
||||||
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
||||||
|
|
||||||
|
call :ts_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo Processing Office... [C2R ^| %_version% %_AudienceData%^| %_oArch%]
|
echo Processing Office... [C2R ^| %_version% %_AudienceData%^| %_oArch%]
|
||||||
|
|
||||||
@@ -5960,6 +5983,22 @@ exit /b
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:ts_checkrdsh
|
||||||
|
|
||||||
|
set _rdshfail=
|
||||||
|
if /i not %tsmethod%==KMS4k if defined rdsh if defined winserver if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
||||||
|
echo %_oIds% | find /i "Retail" %nul1% && (
|
||||||
|
set error=1
|
||||||
|
call :dk_color %Red% "Retail versions of Office cannot be activated with TSForge when running on a Remote Desktop Services host."
|
||||||
|
call :dk_color %Blue% "Go back to Main Menu, select Change Office Edition option, and change to Volume."
|
||||||
|
set _rdshfail=1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
:ts_process
|
:ts_process
|
||||||
|
|
||||||
if not exist "%pkeypath%" (
|
if not exist "%pkeypath%" (
|
||||||
@@ -6075,17 +6114,6 @@ echo "!allapps!" | find /i "!_actid!" %nul1% || call :oh_installlic
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Add SharedComputerLicensing registry key if Retail Office C2R is installed on Windows Server
|
|
||||||
:: https://learn.microsoft.com/en-us/office/troubleshoot/office-suite-issues/click-to-run-office-on-terminal-server
|
|
||||||
|
|
||||||
if /i not %tsmethod%==KMS4k if defined winserver if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
|
||||||
echo %_oIds% | find /i "Retail" %nul1% && (
|
|
||||||
set scaIsNeeded=1
|
|
||||||
reg add %_config% /v SharedComputerLicensing /t REG_SZ /d "1" /f %nul1%
|
|
||||||
echo Adding SharedComputerLicensing Reg [Successful] [Needed on Server With Retail Office]"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|||||||
@@ -598,6 +598,10 @@ if not defined winserver (
|
|||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set rdsh=
|
||||||
|
for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAppCompat 2^>nul') do set "edid=%%a"
|
||||||
|
if "%edid%"=="0x1" set "rdsh=1"
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Check Smart App Control
|
:: Check Smart App Control
|
||||||
@@ -647,6 +651,9 @@ set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
|||||||
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
||||||
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
||||||
|
|
||||||
|
call :oh_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
call :oh_ppcpath
|
call :oh_ppcpath
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
@@ -705,6 +712,9 @@ set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
|||||||
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
if /i "%_oArch%"=="x64" (set "_hookPath=%_oRoot%\vfs\System" & set "_hook=sppc64.dll")
|
||||||
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
if /i "%_oArch%"=="x86" (set "_hookPath=%_oRoot%\vfs\SystemX86" & set "_hook=sppc32.dll")
|
||||||
|
|
||||||
|
call :oh_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
call :oh_ppcpath
|
call :oh_ppcpath
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
@@ -1046,6 +1056,23 @@ if defined _osppPath86 set _hook86=sppc32.dll
|
|||||||
|
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:oh_checkrdsh
|
||||||
|
|
||||||
|
set _rdshfail=
|
||||||
|
if defined winserver if defined rdsh if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
||||||
|
echo %_oIds% | find /i "Retail" %nul1% && (
|
||||||
|
set error=1
|
||||||
|
call :dk_color %Red% "Retail versions of Office cannot be activated with Ohook when running on a Remote Desktop Services host."
|
||||||
|
call :dk_color %Blue% "Go back to Main Menu, select Change Office Edition option, and change to Volume."
|
||||||
|
set _rdshfail=1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
||||||
@@ -1336,17 +1363,6 @@ call :dk_color %_Yellow% "%mas%"
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Add SharedComputerLicensing registry key if Retail Office C2R is installed on Windows Server
|
|
||||||
:: https://learn.microsoft.com/en-us/office/troubleshoot/office-suite-issues/click-to-run-office-on-terminal-server
|
|
||||||
|
|
||||||
if defined winserver if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
|
||||||
echo %_oIds% | find /i "Retail" %nul1% && (
|
|
||||||
set scaIsNeeded=1
|
|
||||||
reg add %_config% /v SharedComputerLicensing /t REG_SZ /d "1" /f %nul1%
|
|
||||||
echo Adding SharedComputerLicensing Reg [Successful] [Needed on Server With Retail Office]"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|||||||
@@ -1355,6 +1355,10 @@ if not defined winserver (
|
|||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Server" %nul1% && set winserver=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set rdsh=
|
||||||
|
for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAppCompat 2^>nul') do set "edid=%%a"
|
||||||
|
if "%edid%"=="0x1" set "rdsh=1"
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Process Office UWP
|
:: Process Office UWP
|
||||||
@@ -1423,6 +1427,9 @@ set "_oLPath=%_oRoot%\Licenses"
|
|||||||
set "pkeypath=%_oRoot%\Office15\pkeyconfig-office.xrm-ms"
|
set "pkeypath=%_oRoot%\Office15\pkeyconfig-office.xrm-ms"
|
||||||
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
||||||
|
|
||||||
|
call :ts_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo Processing Office... [C2R ^| %_version% ^| %_oArch%]
|
echo Processing Office... [C2R ^| %_version% ^| %_oArch%]
|
||||||
|
|
||||||
@@ -1465,6 +1472,9 @@ set "_oLPath=%_oRoot%\Licenses16"
|
|||||||
set "pkeypath=%_oRoot%\Office16\pkeyconfig-office.xrm-ms"
|
set "pkeypath=%_oRoot%\Office16\pkeyconfig-office.xrm-ms"
|
||||||
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
set "_oIntegrator=%_oRoot%\integration\integrator.exe"
|
||||||
|
|
||||||
|
call :ts_checkrdsh
|
||||||
|
if defined _rdshfail goto :dk_done
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo Processing Office... [C2R ^| %_version% %_AudienceData%^| %_oArch%]
|
echo Processing Office... [C2R ^| %_version% %_AudienceData%^| %_oArch%]
|
||||||
|
|
||||||
@@ -2148,6 +2158,22 @@ exit /b
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:ts_checkrdsh
|
||||||
|
|
||||||
|
set _rdshfail=
|
||||||
|
if /i not %tsmethod%==KMS4k if defined rdsh if defined winserver if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
||||||
|
echo %_oIds% | find /i "Retail" %nul1% && (
|
||||||
|
set error=1
|
||||||
|
call :dk_color %Red% "Retail versions of Office cannot be activated with TSForge when running on a Remote Desktop Services host."
|
||||||
|
call :dk_color %Blue% "Go back to Main Menu, select Change Office Edition option, and change to Volume."
|
||||||
|
set _rdshfail=1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
:ts_process
|
:ts_process
|
||||||
|
|
||||||
if not exist "%pkeypath%" (
|
if not exist "%pkeypath%" (
|
||||||
@@ -2263,17 +2289,6 @@ echo "!allapps!" | find /i "!_actid!" %nul1% || call :oh_installlic
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Add SharedComputerLicensing registry key if Retail Office C2R is installed on Windows Server
|
|
||||||
:: https://learn.microsoft.com/en-us/office/troubleshoot/office-suite-issues/click-to-run-office-on-terminal-server
|
|
||||||
|
|
||||||
if /i not %tsmethod%==KMS4k if defined winserver if defined _config if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" (
|
|
||||||
echo %_oIds% | find /i "Retail" %nul1% && (
|
|
||||||
set scaIsNeeded=1
|
|
||||||
reg add %_config% /v SharedComputerLicensing /t REG_SZ /d "1" /f %nul1%
|
|
||||||
echo Adding SharedComputerLicensing Reg [Successful] [Needed on Server With Retail Office]"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|||||||
@@ -1,84 +1,60 @@
|
|||||||
<p align="center"><img src="https://massgrave.dev/img/logo_small.png" alt="MAS Logo"></p>
|
<p align="center"><img src="https://massgrave.dev/img/logo_small.png" alt="MAS Logo"></p>
|
||||||
|
|
||||||
<h1 align="center">Microsoft Activation Scripts (MAS)</h1>
|
<h1 align="center">Microsoft Activation Scripts (MAS)</h1>
|
||||||
|
|
||||||
<p align="center">Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.</p>
|
<p align="center">Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.</p>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
## How to Activate Windows / Office / Extended Security Updates (ESU)?
|
## How to Activate Windows / Office / Extended Security Updates (ESU)?
|
||||||
|
|
||||||
### Method 1 - PowerShell ❤️
|
### Method 1 - PowerShell ❤️
|
||||||
|
|
||||||
1. Click the **Start Menu**, type `PowerShell`, and open it.
|
1. Click the **Start Menu**, type `PowerShell`, and open it.
|
||||||
|
|
||||||
2. Copy and paste the code below and press **Enter.**
|
2. Copy and paste the code below and press **Enter.**
|
||||||
- For **Windows 8.1, 10 and 11**:
|
- For **Windows 8.1, 10 and 11**:
|
||||||
```
|
```
|
||||||
irm https://get.activated.win | iex
|
irm https://get.activated.win | iex
|
||||||
```
|
```
|
||||||
If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11):
|
If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11):
|
||||||
```
|
```
|
||||||
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
|
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
|
||||||
```
|
```
|
||||||
- **Script not launching? Use the below-listed Method 2.**
|
- **Script not launching? Use the below-listed Method 2.**
|
||||||
|
|
||||||
3. In the menu that appears, type the number corresponding to one of the **Green** options.
|
3. In the menu that appears, type the number corresponding to one of the **Green** options.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Method 2 - Traditional (Windows Vista and later)
|
### Method 2 - Traditional (Windows Vista and later)
|
||||||
|
|
||||||
1. Download the script:
|
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_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_AIO.zip**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?$format=zip) (If the direct script is blocked by your browser)
|
* [**MAS_AIO.zip**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?$format=zip) (If the direct script is blocked by your browser)
|
||||||
2. Run the `MAS_AIO.cmd` file.
|
2. Run the `MAS_AIO.cmd` file.
|
||||||
3. In the menu that appears, type the number corresponding to one of the **Green** options.
|
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 [DNS-over-HTTPS (DoH)](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/) in your browser.
|
> - Some ISPs/DNS providers block access to our domains. You can bypass this by enabling [DNS-over-HTTPS (DoH)](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/) in your browser.
|
||||||
> - **Having trouble**? Visit our [troubleshooting page](https://massgrave.dev/troubleshoot) or raise an issue on [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts/issues).
|
> - **Having trouble**? Visit our [troubleshooting page](https://massgrave.dev/troubleshoot) or raise an issue on [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts/issues).
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
>
|
>
|
||||||
> - The `irm` command in PowerShell downloads a script from a specified URL, and the `iex` command executes it.
|
> - The `irm` command in PowerShell downloads a script from a specified URL, and the `iex` command executes it.
|
||||||
> - Always double-check the URL before executing the command and verify the source is trustworthy when manually downloading files.
|
> - Always double-check the URL before executing the command and verify the source is trustworthy when manually downloading files.
|
||||||
> - Be cautious of third parties spreading malware disguised as MAS by altering the URL in the PowerShell command.
|
> - Be cautious of third parties spreading malware disguised as MAS by altering the URL in the PowerShell command.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
### Homepage - [https://massgrave.dev/](https://massgrave.dev/)
|
### Homepage - [https://massgrave.dev/](https://massgrave.dev/)
|
||||||
|
|
||||||
[![1.1]][1]
|
|
||||||
[![1.2]][2]
|
---
|
||||||
[![1.3]][3]
|
|
||||||
[![1.4]][4]
|
Latest Version: 3.11
|
||||||
[![1.5]][5]
|
Release date: 02-May-2026
|
||||||
[![1.6]][6]
|
|
||||||
[![1.7]][7]
|
|
||||||
|
|
||||||
[1.1]: https://massgrave.dev/img/logo_discord.png (Chat with us without signup)
|
|
||||||
[1.2]: https://massgrave.dev/img/logo_reddit.png (Reddit)
|
|
||||||
[1.3]: https://massgrave.dev/img/logo_bluesky.png (Bluesky)
|
|
||||||
[1.4]: https://massgrave.dev/img/logo_x.png (Twitter)
|
|
||||||
|
|
||||||
[1.5]: https://massgrave.dev/img/logo_github.png (GitHub)
|
|
||||||
[1.6]: https://massgrave.dev/img/logo_azuredevops.png (AzureDevOps)
|
|
||||||
[1.7]: https://massgrave.dev/img/logo_gitea.png (Self-hosted Git)
|
|
||||||
|
|
||||||
[1]: https://discord.gg/j2yFsV5ZVC
|
|
||||||
[2]: https://www.reddit.com/r/MAS_Activator
|
|
||||||
[3]: https://bsky.app/profile/massgrave.dev
|
|
||||||
[4]: https://twitter.com/massgravel
|
|
||||||
[5]: https://github.com/massgravel/Microsoft-Activation-Scripts
|
|
||||||
[6]: https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts
|
|
||||||
[7]: https://git.activated.win/Microsoft-Activation-Scripts
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Latest Version: 3.11
|
|
||||||
Release date: 02-May-2026
|
|
||||||
Reference in new issue
Block a user