[TOOL] EzWindSLIC: Easily activate Windows 7/Vista/Server 2008-2022 on UEFI-GPT

Discussion in 'MDL Projects and Applications' started by Deleted member 1435102, Apr 9, 2021.

?

Should I use powershell in this script to add more features? Vista will no longer be supported.

Poll closed May 7, 2021.
  1. Yes

    5 vote(s)
    55.6%
  2. No

    4 vote(s)
    44.4%
    Yes will be very good if @exe csrss will look into his script for silent execution switches without any user interaction plus no reboot.
     
  1. 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
    
     
  2. 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 :)
     
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,846
    2,132
    60
    Nice, I was thinking about it, but your script does this check already, so I decided, there is no need to do it twice :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. 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"
    )
    
     
  5. George King

    George King MDL Expert

    Aug 5, 2009
    1,846
    2,132
    60
    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 :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. I will start work tomorrow. :)
     
  7. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,234
    3,246
    90
    @exe csrss
    Got some time to do a little testing, i guess i m referring to (partial anyway) post #4
    17-04-2021 16.53.41.ls.jpg

    17-04-2021 16.54.30.ls.jpg

    After reboot

    17-04-2021 16.55.42.ls.jpg
    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)
     
  8. Windows_Addict

    Windows_Addict MDL Expert

    Jul 19, 2018
    1,245
    3,407
    60
    #29 Windows_Addict, Apr 17, 2021
    Last edited: Apr 23, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. This tool cannot detect SLIC in firmware, yet.
     
  10. @Tito moved this to the MDL Projects and Applications forum :D
    Edit: Stickied as well!
     
  11. cbsvitzer

    cbsvitzer MDL Member

    Feb 4, 2010
    199
    133
    10
    #33 cbsvitzer, Apr 18, 2021
    Last edited: Apr 18, 2021
    What about Windows Server 2012 R2?
     
  12. I will think about it.
     
  13. 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 :)
     
  14. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,682
    18,581
    340
  15. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,682
    18,581
    340
    @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).
     
  16. 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.
     
  17. Krinal

    Krinal MDL Novice

    Oct 6, 2018
    45
    46
    0
    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.