massgravel / Microsoft-Activation-Scripts

Open-source Windows and Office activator featuring HWID, Ohook, KMS38, and Online KMS activation methods, along with advanced troubleshooting.
https://massgrave.dev
GNU General Public License v3.0
97.76k stars 9.53k forks source link

just asking in curiosity #422

Closed furjac closed 5 months ago

furjac commented 5 months ago

why when i run the activation status cmd files it does not create a new window i mean relaunch like other cmd files does if i want to implement it in statuse check.cmd how can i

WindowsAddict commented 5 months ago

Why would you want to do that?

furjac commented 5 months ago

as the title suggest i was just curious how it works and things like that im trying to learn these whole program im willing to create these scripts in like python like languages so and i have more other than that

WindowsAddict commented 5 months ago

@furjac

MAS scripts relaunch themselves to show the UAC prompt and get admin rights. Check activation status scripts don't need admin rights, so they don't relaunch.

JonnyTech commented 5 months ago

@WindowsAddict is it possible to run in same window so that script can be executed remotely via ssh?

WindowsAddict commented 5 months ago

@JonnyTech run scripts as admin and use -qedit parameter, then it won't relaunch.

JonnyTech commented 5 months ago

@WindowsAddict thank you

furjac commented 5 months ago

@WindowsAddict thank u so much for the info