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
    5,679
    19,122
    180
    User.bmp is for Vista/7 - Resolution: 128 x 128 Pixels - File Size: ~50Kb approx.

    User810.bmp is for 8.x/10 - Resolution: 448 x 448 Pixels - File Size: ~558Kb approx.

    If you wish to use Wallpaper2.jpg as your default, simply delete wallpaper.jpg and rename wallpaper2.jpg to wallpaper.jpg within the OEM's.7z as long as the file size is below 250Kb for OS's below 8.1 all will be ok, for OS's above 7 file size is best kept below 2Mb or it can cause a slight delay for the desktop to first appear after setup has completed while Windows adjusts or trans-code's the file for its use.

    Note when up-sizing a picture it may look blurry or even pixelated, it is usually better to have a larger than required dimensions and reduce to the smaller picture size which usually gives better results.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    Also noticed this line in the OOBE.CMD:
    Code:
    IF EXIST "%Windir%\Setup\Scripts\MRPInstall.cmd" CALL "%Windir%\Setup\Scripts\MRPInstall.cmd"
    Where is "MRPInstall.cmd"? I did not see it anywhere in the downloaded zip.
     
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,679
    19,122
    180
    #09 SLIC Information : v2.1
    #08 BIOS or SLIC ID : HPQOEM - 0

    First you have a SLIC 2.1 for HP so Windows 7 should auto activate as it depends if it is one of those 'hidden' ones like Lenovo like to do which looking at the QT report it is clearly 'visible'.

    Also i have noted the Server OEM is also showing 2008R2 which is win 7 based so your computer *should* activate win 7, if the SLIC was emulated then this part does not usually show. :)

    That line in the oobe is because decompile extracts all the MRP files and then this file gets called via oobe.cmd to start the process.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    Thank you!
    Another question: I think the system originally had a PRO version - this is from the keyinfo.txt file:
    Code:
    Edition    : Win 10 Professional
    Would I be able to install and have it activate an ULTIMATE version offline? I have a legitimate activation key for Win7 ultimate.
     
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,679
    19,122
    180
    The MSDM edition is Win 10 Pro , the SLIC will cover from Basic to Ultimate so if you installed 7 Ultimate MRP should auto activate your computer because there is a valid SLIC, MRP will insert the SLP-KEY and Certificate required to perform that action.

    Windows 8.x/10 Professional would auto activate as the MSDM is present and valid for that edition, it would not activate any other editions as the MSDM key is not for them.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    867
    1,463
    30
  7. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    867
    1,463
    30
  8. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    I ran the install but no auto-activation did not happen. From the debug log:
    Code:
    HP [#01] manufacturer was detected for automated theme/branding.
    OEM SLP Key/Certificate routines will not be processed. Reason: No OEM-SLP Key available. 
    Any ideas? Did I do something wrong?
    Here is the full debug log:
    Code:
    =============
    MRP Debug Log
    =============
     
    Checking for OEM folder and structure...
    OEM's folder structure appears to be correct.
     
    Checking for CustomTheme...
    CustomTheme was not defined.
     
    Check Lock/Login screen variable state...
    Lock/Login screen variable = Not used on Kernel: 6.1
     
    Transfer of Options to new Users was disabled.
     
    Prechecks Done - Start Main Section...
     
    OS Installation Date/Time : 08/28/2019 {UTC} -- 4:05pm
    MRP Version Installed     : CY19M08D18-R116.0.BL
    MRP Config File Used      : 21.0 {Advanced Mode}
     
    Unicode Mode              : Operative
    Original Codepage         : 437
     
    =========
    Variables
    =========
    Oobe State     : System Controlled
    Install Type   : Client {Non Server}
    PC System Type : Workstation {0x3}
    Chassis Type   : 04 - Low Profile Desktop
    Domain Detected: No
    OS Name {Reg}  : Windows 7 Ultimate
    OS SKU Version : Ultimate {1}
    OS Architecture: x64 {AR:1}
    Edition {REG}  : Ultimate
    Edition {OSED} : Ultimate
    Build ID {R}   : 7601
    Build ID {V}   : 7601
    Reference Ver  : 6.1.7600.16385
    RS3 Plus       : No
    RS4 Plus       : No
    RS5 Plus       : No
    Language/Code  : en-US / 1033 {0x409h}
    Locale         : English – United States
    Time Zone Data : Pacific Standard Time
     
    ===============
    Main Processing
    ===============
    Obtaining Motherboard information.
    Checking for SLIC and MSDM tables.
     
    ====================
      DMI  Information
    ====================
    CSNAME             : [HP Z240 SFF Workstation]
    SYSMODEL           : [HP Z240 SFF Workstation]
    BASEPRO            : [802E]
    CSVENDOR           : [HP]
    SYSMNF             : [HP]
    BASEMNF            : [HP]
     
    BIOS or SLIC ID 1  : HPQOEM - 0
    SLIC Information   : 2.1
    MSDM Information   : Invalid MSDM Table Data
     
     
    Checking CPU and Memory information...
    Checking number of CPU's fitted.
    Checking CPU Max Clock Speed.
    Checking CPU Cores.
    Checking CPU Manufacturer.
    Checking CPU Threads.
    Checking CPU Name.
    Checking CPU Description.
    Checking CPU Datawidth, {Bits}.
    Checking CPU ID.
    Checking if CPU Virtualization mode is active or not.
     
    Checking Memory configuration.
    Checking Memory Error Correction type.
    Checking Memory Devices/Slots.
    Checking Memory Max Capacity.
    Total Memory - 15.66 GB
    Used Memory  - 975.49 MB
    Free Memory  - 14.71 GB [93.92%]
     
    Checking Meltdown/Spectre awareness.
     
    Show User Options display section.
    Drive Label Section.
     
    Checking for 'Retail.txt'.
    The 'Retail.txt' file was not detected within the 'Scripts' folder.
     
    Checking for 'ei.cfg'.
    The 'ei.cfg' file was not detected.
     
    Checking for 'Pid.txt'.
    The 'PID.txt' file was not detected.
     
    Querying DMI for any OEM brand information.
     
    ====================
       DMI Processing   
    ====================
    CSNAME             : DMI + Database = Possible Match [HP]
    CSNAME {Conf}      : DMI + Database = Match [HP] - via Conflict Resolution.
     
    Possible DMI conflicts was detected.
    DMI query routine has completed.
     
     
    Checking for any SLIC data.
     
    HP [#08] SLIC v2.1 found for possible Windows 7 OEM activation. 
     
    Bypassed Virtual Machine data checks as DMI [HP] was detected. 
     
    HP [#01] manufacturer was detected for automated theme/branding.
    OEM SLP Key/Certificate routines will not be processed. Reason: No OEM-SLP Key available.
    BIOS defined 'HP Z240 SFF Workstation' model name has been applied.
    Theme Processing Routines.
    User specified theme was not defined.
    DMI theme 'HP' will be applied.
    The registry tweak for 64 Bit OS branding has been applied.
    Transfer Section.
    See Project.log for more details of above sections.
    Processing Brand/Theme Files Transfer Routines.
    Theme files have been transferred.
    HP OEM brand theme has been applied.
    Checking for SetupComplete/FirstLogon files within the 'Scripts' folder:
    None found.
     
    Branding script has completed. 
     
     
    =============================================================================
    ======================== Addon Manager - Log Section ========================
    =============================================================================
     
    Edition Chk    : [Ultimate] {Ed0}
    Edition Chk1   : [Ultimate] {Ed1}
    Edition Chk2   : [Ultimate] {W2S}
    Pre Windows 10 : [Yes]
    Theme Reg Tweak: [Not Required]
    Transfer Opts  : [No]
     
    ===[ Built-In 'Administrator' Details ]===
    Localized Name   : Administrator
    Account Active   : No {Disabled}
    Account Status   : Degraded
     
    Bios Mode and OS Drive Partition Information
    ============================================
    A-Routine BMode: [UEFI]
    A-Routine DPart: [GPT]
    WMIC BMode     : [GPT System]
    WMIC DPart     : [GPT]
    SecureBoot     : [{X} N/A]
    Controller Mode: [{S} NVMe/PCIe]
     
    Other Data
    ==========
    AO1 Flags S1   : [DUT=0], [DWT=0], [DAT=0], [DPA=0], [DOU=0], [DSC=0], [DFL=0]
    AO2 Flags S2   : [PRI=0], [A2B=0], [B2Z=0], [MKU=0], [OSP=0], [OPT=0]
    AO2 Flags S3   : [SEC=0]
     
    First Tidy Up  : Started
    First Tidy Up  : Used Files
    First Tidy Up  : Used Environment Variables
    First Tidy Up  : Completed
     
    Detecting Activation Status...
    Detecting Activation Status - Done.
    Detecting License Channel Type...
    Detecting License Channel Type...
    Detecting License Channel Type - Done. Retail {CTT}
     
    ================ License Status ================
    License Status  : Out-of-Box Grace Allowance
    Channel Status  : Retail {CTT}
    6.0/6.1 Grace   : 30 days / 43200 minutes.
    VL/KMS Capable  : No
    Key Management  : No
    Reason Code     : 0x4004F00C {Dec: 1074065420}
    Reason Text     : Running within the valid grace allowance. 
     
    Final Tidy Up  : Started
    Final Tidy Up  : Redundant Files
    Final Tidy Up  : Redundant Environment Variables
    Final Tidy Up  : Completed
     
    Unicode Mode   : Deactivated
    Orig Codepage  : 437
     
    ----------------------------------------------------------------------
    MRP Debug Log Completed.
    
     
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,679
    19,122
    180
    :g: interesting why it not processing the HP Ultimate SLP-Key as all criteria seems to have been met, valid SLIC 2.1, HP detected as brand which should trigger the HP's XML Certificate and Key combination....

    I know HP/Compaq is a fussy brand at the best of times, but this one has me puzzled.

    As you can see under win 7 the MSDM gets invalidated, like Lenovo and maybe other makers, some sort of trickery is done to hide/invalidate either the SLIC or MSDM depending on the OS installed. But in this case that is not the problem as far as i can see as the SLIC is showing as 2.1 and valid.

    What may be happening is that a new form of trickery is being done as win 7 is soon EOL in that they have altered something in the SLIC to look for a different Certificate's ID which does not exist thereby causing the failure to activated via the usual SLIC+SLP-Key+Cert method... This is only a guess, but i would not rule it out at this time to basically stop people from installing Win 7 if the device came with 8.x/10 at factory.

    There are several HP Certificates (14?) that are checked against and at least one should of been valid, there is only one SLP HP Ultimate key, but even so any Ultimate SLP key can be used as they are not brand specific and MRP would use the 'default' one anyway, only the Certs are specific...

    I am mentioning about the Cert side more than the Key as they are all interconnected, as the Cert could not be matched then the Key routine failed also.

    As you mentioned that you have a retail Ultimate key at least you have a way to activate the OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    Appreciate the response and details. I will tryinstalling PRO later just to see what happens.

    Would there be any chance that downgrading the BIOS version might fix the issue? Are the certs stored in the downloaded BIOS files?
     
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,679
    19,122
    180
    The Certificates are stored within the decompile and are extracted from it during the setup process. I have added all the current Certs for the brands supported.

    As for Bios downgrading, that may not work and would advise against it as it could brick the device.

    You could try the Windows Loader as that would just attempt to install the key and cert as you are using GPT format which the loader's grub part will not be used.

    If that works then i will take time to check through the MRP code to see what has gone wrong and if there is a 'bad' cert which is causing the non activation...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    So I did try installing the PRO version but the results were the same. As far as downgrading the BIOS, I had to do it before on this box in order to resolve another issue so I'm not too worried about that. If you don't think it would affect anything then I won't try it.

    I am not familiar with the "Windows Loader" - is there a document or blog post you can point me to so I can understand what needs to be done?

    - edit: I think I found it. https://forums.mydigitallife.net/threads/windows-loader-support-and-chat.24902/
    is this what you were talking about?
     
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,027
    93,865
    450
    Windows Loader - Download
     
  14. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    Thany you @Enthousiast. I don't suppose there is a "trustworthy" non-torrent download that you know of?
     
  15. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    I'm probably being dense here but looking through the links in the sig (including pastebin) I couldn't find it - only OS ISO's :(
     
  16. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
  17. gu mail

    gu mail MDL Novice

    Aug 18, 2019
    15
    6
    0
    So I tried Windows Loader and it successfully activated the PRO version I just installed. If you need any further information from me to troubleshoot please let me know. If you do get a fix for me to try I will get on it ASAP.
    -thx
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,027
    93,865
    450