Multi-OEM/Retail Project {MRP} - Mk3

Discussion in 'MDL Projects and Applications' started by mxman2k, Oct 15, 2016.

  1. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #1781 mxman2k, Dec 7, 2017
    Last edited: Dec 7, 2017
    (OP)
    @tcntad You've got another mail too lol the decompile.exe to test ;)

    Because the 76.0 does not have the key in the database or the flag set to allow OEM-SLP checks for S2k16.

    As more keys/certificates etc become available they will be added and tested prior to a new release of MRP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    As the Server 2016 Standard OEM key tests have all been a success the next MRP will be released as baseline sometime tomorrow evening (GMT).

    Just finalizing a few things in the code, change log etc.

    Also will add the correct 'readme' for the MRPConfigCreator this time. :oops:

    The QT is having some tweaks done and this will be released over the weekend as well, probably slightly later than MRP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    Not long now :) , doing a Windows 7 install to make sure no problems with that OS.

    Be about 25 minutes for this install to complete. Then if all ok i will archive the files and upload. :)

    Done all readme/changelog's, (including the correct readme for the ConfigCreator this time :p).

    Set as Baseline, v77.0 in the end as a few little tweaks done to the code - hence this last test.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    All went ok. :D

    Code:
    Multi-OEM/Retail Project Version : 171209-R77.0 - BaseLine  [MRP/MDL]
     
    Required project files extracted successfully.
     
    OEM's folder detected, structure appears OK.
     
    Detected Config File    - Checking For User Options...
                            - Options Pre-Check Completed.
     
    MRP Logging Mode        : Enhanced
    'My Computer' On Desktop: Enabled
     
    OS Installation Date/Time: 09/12/2017 -- 8:12pm
     
    [OSINF] =======================
    [OSINF] Detected OS Information
    [OSINF] =======================
    [OSINF] Version Installed     : Windows 7 Professional x64
    [OSINF] Edition {Registry}    : Professional
    [OSINF] Edition {WMIC}        : Professional
    [OSINF] Build Information     : 7601.23807.amd64fre.win7sp1_ldr.170512-0600
    [OSINF] Edition Language/Code : en-US / 1033 {409h}
    [OSINF] Locale                : en-GB
    [OSINF] Language Name Value   : ENG
    [OSINF] =======================
     
    [MBINF] =======================
    [MBINF] Motherboard Information
    [MBINF] =======================
    [MBINF] #01 CS Product Name   : [EL1352]
    [MBINF] #02 CS Model Name     : [EL1352]
    [MBINF] #04 CS Vendor Name    : [eMachines]
    [MBINF] #05 CS System Name    : [eMachines]
    [MBINF] #06 Baseboard Name    : [eMachines]
    [MBINF] #08 BIOS or SLIC ID   : [ACRSYS]
    [MBINF] #09 SLIC Version      : [v2.1]
    [MBINF] =======================
     
    [CMINF] =======================
    [CMINF] CPU/Memory  Information
    [CMINF] =======================
    [CMINF] CPU Name/Type         : [AMD Athlon{tm} II X2 215 Processor]
    [CMINF] CPU Description       : [AMD64 Family 16 Model 6 Stepping 2]
    [CMINF] CPU Architecture      : [32/64 Bit Instruction Set]
    [CMINF] CPU Cores/Threads     : [2] / [2]
    [CMINF] Total Physical Memory : [1919 Mb]
    [CMINF] Available Memory      : [1506 Mb]
    [CMINF] =======================
     
    [HDTYP] Info: HDD Detected.
     
    [SATOU] -> Show User options enabled/applied.
    [FEXTS] Show File Extensions option enabled.
    [REMSC] Remove '-Shortcut' reference from icons option enabled.
    [AMSRT] Disable 'Malicious Software Removal Tool' tweak applied.
    [AUTOL] MRP System Drive rename option enabled, 'Local Disk' changed to 'Windows_7_Pro'.
    [PKEIC] -> PID.txt/ei.cfg Detection.
    [PKEIC] The PID.txt file was not detected.
    [PKEIC] The ei.cfg file was not detected.
    [CKDMI] Querying BIOS for any manufacturer brand information.
    [DSLIC] Detecting any SLIC information.
    [SCKV7] Acer [#08] SLIC manufacturer found for possible Windows 7 OEM activation.
    [THMOK] EMachines [#04] manufacturer detected for automated theme/branding.
    [CHKKD] -> Checking database for OEM-SLP Product Key.
    [KEYOK] Acer OEM-SLP Product Key found and applied.
    [XRMAN] -> OEM XRM-MS Certificate Management.
    [XRMOK] Acer {C2} XRM-MS OEM Certificate will be applied.
    [OEASC] OEM activation subroutine created.
    [OASHC] OEM activation subroutine has completed.
    [CHKMN] Computer Model Name: 'EL1352' has been applied.
    [BRND1] -> Branding Extra Checks Section.
    [USRFT] CustomTheme option was not used.
    [X64RF] Registry fix for x64 theme applied.
    [THMMS] -> OEM Brand Transfer Management Section.
    [WPCHK] Wallpaper.jpg transferred.
    [BGDFC] Desktop backgrounds folder created.
    [BGDFC] BackgroundDefault.jpg created from Wallpaper.jpg.
    [UBREP] User.bmp replaced.
    [OTFTS] -> OEM Theme Files Transfer Section.
    [OTFTS] OEM theme folder has been created.
    [OTFTS] OEM files have been transferred.
    [ATHBA] EMachines theme has been applied.
    [BSHCS] Branding script has completed.
     
    [ADMAN] Add-On Manager: Started.
    [SATOU] -> Show User options applied.
    [FEXTS] Show File Extensions tweak applied.
    [REMSC] Remove '-Shortcut' on icons tweak applied.
    [AMBPS] -> Checking BIOS/Boot mode and OS HDD/SDD partition type.
    [AMBPS] BIOS/Boot Mode : Legacy
    [AMBPS] Partition Type : MBR
    [AMHDC] SSD/HDD Mode   : IDE
    [CHKLS] -> Check if Windows is activated/licensed.
    [CHKLS] License Status: Licensed
    [AMUTC] UserTweaks.cmd file is present.
    [AMUTC] UserTweaks completed without errors.
    [ADMAN] Add-On Manager: Completed.
    [CLNUP] MRP Clean Up Routine Processed.
     
    =========================================================================================
    = Please Note: It is advisable to logout or reboot your computer when possible to       =
    =              allow Windows to finalize any settings.                                  =
    =                                                                                       =
    =              If you have used any tweak options within the configuration file then    =
    =              it is required to do a log out or reboot cycle to allow these options    =
    =              to take effect.                                                          =
    =========================================================================================
     
    The Multi-OEM/Retail Project has completed.
    

    Time to archive MRP ready to upload... Will post when everything done.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    MRP v77.0 has been uploaded, password updated on the first post.

    Quick Summary

    + Added Server 2016 Standard OEM-SLP key plus enabled flag for OEM Key checking and tested for activation. Thanks go to @Enthousiast and @tcntad for testing.

    + Few tweaks to MRP Branding and Addon Manager code. (Hence the last test on Windows 7 OS).

    + Re-wording on a couple of Reason Code text lines, hopefully makes more sense! -- ( Rare you would see those text codes, but wanted to make sure it was worded clearer ).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    QT 36 testing in progress...

    + Enhanced SLIC table detection. Hopefully will detect a dummy/invalid slic and give a clue why something is not right.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    As promised the Query Tool v36.0 has been uploaded and first post password updated. :)

    Quick Summary

    + Added Enhanced SLIC table detection, if there is a table that is not right then you will see a note in the SLIC Information section with a possible reason why the SLIC is not working to activate. It may be because there is a dummy/invalid table present such as a modded bios that has a corrupted ACPI part which will result in activation failure. ie 'No marker present' which means one of the Table's ACPI entries is invalid.

    + A few other little tweaks to the code for speed and efficiency more so if the Fast mode is selected.

    + Re-Worded a couple of Reason Code text lines to hopefully make more sense than the cryptic ones that was written before.

    + Re-worded the #09 SLIC Version line to SLIC Information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #1788 mxman2k, Dec 10, 2017
    Last edited: Dec 10, 2017
    (OP)
    Majority of the time you will see either 'No SLIC table present' or the slic version number 2.x, if there is a problem with the SLIC then you will see one of the following messages:

    SLIC table without marker present. {Meaning possibly a dummy SLIC present.}

    SLIC table corrupt or invalid data. {Meaning either a dummy SLIC or a bad SLIC bios mod.}

    It may not be 100% perfect but so far tests have concluded it does seem to work ok. I not got a corrupted or dummy SLIC'd computer to test, in theory it should detect a duff table.

    Plus the reason code text will possibly show a message if the BIOS is at fault or a Certificate is missing etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. b01m

    b01m MDL Novice

    Nov 14, 2017
    27
    25
    0
    This My result
    MRP - OEM Query Tool v36.0 Enhanced -- 11/12/2017 -- 02:29am
    -------------------------------------------
    - Basic OEM Information For This Computer -
    -------------------------------------------
    OS Name - Windows 10 Pro x64
    OS Edition {Registry} - Professional
    OS Edition {WMIC} - 16,
    OS Build Number - 16299
    OS Update Build Revision - 98
    OS Language Name/Code - en-US / Dec:1033 {Hex:409}
    OS Locale - en-ID
    OS Language Value - ZZZ
    OS Installation Date - 09/12/2017 17:16:00
    CPU Name - Intel{R} Core{TM} i3 CPU M 350 @ 2.27GHz
    CPU Description - Intel64 Family 6 Model 37 Stepping 5
    CPU Architecture - 32/64 Bit Instruction Set
    CPU Cores/Threads - [2] / [4]
    HDD Mode/Partition - [AHCI] / [MBR]
    Bios Version - [_ASUS_, Undefined Date]
    Total Physical Memory - [3885 Mb]
    Available Memory - [677 Mb]
    GPU Primary Adaptor Name - [Intel{R} HD Graphics]
    --------------------
    - Scanned DMI/BIOS -
    --------------------
    #01 CSProduct Name - K42F #09 SLIC Information - 2.1
    #02 CSModel Name - K42F #10 Product Key - Not Shown On Saved Report
    #03 CSBaseboard Prod - K42F #11 MSDM Key - No MSDM Table Detected
    #04 CSProduct Vendor - ASUSTeK Computer Inc. #11 MSDM Edition - Undefined
    #05 CSManufacturer - ASUSTeK Computer Inc. #11 MSDM Brand Name - Undefined
    #06 Baseboard MFR - ASUSTeK Computer Inc. #12 BIOS/Boot Mode - Legacy/MBR
    #07 Serial/Service Tag - Not Shown On Saved Report #13 Certificate - Not Present
    #08 BIOS or SLIC ID - _ASUS_ #14 License Status - Licensed {Retail/Digital License}
    -----------
    - Summary -
    -----------
    OEM Theme/Branding - Asus [id: #04]
    OEM Activation Vista/7 - Asus [id: #08]
    Valid OEM Consumer OS - Vista/Win7 Only
    .Net Versions Detected - v1.1.4322 v2.0.50727 v3.5 v4.0.30319 v4.7.02556
    Powershell Version{s} - 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
    License Status Reason - 0x4004F401: This computer has a valid Digital/Store License.
    Other Notes: - Possible Edition switch detected.
    ** End of Query Tool report. **
     
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #1790 mxman2k, Dec 10, 2017
    Last edited: Dec 10, 2017
    (OP)
    Ah yes ignore the possible edition switch message its because the WMIC and registry are mismatched, One says Pro the other '16,' I still not worked out why the WMIC gets that part wrong. Tried all sorts to work that out!

    One possible reason is the OS language. It not do it on all languages/editions just some. :g:

    OS Locale - en-ID
    OS Language Value - ZZZ

    May be the clue ?

    I think Russian and Arabic also gives some odd return codes/information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    Is the Config Creator in this edition? I didn't see anything mentioned in this release.
    Thanks
     
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    Yes, it is in the 'Optional' folder within the MRP archive. On the next release i will move it into the main folder so it is found easier. :oops:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #1793 mxman2k, Dec 12, 2017
    Last edited: Dec 12, 2017
    (OP)
    Query Tool v37 is in testing stage as using a slightly different method to check for License Switches... Hopefully prevent that "16," etc glitch. :)

    If no switch detected you will only see one line 'OS Edition {Registry}' but if there is a detected difference then 'OS Edition {Switched}' will be shown as well detailing the switched Edition.

    The 'Switched' being what the new Edition it has been changed to.

    So far things looking good. :)

    Examples:
    For Switched:
    Code:
     OS Name                   - Windows 10 Pro for Workstations x64
     OS Edition {Registry}     - Professional
     OS Edition {Switched}     - ProfessionalWorkstation 
    None Switched:
    Code:
     OS Name                   - Windows 10 Pro x64
     OS Edition {Registry}     - Professional 
    I know it looks same on the outside, but just this little change of code took me hours of testing! :eek:

    *edit* Changed wording from Current to Switched. As always its all experimental and may or may not solve the glitch, this new code/method only works on Windows 10, (not Server 2016), all other OS's as far as i know not affected so they are not checked by this routine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #1794 mxman2k, Dec 12, 2017
    Last edited: Dec 12, 2017
    (OP)
    Code:
    MRP - OEM Query Tool v37.0 {BETA} Enhanced  --  12/12/2017 -- 10:51am
     
    -------------------------------------------
    - Basic OEM Information For This Computer -
    -------------------------------------------
     OS Name                   - Windows 10 Pro for Workstations x64
     OS Edition {Registry}     - Professional
     OS Edition {Switched}     - ProfessionalWorkstation
     OS Build Number           - 16299
     OS Update Build Revision  - 15 {November Refresh}
     OS Language Name/Code     - en-GB / Dec:2057 {Hex:809}
     OS Locale                 - en-GB
     OS Language Value         - ENG
     OS Installation Date      - 07/12/2017 5:17:06 PM
     CPU Name                  - Intel{R} Celeron{R} CPU G1820 @ 2.70GHz
     CPU Description           - Intel64 Family 6 Model 60 Stepping 3
     CPU Architecture          - 32/64 Bit Instruction Set
     CPU Cores/Threads         - [2] / [2]
     HDD Mode/Partition        - [AHCI] / [MBR]
     Bios Version              - [P2.20, 03/09/2016]
     Total Physical Memory     - [3896 Mb]
     Available Memory          - [3130 Mb]
     GPU Primary Adaptor Name  - [Microsoft Basic Display Adapter]
     
    --------------------
    - Scanned DMI/BIOS -
    --------------------
     #01 CSProduct Name        - H81M-HDS                        #09 SLIC Information - 2.1                                   
     #02 CSModel Name          - H81M-HDS                        #10 Product Key      - Not Shown On Saved Report   
     #03 CSBaseboard Prod      - H81M-HDS                        #11 MSDM Key         - No MSDM Table Detected       
     #04 CSProduct Vendor      - ASUSTeK Computer INC.           #11 MSDM Edition     - Undefined                             
     #05 CSManufacturer        - ASUSTeK Computer INC.           #11 MSDM Brand Name  - Undefined                   
     #06 Baseboard MFR         - ASUSTeK Computer INC.           #12 BIOS/Boot Mode   - Legacy/MBR                   
     #07 Serial/Service Tag    - Not Shown On Saved Report       #13 Certificate      - Not Present                 
     #08 BIOS or SLIC ID       - _ASUS_                          #14 License Status   - Licensed {Retail/Digital License}     
     
    -----------
    - Summary -
    -----------
     OEM Theme/Branding        - Asus [id: #04] 
     OEM Activation Vista/7    - Asus [id: #08]
     Valid OEM Consumer OS     - Vista/Win7 Only
     .Net Versions Detected    - v1.1.4322 v2.0.50727  v4.0.30319 v4.7.02556
     Powershell Version{s}     - 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
     License Status Reason     - 0x4004F401: This computer has a valid Digital/Store License.
     Other Notes:              - Possible Edition switch detected.
     
     ** End of Query Tool report. **
    
    Will upload the beta shortly if anyone wishes to test it.

    Hmm ignore the November refresh line :oops: i not finished that part yet. :p

    Fixed the November 64 refresh line now. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #1795 mxman2k, Dec 12, 2017
    Last edited: Dec 12, 2017
    (OP)
    Code:
     Link removed.
    As mentioned it is experimental and may not show the data as expected. So far no problems, but as i only have a limited amount of test environments available i cannot foresee any glitches which may happen. No harm will be done to your computer as everything is read only and not write anything to the system - apart from temp files the QT uses and any saved reports.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. b01m

    b01m MDL Novice

    Nov 14, 2017
    27
    25
    0
    This my result 3.7

     
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    OS Edition {Switched} - 16, :g: This is a puzzle.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. b01m

    b01m MDL Novice

    Nov 14, 2017
    27
    25
    0
    or maybe wrong with my windows ?
    I'm fresh install with win 10 pro x64 english edition download from techbench

    sory for my bad engish :rolleyes:
     
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    Not sure what is the glitch, had something like this with Servers it would obtain some odd result.

    Just working on a 'fix' that might sort this...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    @b01m, If you could copy/paste the code below and save as test.cmd then run it and post the results, it may give me a clue. Thanks.

    Code:
    @echo off
    echo.
    SET "INL=IF NOT ERRORLEVEL 1"
    FOR /F "tokens=2* delims=     " %%A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" 2^>nul') DO %INL% (SET "OSEDN=%%B")
    FOR /F "tokens=2* delims=     " %%A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "CompositionEditionID" 2^>nul') DO %INL% (SET "Compo=%%B")
    
    echo.
    echo EditionID = "%OSEDN%"
    echo CompoEdID = "%Compo%"
    echo.
    pause
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...