2.7 preview

This commit is contained in:
2024-09-06 04:35:13 +05:30
parent 9260b8e92c
commit 7fb86ce6a5
19 changed files with 597 additions and 266 deletions

View File

@ -5,40 +5,40 @@
- You can use the below switches in MAS AIO, separate files version and in Powershell one-liner to run in unattended mode.
- If you want to use it in Windows Pre-Activation then check [this](oem-folder.md) page for more details.
| Switches | Meaning |
|------------------------|-----------------------------------------------|
| `/HWID` | Activate with HWID |
| `/HWID-NoEditionChange` | Some editions don't support HWID, script by default change edition to nearest available to enable HWID activation. This switch can be used to stop this change. You don't need to add `/HWID` switch with this. |
| | |
| `/Ohook` | Install Ohook to activate Office |
| `/Ohook-Uninstall` | Uninstall Ohook |
| | |
| `/KMS38` | Activate with KMS38 |
| `/KMS38-RemoveProtection` | Remove KMS38 protection |
| `/KMS38-NoEditionChange` | Some editions don't support KMS38, script by default change edition to nearest available to enable KMS38 activation. This switch can be used to stop this change. You don't need to add `/KMS38` switch with this. |
| | |
| `/KMS-Windows` | Activate Windows with Online KMS |
| `/KMS-Office` | Activate Office with Online KMS |
| `/KMS-WindowsOffice` | Activate Windows & Office with Online KMS |
| `/KMS-RenewalTask` | Install Online KMS renewal task |
| `/KMS-ActAndRenewalTask` | Install Online KMS activation & renewal tasks (Recommended) |
| `/KMS-Uninstall` | Uninstall Online KMS |
| `/KMS-KeepvNext` | Don't override Office C2R vNext license |
| `/KMS-Debug` | Create Debug log in Online KMS Activation |
| `/KMS-Logger` | Create simple log in Online KMS Activation |
| | |
| `/S` | Run operations in silent mode (no output) |
| Switches | Meaning |
|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `/HWID` | Activate with HWID |
| `/HWID-NoEditionChange` | Some editions don't support HWID, script by default change edition to nearest available to enable HWID activation. This switch can be used to stop this change. You don't need to add `/HWID` switch with this. |
| | |
| `/Ohook` | Install Ohook to activate Office |
| `/Ohook-Uninstall` | Uninstall Ohook |
| | |
| `/KMS38` | Activate with KMS38 |
| `/KMS38-RemoveProtection` | Remove KMS38 protection |
| `/KMS38-NoEditionChange` | Some editions don't support KMS38, script by default change edition to nearest available to enable KMS38 activation. This switch can be used to stop this change. You don't need to add `/KMS38` switch with this. |
| | |
| `/K-Windows` | Activate only Windows with Online KMS |
| `/K-Office` | Activate only Office with Online KMS |
| `/K-ProjectVisio` | Activate only Project/Visio with Online KMS |
| `/K-WindowsOffice` | Activate all Windows and Office with Online KMS |
| `/K-NoEditionChange` | Some editions don't support KMS, script by default change edition to nearest available to enable KMS activation. This switch can be used to stop this change. |
| `/K-NoRenewalTask` | Whenever you run any activation, the script installs the auto-renewal task by default. To NOT auto-install renewal task with activation, use this switch. |
| `/K-Uninstall` | Uninstall Online KMS including renewal tasks |
| `/K-Server-YOURKMSSERVERNAME` | To specify a server address for activation, where YOURKMSSERVERNAME needs to be edited for server name |
| `/K-Port-YOURPORTNAME` | To specify a port for activation, where YOURPORTNAME needs to be edited for port address |
| | |
| `/S` | Run operations in silent mode (no output) |
------------------------------------------------------------------------
## Uses In Powershell One Liner
`& ([ScriptBlock]::Create((irm https://get.acti vated.win))) /para`
`& ([ScriptBlock]::Create((irm https://get.activated.win))) /para`
**Notes** - Remove the space between `acti vated`
- Replace `/para` in this command with the switches from the above table. You can also use multiple switches. For example, `/HWID /KMS-Office /KMS-ActAndRenewalTask`
- Replace `/para` in this command with the switches from the above table. You can also use multiple switches. For example, `/HWID /Ohook`
- This Powershell one-liner will work on Windows 8.1 and later versions only.
- Make sure to use the below command beforehand to enable TLs1.2 on older Windows versions.
`[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12`
- To change the edition through the command line, check [here](change_edition.md#manual-edition-change). We didn't automate it in MAS because it requires a reboot in some cases.
------------------------------------------------------------------------