From 4642ba8241e4b104caaf5af8e31846dc67ff4612 Mon Sep 17 00:00:00 2001 From: WindowsAddict Date: Sat, 13 Apr 2024 02:09:35 +0530 Subject: "npm run build" --- build/command_line_switches.html | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 build/command_line_switches.html (limited to 'build/command_line_switches.html') diff --git a/build/command_line_switches.html b/build/command_line_switches.html new file mode 100644 index 0000000..b096a44 --- /dev/null +++ b/build/command_line_switches.html @@ -0,0 +1,42 @@ + + + + + +Command Line Switches | MAS + + + + +
Skip to main content

Command Line Switches

+

Switches List

+
    +
  • 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 page for more details.
  • +
+
SwitchesMeaning
/HWIDActivate with HWID
/HWID-NoEditionChangeSome 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.
/OhookInstall Ohook to activate Office
/Ohook-UninstallUninstall Ohook
/KMS38Activate with KMS38
/KMS38-RemoveProtectionRemove KMS38 protection
/KMS38-NoEditionChangeSome 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-WindowsActivate Windows with Online KMS
/KMS-OfficeActivate Office with Online KMS
/KMS-WindowsOfficeActivate Windows & Office with Online KMS
/KMS-RenewalTaskInstall Online KMS renewal task
/KMS-ActAndRenewalTaskInstall Online KMS activation & renewal tasks (Recommended)
/KMS-UninstallUninstall Online KMS
/KMS-KeepvNextDon't override Office C2R vNext license
/KMS-DebugCreate Debug log in Online KMS Activation
/KMS-LoggerCreate simple log in Online KMS Activation
/SRun operations in silent mode (no output)
+
+

Uses In Powershell One Liner

+

& ([ScriptBlock]::Create((irm https://mass grave.dev/get))) /para

+

Notes - Remove the space between mass grave

+
    +
  • 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
  • +
  • This Powershell one-liner will work on Windows 8.1 and later versions only.
  • +
  • To change the edition through the command line, check here. We didn't automate it in MAS because it requires a reboot in some cases.
  • +
+
+

Rules

+
    +
  • Script will run in unattended mode if any switch is used.
  • +
  • /S switch is not applicable in MAS separate files version scripts.
  • +
  • All switches are case-insensitive, and work in any order, but must be separated with spaces.
  • +
  • KMS Uninstall switch will take precedence over other KMS switches.
  • +
  • KMS38 remove protection switch will take precedence over KMS38 activation.
  • +
+
+

Need help?

+
+ + \ No newline at end of file -- cgit v1.2.3