massgravel / Microsoft-Activation-Scripts

A Windows and Office activator using HWID / Ohook / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections.
https://massgrave.dev
GNU General Public License v3.0
86.01k stars 8.39k forks source link

Error activating during installation. #400

Closed hanton94 closed 3 months ago

hanton94 commented 3 months ago

As the title suggests, an error occurs when launching the script XXX.bat /HWID /Ohook during Windows installation. I have an image prepared for unattended installation, and I'm trying to execute the script with /HWID /Ohook for activation before user creation. The issue lies in the script assuming it's running in audit mode, thus resulting in an error and failure to function.

Is there a possible solution to this?

ave9858 commented 3 months ago

Follow the guide here https://massgrave.dev/oem-folder.html

hanton94 commented 3 months ago

What I do at least is prepare an image with sysprep, but I don't convert that image into .iso format. Instead, I use Clonezilla to capture and distribute the image. Are there any other alternatives besides modifying the .iso file?

ave9858 commented 3 months ago

You could manually insert the contents of the OEM folder.