Yes will be very good if @exe csrss will look into his script for silent execution switches without any user interaction plus no reboot.
Ok I will try. I have a suggestion for you activate.cmd as well. You can use this code to see if system is EFI: Code: bcdedit /enum {current} | find /i "winload.efi" >nul 2>&1 && set efi=1
Last time when i used it i found two boot entries into system if we cross check via reboot then menu for boot from usb then machine said there are two boot entries for same os drive. but i think in real case it must only be one so bcdedit delete real boot entry will also be considered & system will only show windslic entry on boot for os drive
Nice, I was thinking about it, but your script does this check already, so I decided, there is no need to do it twice
I have another suggestion. You can build your project so that it works on vista, 8, 8.1, 10, server, etc. as well. You can use code like this: Code: :: Detect OS version for /f "tokens=4,5 delims=[]. " %%G in ('ver') do set osver=%%G.%%H :: Detect OS type for /f "tokens=2* skip=2" %%G in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "InstallationType" 2>nul') do set ostype=%%H :: NT 6.0 doesn't have InstallationType registry value if not defined ostype ( echo %osedition% | find "Server" %_nul% && set ostype=Server if not defined ostype set ostype=Client ) REM add more editions as per requirement for %%# in ( 6.0:Client:Ultimate:OEMSLP 6.0:Client:Enterprise:KMS 6.0:Server:ServerEnterprise:OEMSLP 6.1:Client:Starter:OEMSLP 6.1:Client:Enterprise:KMS 6.1:Client:UltimateN:IR7 6.2:Client:Professional:KMS 10.0:Client:Professional:HWID ) do ( for /f "tokens=1-4 delims=:" %%G in ("%%#") do if /i %osver% EQU %%G if /i %ostype% EQU %%H if /i %EditionName% EQU %%I set "ActivationExploit=%%J" )
Nice idea, I have build it now for 7 only. I will update it in future for others OSes too. Just let me know when you finish realease with switches
@exe csrss Got some time to do a little testing, i guess i m referring to (partial anyway) post #4 Spoiler: First some pictures After reboot It's a X230, GPT, i have a valid SLIC 2.1 - i also have a valid Win 8 Pro key in MSDM table. Windows is freshly installed for this exercise - no updates, no nothing. Straight from official install image. I have tried numerous combinations and also tested v2.0, 2.0.1, 2.1 but this is an enigma If i try the same with Windows Loader (2.2.2) the activation is still good after a reboot (since i have a valid SLIC)
Yes it must be stickied cuz its a good tool by you for all win7 lovers on moden machines with gpt disk layout on UEFI firmware
@exe csrss Yes, that's a start, but you'll also need to validate the SLIC table (a bit tricky job), and then determine the SLIC version (this part is easy, as you just need to read the value of a specific offset).
I think I will add SLIC validation and version checking in a later version . For now, I will just check if SLIC table exists and ask if users want to continue.
Hi @exe csrss Do you have any idea, if windows server 2019 OEM activation works with emulated SLIC? If it works, it's support can be added to the script.