Help with WOAT Automation (OEM Cert - Brand Name In Registry);)

Discussion in 'Windows 7' started by DARKOR04, Oct 1, 2010.

  1. DARKOR04

    DARKOR04 MDL Tester/Developer

    Jul 5, 2010
    495
    889
    10
    #1 DARKOR04, Oct 1, 2010
    Last edited by a moderator: Apr 20, 2017
    [Solved]Help with WOAT Automation (OEM Cert - Brand Name In Registry);)

    Hello everybody!

    I'm trying to make OEM Activation in WOAT Tool Fully Automatic, but need a little help from you people. Cause I do not know how the brand name its displayed in registry for all brands, in my case got an HP Compaq so in registry is "HPQOEM".

    After the code example its the complete list of all cert currently I have, after the cert name its the brand names in registry I managed to find so a little help with the missing ones "?"

    So Here is What I'm trying to do:
    Code example:

    Code:
    :OEMCERT
    cls
    title W.O.A.T Tool vx.x.x - OEM Activation
    MODE CON COLS=76 LINES=22
    echo.
    echo. W.O.A.T Tool vx.x.x - OEM Activation
    echo. -------------------------------------
    echo.
    echo. Determining OEM Cert for installtaion...
    REG QUERY HKLM\HARDWARE\ACPI\RSDT | FINDSTR /I HPQOEM >nul
    IF NOT ERRORLEVEL 1 set slic=HPQOEM & SET VAR=HP-COMPAQ.XRM-MS & GOTO CERTINS
    ELSE GOTO:INSTALLCERTIFICATEMENU
    )
    
    :CERTINS
    echo.
    echo. Slic Detected: %slic%
    echo. Installing OEM Cert please wait...
    cscript /b \windows\system32\slmgr.vbs -ilc "%~dp0Certificates\%VAR%"
    echo. OEM Cert Installed: %var% OK.
    GOTO OSDETECT
    )
    OEM Certs Available:

    1. ACER > ACRSYS
    2. ACER NEW > ?
    3. ADVENT > DSGLTD
    4. ALIENWARE > ALWARE
    5. ASUS > ASUS
    6. ASUS NEW
    7. BENQ > BENQ
    8. DELLDSGLTD > DELL
    9. EMACHINE-ACRSYS > ?
    10. EXPER-DATATE > ?
    11. FOUNDER > FOUNDR
    12. FUJITSU > FUJ
    13. FUJITSU-FSC > FSC
    14. GATEWAY-EMACHINE >
    15. GIGABYTE > GBT
    16. HAIER > haier
    17. HASEE > HASEE
    18. HCL-HCLINF > ?
    19. HEDY > ?
    20. HP > HPQ
    21. HP-COMPAQ > HPQOEM
    22. HP-SERVER > ?
    23. IBM-LENOVO > LENOVO
    24. LG > LGE
    25. MEDION > MEDION
    26. MSI > MSI
    27. NEC > ?
    28. NOKIA > NOKIA
    29. PACBEL > ?
    30. QUANMAX > QUANMX
    31. SAMSUNG > SECCSD
    32. SHARP > ?
    33. SONY > Sony
    34. SONY NEW > ?
    35. TCL > ?
    36. TONGFANG-THTFPC > ?
    37. TOSHIBA > TOSASU
    38. TOSHIBA-TOSCPL > TOSCPL
    39. TOSHIBA-TOSINV > TOSINV
    40. TOSHIBA-TOSQCI > TOSQCI
    41. TSINGHUA-TONGFANG > ?
    42. VILIV-YUTC > ?
    43. WORTMANN-WORTMA > ?

    If you see a wrong OEMCert / Brand Name association please notify me.
     
  2. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    670
    60
    #2 MasterDisaster, Oct 1, 2010
    Last edited by a moderator: Apr 20, 2017
    Just take the OEMID of each brand.

    Code:
    Acer - ACRSYS
    Advent - DSGLTD
    Alienware - ALWARE
    Asus - _ASUS_
    BenQ - BenQ
    Dell - DELL
    Exper - Datate
    Founder - FOUNDR
    Fsc - FSC
    Fujitsu - FUJ
    Gigabyte - GBT
    Haier - haier
    Hasee - HASEE
    Hcl - HCLINF
    Hp Compaq - HPQOEM
    Hp - HP
    Jooyon - JOOYON
    Lenovo - LENOVO
    LG - LGE
    Medion - MEDION
    Msi - MSI_NB
    Nec - NEC
    Nokia - NOKIA
    Quanmax - QUANMX
    Samsung - SECCSD
    Sony - Sony
    Tongfang - THTFPC
    Toshiba - TOSASU
    Toshiba - TOSCPL
    Toshiba - TOSHIB
    Toshiba - TOSINV
    Toshiba - TOSQCI
    Trigem - TRIGEM
    Viliv - YUTC
    Wortmann - WORTMA
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Butterfly_Joe

    Butterfly_Joe MDL Novice

    Feb 5, 2010
    39
    28
    0
    #3 Butterfly_Joe, Oct 1, 2010
    Last edited: Oct 1, 2010
    DARKOR04 - the other solution
    The names of the certificates must be changed.
    (Example: Acer.xrm-ms to ACRSYS.xrm-ms)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. DARKOR04

    DARKOR04 MDL Tester/Developer

    Jul 5, 2010
    495
    889
    10
    #4 DARKOR04, Oct 1, 2010
    Last edited: Oct 1, 2010
    (OP)
    Thanks Butterfly_Joe ;)

    Note: Work Perfectly Thanks
    You make an little error:
    for /f "tokens=2 delims==- " %%A in ('"wmic bios get version /format:list"') do set VAR=%%A
    after == there is an extra - (corrected) and added after %%A > goto:CERTINS now it work hehe thanks
    then in CERTINS add the last line - cscript /b \windows\system32\slmgr.vbs -ilc "%~dp0Certificates\%VAR%.xrm-ms" but without the .xrm-ms
     
  5. DARKOR04

    DARKOR04 MDL Tester/Developer

    Jul 5, 2010
    495
    889
    10
    Thank you MD and BJ! Woat tool v2.0 almost done.... Fully automatic hehe.