Compare commits

..

8 Commits

9 changed files with 104 additions and 73 deletions

View File

@ -5,7 +5,7 @@ Please feel free to share feedback regarding bug reports, documentation errors,
- [Discord](https://discord.gg/tVFN4N84PP) ❤️ (signup not required) - Discussion - [Discord](https://discord.gg/tVFN4N84PP) ❤️ (signup not required) - Discussion
- [Reddit](https://www.reddit.com/r/MAS_Activator/) - [Reddit](https://www.reddit.com/r/MAS_Activator/)
- [Twitter](https://twitter.com/massgravel) - [Twitter](https://twitter.com/massgravel)
- [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Bitbucket](https://bitbucket.org/WindowsAddict/microsoft-activation-scripts) / [Codeberg](https://codeberg.org/massgravel/Microsoft-Activation-Scripts) - [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts)
- Email: mas.help@outlook.com - Email: mas.help@outlook.com
- [Nsaneforums](https://nsaneforums.com/topic/316668--) - [Nsaneforums](https://nsaneforums.com/topic/316668--)

View File

@ -20,26 +20,13 @@ Use the Ohook option in MAS.
Check [here](troubleshoot.md). Check [here](troubleshoot.md).
#### Is MAS safe? How can I know if there is any malware? #### Is MAS safe? How can I know if there is any malware?
MAS is fully [open-source](intro.md#mas-latest-release). You can open the batch files with Notepad and verify it. It has many users/stars on GitHub. You can even perform the activation manually, check the Docs section for instructions. MAS is fully [open-source](intro.md#mas-latest-release). It has over 96K stars on GitHub and is used by millions of people. You can open the batch files with Notepad and verify the code, or take help from ChatGPT if you don't understand something. You can even perform the activation manually, check the Docs section for instructions.
#### When is the release date for Windows 11 Enterprise LTSC? #### How to download the full version of Windows 10/11 Enterprise LTSC?
It will be officially released in 2nd half of 2024, more [info](https://techcommunity.microsoft.com/t5/windows-it-pro-blog/windows-client-roadmap-update-april-2023/ba-p/3805227). Download links will be shared here.
Insider build ISO for Windows 11 LTSC has been leaked but we recommend not installing it for general use because its authenticity can not be verified.
Update - 24-May-2024
Windows 11 IoT Enterprise LTSC 24H2 is released to OEMs. We got the official links from OEM portal, and it's added [here](windows_ltsc_links.md).
#### Where is the info related to Office 2024?
Check [here](https://gravesoft.dev/office_c2r_custom/#microsoft-office-2024-preview).
#### How to download the full version of Windows 10 LTSC 2021?
Check the info [here](genuine-installation-media.md). Check the info [here](genuine-installation-media.md).
#### I've downloaded Enterprise LTSC from Microsoft, why MAS is not activating it?
Microsoft doesn't provide the full LTSC version for free, instead, it provides an evaluation copy that works for 90 days and can not be activated. You need to install the full version from [here](genuine-installation-media.md) to be able to activate.
#### How to change the Windows edition from Home to Pro? #### How to change the Windows edition from Home to Pro?
In MAS, go to Extras and select the Change Edition option. In MAS, select the Change Windows Edition option.
#### Will I lose any data in changing the Windows edition from Home to Pro with MAS? #### Will I lose any data in changing the Windows edition from Home to Pro with MAS?
No. No.
@ -69,7 +56,7 @@ It is appearing even for customers who have a genuine subscription license and t
No. [Copilot](https://www.microsoft.com/microsoft-365/microsoft-copilot) is an additional plan that can be added to existing subscriptions of Microsoft 365. No. [Copilot](https://www.microsoft.com/microsoft-365/microsoft-copilot) is an additional plan that can be added to existing subscriptions of Microsoft 365.
#### Can I get Python in Excel with MAS activation? #### Can I get Python in Excel with MAS activation?
[Python in Excel](https://support.microsoft.com/office/introduction-to-python-in-excel-55643c2e-ff56-4168-b1ce-9428c8308545) is currently in the preview and it's a server-side feature. To get this feature, you need to switch the office update channel to the [Insider build](https://github.com/massgravel/Microsoft-Activation-Scripts/discussions/399#discussioncomment-8871527) and then you will be able to get a few tries to test it if you don't have a Microsoft 365 subscription, meaning to get full access, you need a subscription license and it won't work with MAS activation. No. [Python in Excel](https://support.microsoft.com/office/introduction-to-python-in-excel-55643c2e-ff56-4168-b1ce-9428c8308545) is a server-side feature. To get this, you need to have a Microsoft 365 subscription.
#### I'm getting an 'Office is not genuine' banner. #### I'm getting an 'Office is not genuine' banner.
Run Ohook activation from the latest MAS version. Run Ohook activation from the latest MAS version.

View File

@ -95,8 +95,20 @@ Now a question, can Microsoft block the new requests or revoke already establish
## How to remove HWID? ## How to remove HWID?
- You cannot remove it, just like you cannot remove an official Windows digital license. Once a system is activated, this activation cannot be removed because the license is stored in the Microsoft servers and not in the user's system. MS checks the hardware ID (HWID) and if a license is found in their database, the system will automatically activate. - **HWID (Digital license) activation cannot be removed** because the license is stored in the Microsoft servers and not in the user's system.
- If you still want to remove the activation for any XYZ reason, you can either use the change edition option in the extras section in MAS **or** get the KMS key from [here](kms38.md#supported-products) and enter this in the Windows settings activation page. - Microsoft checks the hardware ID (HWID) and if a license is found in their database, the system will automatically activate. This is how Official digital license activation process works.
**What if you still want to remove it?**
- As explained above, you cannot remove it for your hardware, only major hardware change such as CPU, motherboard can remove the activation.
**What if you just want to keep Windows in the unactivated stage?**
- To do that, you can install the [KMS key](kms38.md#supported-products) in the Windows settings activation page
Or
- Change the edition using Change Windows edition option in MAS.
- **Note:**
- Windows settings will instantly show that Windows is not activated but it usually takes 3 hours for the Activation Watermark to appear.
- These options will simply hide the HWID activation. If you reinstall Windows with the same edition or restore the default generic Retail/OEM keys, the system will automatically activate again if an Internet connection is found.
------------------------------------------------------------------------ ------------------------------------------------------------------------

View File

@ -45,7 +45,7 @@ irm https://massgrave.dev/get | iex
</TabItem> </TabItem>
<TabItem value="Method 2" label="Method 2 - Traditional (Windows 7 and later)" default> <TabItem value="Method 2" label="Method 2 - Traditional (Windows 7 and later)" default>
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) or [Codeberg](https://codeberg.org/massgravel/Microsoft-Activation-Scripts) 1. Download the file under the code button from [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) or [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts)
2. Right-click on the downloaded zip file and extract 2. Right-click on the downloaded zip file and extract
3. In the extracted folder, find the folder named `All-In-One-Version` 3. In the extracted folder, find the folder named `All-In-One-Version`
4. Run the file named `MAS_AIO.cmd` 4. Run the file named `MAS_AIO.cmd`
@ -70,7 +70,7 @@ irm https://massgrave.dev/get | iex
## MAS Latest Release ## MAS Latest Release
Last Release - v2.7 (6-Sep-2024) Last Release - v2.7 (6-Sep-2024)
[GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Bitbucket](https://bitbucket.org/WindowsAddict/microsoft-activation-scripts) / [Codeberg](https://codeberg.org/massgravel/Microsoft-Activation-Scripts) [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts)
------------------------------------------------------------------------ ------------------------------------------------------------------------

View File

@ -1,32 +1,6 @@
# Office For Mac # Office For Mac
All download links lead to Official Microsoft files only including the activator. All the listed Office installer and activator download links lead to Official Microsoft files only.
## Office Activator
:::info[Activation Guide]
- Run this [Official Microsoft tool](https://go.microsoft.com/fwlink/?linkid=849815) to reset the Office licenses. (Skip this if you never opened Office apps on your macOS)
- Now run the below listed activator pkg file and install. (**Don't open Office before installing pkg file**)
- Now install Office for your macOS version if its not installed.
- Your office should be activated now.
- If you are still facing any issues with activation, run this [Unlicene tool](https://github.com/pbowden-msft/Unlicense) to clean the licenses and then reapply the activator pkg file.
- If you are still facing any issue, connect with us [here](troubleshoot.md).
:::
pkg files are extracted from the official iso files. These serializer files are only available to paid VLSC subscribers, however anyone can activate Office using it.
| Serializer | Activator | Applicable On |
|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------|
| Office 2024 ❤️ | [pkg](https://drive.massgrave.dev/Microsoft_Office_LTSC_2024_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2024_MLF_X23-81811.ISO) | Sonoma, Ventura, Monterey |
| Office 2021 | [pkg](https://drive.massgrave.dev/Microsoft_Office_LTSC_2021_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2021_MLF_X22-74226.iso) | Sonoma, Ventura, Monterey, Big Sur, Catalina, Mojave |
| Office 2019 (Old) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2019_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2019_MLF_X21-88135.iso) | High Sierra, Sierra |
| Office 2016 (Old) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2016_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2016_MLF_X21-83220.iso) | El Capitan, Yosemite |
| Office 2019 (New) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2019_VL_Serializer_Universal.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2019_MLF_X22-61752.iso) | |
| Office 2016 (New) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2016_64_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2016_-2_MLF_X21-93585.iso) | |
------------------------------------------------------------------------
## Office Installer ## Office Installer
@ -35,8 +9,9 @@ import TabItem from '@theme/TabItem';
<Tabs> <Tabs>
<TabItem value="macOS 12, 13, 14" label="Sonoma, Ventura, Monterey ❤️" default> <TabItem value="macOS 12, 13, 14, 15" label="Sequoia, Sonoma, Ventura, Monterey" default>
macOS Sequoia (macOS 15)
macOS Sonoma (macOS 14) macOS Sonoma (macOS 14)
macOS Ventura (macOS 13) macOS Ventura (macOS 13)
macOS Monterey (macOS 12) macOS Monterey (macOS 12)
@ -195,3 +170,41 @@ It's no longer supported by Microsoft, and Office doesn't receive updates.
</TabItem> </TabItem>
</Tabs> </Tabs>
**Other Resources**
https://learn.microsoft.com/officeupdates/update-history-office-for-mac
https://macadmins.software/
---
## Office Activation
- Install Office for your macOS version from the above table if not installed.
- If you have ever opened Office apps on your macOS, then run this [Office-Reset tool](https://app.box.com/s/hctdoltzt36hnc37440lmgkjwp3qncpw) - [(Mirror)](https://web.archive.org/web/20240511013636/https://office-reset.com/) and clean the licenses.
- Now run the below-listed activator pkg file and install. (**Don't open Office apps before installing activator pkg file**)
- Your office should be activated now.
---
The below activator (serializer) pkg files are extracted from the official iso files. These serializer files are only available to [paid subscribers](https://learn.microsoft.com/microsoft-365-apps/mac/volume-license-serializer), however anyone can activate Office using it.
| Serializer | Activator | Applicable On |
|:------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------|
| Office 2024 ❤️ | [pkg](https://drive.massgrave.dev/Microsoft_Office_LTSC_2024_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2024_MLF_X23-81811.ISO) | Sequoia, Sonoma, Ventura, Monterey |
| Office 2021 | [pkg](https://drive.massgrave.dev/Microsoft_Office_LTSC_2021_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2021_MLF_X22-74226.iso) | Sequoia, Sonoma, Ventura, Monterey, Big Sur, Catalina, Mojave |
| Office 2019 (Old) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2019_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2019_MLF_X21-88135.iso) | High Sierra, Sierra |
| Office 2016 (Old) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2016_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2016_MLF_X21-83220.iso) | El Capitan, Yosemite |
| Office 2019 (New) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2019_VL_Serializer_Universal.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2019_MLF_X22-61752.iso) | |
| Office 2016 (New) | [pkg](https://drive.massgrave.dev/Microsoft_Office_2016_64_VL_Serializer.pkg) - [iso](https://drive.massgrave.dev/SWDVD5_Office_Mac_Serializer_2016_-2_MLF_X21-93585.iso) | |
:::tip
- If activation is not working then,
- Uninstall all the Office apps
- Clean everything using [Office-Reset tool](https://app.box.com/s/hctdoltzt36hnc37440lmgkjwp3qncpw) - [(Mirror)](https://web.archive.org/web/20240511013636/https://office-reset.com/)
- Now redo the Office installation and activation as explained above.
- If you are still facing any issues, connect with us [here](troubleshoot.md).
:::
------------------------------------------------------------------------

View File

@ -169,15 +169,26 @@ https://os.click/
</TabItem> </TabItem>
</Tabs> </Tabs>
### Windows 11 24H2 (Preview) ### Windows 11 24H2
<Tabs> <Tabs>
<TabItem value="Windows 11 Consumer / Business" label="Windows 11 Consumer / Business 24H2 " default> <TabItem value="Windows 11 Consumer / Business" label="Windows 11 Consumer / Business 24H2 " default>
**Windows 11 Consumer / Business 24H2** **Windows 11 Consumer / Business 24H2**
**Preview:**
https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso
**Final:**
Build - 26100.1742
The below ISO's are taken from the Official OEM portal.
This final release is not available on MSDL/MVS yet, hence not available in all languages.
| Language | Arch | Link |
|:---------|:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| English | x64 | [X23-81971_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_CONSUMER_x64FRE_en-us.iso](https://drive.massgrave.dev/X23-81971_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_CONSUMER_x64FRE_en-us.iso) |
| English | ARM64 | [X23-81973_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_CONSUMER_A64FRE_en-us.iso](https://drive.massgrave.dev/X23-81973_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_CONSUMER_A64FRE_en-us.iso) |
------------------------------------------------------------------------ ------------------------------------------------------------------------
</TabItem> </TabItem>
@ -186,8 +197,8 @@ https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso
**Windows 11 IoT Enterprise 24H2** **Windows 11 IoT Enterprise 24H2**
**(Not LTSC)** **(Not LTSC)**
Build - 26100.1 Build - 26100.1742 (Final, GA)
These ISO's are released to OEMs on May 22, 2024. They contain below editions, These ISO's contain below editions,
Windows 11 Enterprise Windows 11 Enterprise
Windows 11 IoT Enterprise Windows 11 IoT Enterprise
@ -195,8 +206,8 @@ Windows 11 IoT Enterprise Subscription
| Language | Arch | Link | | Language | Arch | Link |
|:---------|:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |:---------|:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| English | ARM64 | [26100.1.240331-1435.ge_release_CLIENTENTERPRISE_OEM_A64FRE_en-us.iso](https://drive.massgrave.dev/26100.1.240331-1435.ge_release_CLIENTENTERPRISE_OEM_A64FRE_en-us.iso) | | English | x64 | [X23-81952_26100.1742.240906-0331.ge_release_svc_refresh_CLIENTENTERPRISE_OEM_x64FRE_en-us.iso](https://drive.massgrave.dev/X23-81952_26100.1742.240906-0331.ge_release_svc_refresh_CLIENTENTERPRISE_OEM_x64FRE_en-us.iso) |
| English | x64 | [26100.1.240331-1435.ge_release_CLIENTENTERPRISE_OEM_x64FRE_en-us.iso](https://drive.massgrave.dev/26100.1.240331-1435.ge_release_CLIENTENTERPRISE_OEM_x64FRE_en-us.iso) | | English | ARM64 | [X23-81976_26100.1742.240906-0331.ge_release_svc_refresh_CLIENTENTERPRISE_OEM_A64FRE_en-us.iso](https://drive.massgrave.dev/X23-81976_26100.1742.240906-0331.ge_release_svc_refresh_CLIENTENTERPRISE_OEM_A64FRE_en-us.iso) |
------------------------------------------------------------------------ ------------------------------------------------------------------------

View File

@ -79,9 +79,9 @@ import TabItem from '@theme/TabItem';
**Windows 11 IoT Enterprise LTSC 2024** **Windows 11 IoT Enterprise LTSC 2024**
Build - 26100.1 Build - 26100.1742 (Final, GA)
Released to OEMs on 22 May 2024 (Preview, not officially released for general use yet).
IoT release is only available in English ISO's and non-IoT version is not released on MVS yet. IoT release is only available in English ISO's and non-IoT version is not released on MVS yet.
The below ISO's are taken from the Official OEM portal.
These ISO's contain below editions. These ISO's contain below editions.
Windows 11 Enterprise LTSC Windows 11 Enterprise LTSC
@ -90,8 +90,8 @@ Windows 11 IoT Enterprise Subscription LTSC
| Language | Arch | Link | | Language | Arch | Link |
| :------------ | :---- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | :------------ | :---- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| English | x64 | [26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso❤](https://drive.massgrave.dev/26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso) | | English | x64 | [X23-81951_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso❤](https://drive.massgrave.dev/X23-81951_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso) |
| English | ARM64 | [26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_A64FRE_en-us.iso](https://drive.massgrave.dev/26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_A64FRE_en-us.iso) | | English | ARM64 | [X23-81950_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_ENTERPRISES_OEM_A64FRE_en-us.iso](https://drive.massgrave.dev/X23-81950_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_ENTERPRISES_OEM_A64FRE_en-us.iso) |
--- ---

View File

@ -11,9 +11,23 @@ All download links lead to genuine files only.
------------------------------------------------------------------------ ------------------------------------------------------------------------
## Windows Server 2025 (Preview) ## Windows Server 2025
Build - 26100.1 Build - 26100.1742 (Final, GA)
The below ISO's are taken from the Official OEM portal.
This final release is not available on MVS yet, hence not available in all languages.
| Language | Arch | Link |
|:--------------------|:-----|:---------------------------------------------------------------------------------------------------------------------------------------------|
| Czech | x64 | [X23-81956_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_cs-cz.iso](https://drive.massgrave.dev/X23-81956_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_cs-cz.iso) |
| German | x64 | [X23-81960_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_de-de.iso](https://drive.massgrave.dev/X23-81960_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_de-de.iso) |
| English | x64 | [X23-81958_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_en-us.iso](https://drive.massgrave.dev/X23-81958_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_en-us.iso) |
| French | x64 | [X23-81959_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_fr-fr.iso](https://drive.massgrave.dev/X23-81959_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_fr-fr.iso) |
| Dutch-Netherlands | x64 | [X23-81957_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_nl-nl.iso](https://drive.massgrave.dev/X23-81957_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_nl-nl.iso) |
| Chinese-Simplified | x64 | [X23-81954_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_zh-cn.iso](https://drive.massgrave.dev/X23-81954_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_zh-cn.iso) |
| Chinese-Taiwan | x64 | [X23-81955_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_zh-tw.iso](https://drive.massgrave.dev/X23-81955_26100.1742.240906-0331.ge_release_svc_refresh_SERVER_OEMRET_x64FRE_zh-tw.iso) |
Build - 26100.1 (Preview)
| Language | Arch | Link | | Language | Arch | Link |
|:--------------------|:-----|:---------------------------------------------------------------------------------------------------------------------------------------------| |:--------------------|:-----|:---------------------------------------------------------------------------------------------------------------------------------------------|

View File

@ -11,22 +11,16 @@ write-host
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$DownloadURL1 = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239/MAS/All-In-One-Version-KL/MAS_AIO.cmd' $DownloadURL1 = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
$DownloadURL2 = 'https://bitbucket.org/WindowsAddict/microsoft-activation-scripts/raw/52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239/MAS/All-In-One-Version-KL/MAS_AIO.cmd' $DownloadURL2 = '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&versionType=Commit&version=52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239'
$DownloadURL3 = 'https://codeberg.org/massgravel/Microsoft-Activation-Scripts/raw/commit/52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
$URLs = @($DownloadURL1, $DownloadURL2, $DownloadURL3) $URLs = @($DownloadURL1, $DownloadURL2)
$ShuffledURLs = $URLs | Sort-Object { Get-Random } $ShuffledURLs = $URLs | Sort-Object { Get-Random }
try { try {
$response = Invoke-WebRequest -Uri $ShuffledURLs[0] -UseBasicParsing $response = Invoke-WebRequest -Uri $ShuffledURLs[0] -UseBasicParsing
} }
catch { catch {
try { $response = Invoke-WebRequest -Uri $ShuffledURLs[1] -UseBasicParsing
$response = Invoke-WebRequest -Uri $ShuffledURLs[1] -UseBasicParsing
}
catch {
$response = Invoke-WebRequest -Uri $ShuffledURLs[2] -UseBasicParsing
}
} }
# Verify script integrity # Verify script integrity