[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%
  1. #1 Deleted member 1435102, Apr 9, 2021
    Last edited by a moderator: Sep 10, 2022
  2. Friend Your Script Update have a Error ;
    key.txt error msg upon reboot means key.txt is not created accordingly in windslic directory along with slic.bin
     
  3. #3 Deleted member 1435102, Apr 9, 2021
    Last edited by a moderator: Apr 9, 2021
    (OP)
    I tested it and it worked fine. Did you use custom key option? Also, did you uninstall previous version before installing this?
     
  4. Freind i used it on fresh install of win7 . resulted in key.txt error after reboot & when i pressed enter key system boot fine but not activated. i dont use custom key as your previous version script worked flawless with only del slic & cert on any machine.

    Edit: i have used ver2.0 but as i can see you updated your script again to ver 2.0.1 . i will test it & will post results.
     
  5. #5 Deleted member 1435102, Apr 9, 2021
    Last edited by a moderator: Apr 9, 2021
    (OP)
    Try another profile, HP works for me.
    Edit: Just to be sure, I tested with Dell profile, it too worked flawlessly. Maybe the FAT on your ESP is corrupted (IDK)? :thinking:
     
  6. Ok Friend . Thanks for your hard job to create a succssor of w7loader by daz for modern computers. Thanks a lot :)
    Stay Blessed n Be Happy Always
     
  7. OK, so did the modified version work for you? If it did, I will update the main version as well.
     
  8. No Friend i havent checked it yet working from hospital as admitted last month due to throat cancer whenever my laptop is back by somebody from family i will check it .
    Thanks & Regards
     
  9. Hope you get well soon :(
     
  10. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,234
    3,246
    90
    @mdl052020
    Sending happy thoughts and good wishes on your way. Get well soon. :hug:

    Kind regards :)
     
  11. Unrelated, but thank you for adding my tool to your sig :worthy:. Now more people will know about this tool. But could you remove the :beta: smileys? Actually, this is technically not in beta, the beta scripts are dangerous and can brick the ESP, thus I don't release them to the public. :)
     
  12. CaptainKirk1966

    CaptainKirk1966 Former MDL Guru

    Oct 31, 2009
    2,549
    1,377
    90
    fwiw: Some years ago, I thought that Windows Loader detected an existing slic early in the process, and if detected only installed a certificate and key. Daz explained that he does not test for an existing slic, but first installs the cerificate and key, then tests for activation. If a valid slic was already in place, the system would be activated at that point, with no need to install slic emulation.
     
  13. Sorry i restored MacOS Hacknitosh Backup Image on my Laptop. i dont have a back up of win7 OS as backup image anywhere :)
    but your work is awesome . many many thanks.
     
  14. No problem :)
     
  15. George King

    George King MDL Expert

    Aug 5, 2009
    1,846
    2,132
    60
    @exe csrss
    Nice tool, adding into my activation collection for future project. I was looking into it and I would like to see a small change if you can.
    I would like to see 2 switches for install.bat.

    /s - install it silently - no user interaction needed, pause command are skipped
    /norestart - skip reboot

    I would like to use your tool with my custom universal solution. I have created Activate.cmd for Windows 6.1 Kitchen and main goal have automated universal Activators colection.

    My Activate.cmd
    Code:
    @echo off
    title Windows Activation
    cls
    REM Used After OEM SLIC Activation
    REM Supported editions are activated, if detected unsupported edition Infinite Rearm is installed
    REM Supported products by activators
    set WindowsLoader=(Starter StarterE HomeBasic HomePremium HomePremiumE Professional ProfessionalE Ultimate UltimateE)
    set EzWindSLIC=(Starter StarterE HomeBasic HomePremium HomePremiumE Professional ProfessionalE Ultimate UltimateE)
    set KMS=(Professional ProfessionalE ProfessionalN Enterprise EnterpriseE EnterpriseN Embedded)
    set Rearm=(StarterN HomeBasicE HomeBasicN HomePremiumN UltimateN)
    REM Get Windows Edition
    for /f "tokens=3 delims=: " %%i in ('dism /english /online /get-currentedition ^| find /i "Current Edition : "') do set EditionName=%%i
    REM Get DVD / USB
    FOR %%I IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%I:\sources\install.esd SET DRIVE=%%I:
    IF "%DRIVE%" == "" FOR %%I IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%I:\sources\install.wim SET DRIVE=%%I:
    IF "%DRIVE%" == "" FOR %%I IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%I:\sources\install.swm SET DRIVE=%%I:
    REM Windows Loader
    call :GetActStatus
    for %%i in %WindowsLoader% do (
        if "%EditionName%" == "%%i" (
            REM Activation using Windows Loader
            "%DRIVE%\support\Loader\WindowsLoader.exe" /silent /preactivate /norestart
        )
    )
    REM EzWindSLIC - UEFI Windows Loader
    call :GetActStatus
    for %%i in %EzWindSLIC% do (
        if "%EditionName%" == "%%i" (
            REM Activation using EzWindSLIC
            "%WinDir%\System32\wscript.exe" //nologo "%WinDir%\setup\scripts\invisible.vbs" "%DRIVE%\support\EzWindSLIC\install.bat" /s /norestart
        )
    )
    REM KMS
    call :GetActStatus
    for %%i in %KMS% do (
        if "%EditionName%" == "%%i" (
            REM Activation using KMS
            "%WinDir%\System32\wscript.exe" //nologo "%WinDir%\setup\scripts\invisible.vbs" "%DRIVE%\support\KMS\Activate.cmd" /s 
        )
    )
    REM Infinite REARM
    call :GetActStatus
    REM Applying IR7 - 30day infinite trial
    "%WinDir%\System32\wscript.exe" //nologo "%WinDir%\setup\scripts\invisible.vbs" "%DRIVE%\support\Rearm\RearmWizard.cmd" /s 
    goto :EOF
    :GetActStatus
    REM 0=Unlicensed
    REM 1=Licensed
    REM 2=OOBGrace
    REM 3=OOTGrace
    REM 4=NonGenuineGrace
    REM 5=Notification
    REM 6=ExtendedGrace
    for /f "tokens=2 delims==" %%i in ('"wmic path SoftwareLicensingProduct where (PartialProductKey is not null and ApplicationID='55c92734-d682-4d71-983e-d6ec3f16059f') get LicenseStatus /value"') do set ActStatus=%%i
    if "%ActStatus%" == "1" exit
    goto :EOF
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...