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

Discussion in 'MDL Projects and Applications' started by Exe Csrss, 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. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    srvess2019.PNG
     
  2. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    @Exe Csrss

    Hi, question and I hope advanced community members have some inputs as well.
    First, for testing I found it easier to embed WindSLIC manually to get a better understanding how things works (or at least suppose to)

    When I have a SLIC embedded (say v2.3) in BIOS, OS determines if we can activate based on SLIC version.
    When I have WindSLIC with equal or higher SLIC embedded we can activate, if SLIC is not present in BIOS.
    If WindSLIC emulates a qualified SLIC (should emulate) and a qualified SLIC is embedded in BIOS, first look-up is ACPI SLIC Table.
    Bios SLIC is v2.3 but i wan't v2.4 from WindSLIC emulated.
    Remove SLIC in BIOS and WindSLIC emulates SLIC flawless. (and possible does that even if SLIC in BIOS is present)
    Certificate and key is embedded, remove and insert SLIC in BIOS: activated/not activated every time with no extra inputs.

    WindSLIC loads every time so no issues there.
    Which boot routine determine which path to look up and/or is emulation incomplete?

    I'm really noob in this topic but I can not understand or accept that routing through emulation to proper SLIC is impossible, even if 2 SLIC's are "available".

    :)
     
  3. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    WindSLIC unfortunately does not erase the old SLIC table when emulating a new one.
    Yes, it is not impossible, some bootloaders like clover can do it.
    My guess is that the software licensing service sees that there are two SLICs (which is never supposed to happen) and deactivates.
    :)
     
  4. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    Morning :)

    No, erasing was not in my mind (and should not)
    Software licensing service, ok, interesting. But deactivate? ACPI SLIC Table (if present) takes precedence , if not, WindSLIC's emulation is selected.

    That makes me wonder.
     
  5. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    The software licensing service cannot differentiate between emulated and actual SLIC.
    So if one SLIC is present, and another emulated, the SLS thinks that there are two SLICs in the BIOS and deactivates.
    A similar thing happened to you when you were testing v2.x of my tool: [TOOL] EzWindSLIC: Easily activate Windows 7/Vista(SP1+)/Server 2008-2022 on UEFI-GPT
    :)
     
  6. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    Nope, ACPI SLIC Table takes precedence. I can activate if OS is on same/lower level. Removing SLIC in BIOS i'm also activated (if SLIC, Cert and key matches of course)
    SLS may not be able to differentiate but it will select where to start looking for SLIC.

    :)
     
  7. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    I am not sure, maybe you are right :)
     
  8. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    I can show you.
    TeamViewer session?
    By PM of course.
     
  9. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    Screenshot or screen recording is OK :)
     
  10. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    Ok, I think I got it.
    The BIOS is cached into RAM just after boot up.
    A SLIC emulator injects the SLIC into the cached BIOS at this point.
    If a SLIC is already present, the SLIC is injected after the original one.
    My guess is that SLS chooses whichever SLIC comes first in memory.
     
  11. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    2.4.jpg
    2.5.jpg
    2.6.jpg
    2.6_WindSLIC.jpg
    All SLIC's in BIOS with WindSLIC present emulating SLIC v2.6

    OS: Server 2019
     
  12. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    OK, thank you. :)
     
  13. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
  14. asasadad_1

    asasadad_1 MDL Novice

    Feb 22, 2011
    14
    5
    0
    failed.
     

    Attached Files:

  15. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    Your board probably has an incomplete SLIC. Go to the BIOS mods forum of this board and have the full SLIC unlocked.
     
  16. Exe Csrss

    Exe Csrss Batch Scripter

    Dec 9, 2020
    534
    590
    30
    Lenovo has an irritating and annoying habit of shipping incomplete or invalid SLICs in their models without Windows.
    My guess is that the invalid slic is because of this reason.
    They probably do it to bork KMS and SLP activation.
    I think I should add the capability to detect incomplete/invalid SLICs by detecting non-sense SLIC version bytes like A, B, C, D, E, F
    :)
     
  17. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    Not a bad idea :)
    It would be interesting to test a SLIC that @asasadad_1 seems to have and see if manually inserting/or by forced option see if that could make a difference...
     
  18. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    1,745
    2,392
    60
    A if not statement based on decimal values 0 to 9 and also output SLIC value the way EZWindSLIC actually reads it would be helpful.
     
  19. asasadad_1

    asasadad_1 MDL Novice

    Feb 22, 2011
    14
    5
    0
    #280 asasadad_1, Sep 19, 2021
    Last edited: Sep 19, 2021
    Code:
    Software Licensing Description Table: 0x00000000AFBFD000
    
    53 4C 49 43 76 01 00 00 01 47 4C 45 4E 4F 56 4F    SLICv....GLENOVO
    43 42 2D 30 31 20 20 20 01 00 00 00 41 43 50 49    CB-01   ....ACPI
    00 00 04 00 FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF    ................
    FF FF FF FF FF FF                                  ......         
    
    Signature    "SLIC"
    Length    0x00000176 (374)
    Revision    0x01 (1)
    Checksum    0x47 (71)
    OEM ID    "LENOVO"
    OEM Table ID    "CB-01   "
    OEM Revision    0x00000001 (1)
    Creator ID    "ACPI"
    Creator Revision    0x00040000 (262144)
    
     

    Attached Files:

    • 2.jpg
      2.jpg
      File size:
      125.1 KB
      Views:
      11