Skip to content

Folders

To create a pre-activated Windows installation ISO, do the following:

  • Extract the $OEM$ folder to the desktop using the MAS script.
  • Copy the $OEM$ folder to the sources folder in the Windows installation media (ISO or USB).
  • The directory will appear like this: \sources\$OEM$ in your altered ISO or on your bootable USB drive.
  • Now use this ISO or bootable USB drive to install Windows, it will either already be activated (KMS38) as soon as it boots or will self-activate (HWID or Online KMS) at the first internet contact.
  • You can check here for activation method details.

NOTE

On Windows 8 and later
  • error running setup complete.cmd is disabled if the default installed key for the edition is from the OEM channel, except for Enterprise editions and Windows Server.
  • However, in Windows 10, IoT Enterprise editions were not included in the Enterprise category list during the installation process.
  • As a result, Enterprise with an OEM key can handle setupcomplete.cmd, but IoT Enterprise (LTSC) cannot. This was fixed in later Windows 11 versions.
    • In Windows 10 IoT Enterprise (LTSC), you can resolve this issue by using the Non-IoT Windows 10 Enterprise LTSC ISO. In this case, the HWID method in preactivation will install the IoT LTSC key to change the edition and enable HWID activation.
    • In Windows 11 IoT Enterprise (LTSC), it works fine as expected by default.


Edit ISO File

NOTE

  • As stated above, you can copy the $OEM$ folder to your bootable USB so you don't have to edit the ISO file. However, if you need to, then follow the steps below.
  • Download AnyBurn Free Portable and extract the zip file.
  • Run the file named AnyBurn(64-bit)\AnyBurn.exe.
  • Select the option named Edit image file.
  • Follow the on-screen instructions and add the $OEM$ folder to the sources folder so that the directory will appear like this: \sources\$OEM$.
  • Save the ISO, that's it.

KMS38 - Server Cor/Acor

  • Windows Server Cor/Acor (No GUI) editions don't have the clipup.exe file.
  • To KMS38 activate it, you need to download the missing ClipUp.exe file from app.box.com/s/.....
    File: ClipUp.exe
    SHA-256: 0d6e9f6bbd0321eda149658d96040cb4f79e0bd93ba60061f25b28fecbf4d4ef
    This file has digital signatures that can be verified. You can also get this file from the official Windows Server 2016 x64 RTM ISO.
  • Put the ClipUp.exe beside the KMS38 Activation script. That would be either MAS_AIO.cmd or KMS38_Activation.cmd
  • The activation script will check ClipUp.exe in the current folder (from where script is running) and will use it accordingly.

Preinstall Office

  • Follow this office c2r guides and download the Office files.
  • Copy the downloaded Office folder, setup.exe and Configuration.xml files, and paste them into the folder, beside the setupcomplete.cmd file.
  • Open the setupcomplete.cmd file with notepad and add the below lines after fltmc >nul || exit /b line.
    cd /d "%~dp0"
    setup.exe /configure Configuration.xml
  • Save the folder into the ISO as per above instructions, that's it.

How to Remove Activations ?

Click here to see the details
  • HWID: A digital license is stored on Microsoft's servers and tied to your hardware. It cannot be "removed" in the traditional sense. A major hardware change (like the motherboard) will invalidate it. To return to an unactivated state, you can install a generic KMS key. Extended details
  • Online KMS / Ohook / KMS38: Use the corresponding "Uninstall" or "Remove" option within the MAS script menu, then run the "Fix Licensing" option from the Troubleshoot menu. KMS details and KMS38 details
  • TSforge: This method only appends data and doesn't install files. To reset it, simply run the "Fix Licensing" option from the Troubleshoot menu in the MAS script. TSforge details

Made with using VitePress