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,317
    21,056
    210
    I think m$ has made a bit of a screw up!

    Seems like its installing Enterprise Version no matter what and then changing to the User chosen Edition.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    There's no official way to downgrade Enterprise :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Well it seems they have somehow made it do it lol

    I think the programmers had a bit too much festive spirit :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Harsh times for all tools checking registry only, in case of KMS activation i see confused users ahead :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Yeah, at least the QT/MRP does two different checks, shown this up quite early on.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,515
    450
    MSFT is heading to one iso fits all, home/pro and all others by dism set-edition or license switch.
     
  7. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    WMIC is the only reliable info. Registry shows 'Windows 10 Enterprise' where WMIC will state 'Win 10 Pro' as shown in System Pane.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    In one way it would make some sense if that is what they are planning, but as always very little information available.

    Highest Edition then branch down via License/Edition Switch down to lowest :thinking:

    Would save on downloads :p

    One for consumer, another VLK, another Server...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Interesting, after switching to ProWork (and a reboot) registry shows 'Windows 10 Pro for Workstations IP' in ProductName.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. b01m

    b01m MDL Novice

    Nov 14, 2017
    27
    25
    0
    Enterprise to Pro VL

    Code:
    MRP - OEM Query Tool v39.0 Enhanced  --  20/12/2017 -- 11:52pm
     
    -------------------------------------------
    - Basic OEM Information For This Computer -
    -------------------------------------------
     OS Name                   - Windows 10 Pro x64 
     OS Edition {Registry}     - Professional
     OS Build Number           - 16299
     OS Update Build Revision  - 125
     OS Language Name/Code     - en-US / Dec:1033 {Hex:409}
     OS Locale                 - en-ID
     OS Installation Date      - 15/12/2017 10:00:10
     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 {Boot} Information    - [BusType:AT, Partition:MBR, Model:5AS             ]
     Bios Version              - [_ASUS_, Undefined Date]
     Total Physical Memory     - [3885 Mb]
     Available Memory          - [682 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 {Volume_MAK}                   
     
    -----------
    - 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.
     
     ** End of Query Tool report. **
    

    Enterprise to Pro Retail

    Code:
    MRP - OEM Query Tool v39.0 Enhanced  --  21/12/2017 -- 12:14am
     
    -------------------------------------------
    - Basic OEM Information For This Computer -
    -------------------------------------------
     OS Name                   - Windows 10 Pro x64 
     OS Edition {Registry}     - Professional
     OS Build Number           - 16299
     OS Update Build Revision  - 125
     OS Language Name/Code     - en-US / Dec:1033 {Hex:409}
     OS Locale                 - en-ID
     OS Installation Date      - 15/12/2017 10:00:10
     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 {Boot} Information    - [BusType:AT, Partition:MBR, Model:5AS             ]
     Bios Version              - [_ASUS_, Undefined Date]
     Total Physical Memory     - [3885 Mb]
     Available Memory          - [648 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.
     
     ** End of Query Tool report. **
    
     
  11. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Did a test install of 17063 Enterprise (set-edition'ed) with $oem$ folder but it failed completely with no log :hmm:.

    The query tool checks all nicely:
    Code:
    MRP - OEM Query Tool v39.0 Enhanced  --  20.12.2017 -- 8:26pm
    -------------------------------------------
    - Basic OEM Information For This Computer -
    -------------------------------------------
     OS Name                   - Windows 10 Enterprise Insider Preview x64  
     OS Edition {Registry}     - Enterprise
     OS Build Number           - 17063
     OS Update Build Revision  - 1000
     OS Language Name/Code     - de-DE / Dec:1031 {Hex:407}
     OS Locale                 - de-DE
     OS Language Value         - DEU
     OS Installation Date      - 20.12.2017 19:04:30
     CPU Name                  - Intel{R} Core{TM} i5-3570K CPU @ 3.40GHz {x2}
     CPU Description           - Intel64 Family 6 Model 58 Stepping 9
     CPU Architecture          - 32/64 Bit Instruction Set
     CPU Cores/Threads         - [4] / [4]
     HDD {Boot} Information    - [BusType:SAS, Partition:MBR, Model:VMware Virtual S]
     Bios Version              - [6.00, 07/02/2012]
     Total Physical Memory     - [5403 Mb]
     Available Memory          - [4042 Mb]
     GPU Primary Adaptor Name  - [VMware SVGA 3D]
    --------------------
    - Scanned DMI/BIOS -
    --------------------
     #01 CSProduct Name        - VMware Virtual Platform         #09 SLIC Information - 2.2                                     
     #02 CSModel Name          - VMware Virtual Platform         #10 Product Key      - Not Shown On Saved Report     
     #03 CSBaseboard Prod      - 440BX Desktop Reference Platfo  #11 MSDM Key         - Not Shown On Saved Report     
     #04 CSProduct Vendor      - VMware, Inc.                    #11 MSDM Edition     - Win 10 Enterprise                       
     #05 CSManufacturer        - VMware, Inc.                    #11 MSDM Brand Name  - Dell                           
     #06 Baseboard MFR         - Intel Corporation               #12 BIOS/Boot Mode   - Legacy/MBR                     
     #07 Serial/Service Tag    - Not Shown On Saved Report       #13 Certificate      - Not Present                   
     #08 BIOS or SLIC ID       - DELL                            #14 License Status   - Notification                             
    -----------
    - Summary -
    -----------
     OEM Theme/Branding        - Dell [id: #08]   
     OEM Activation Vista/7    - Dell [id: #08]
     Valid OEM Consumer OS     - Vista/Win7/Win8.x/Win10
     Valid OEM Server OS       - Server 2008/Server 2008R2/Server 2012
     MSDM Check Method Used    - {M1}
     .Net Versions Detected    - v1.1.4322 v2.0.50727  v4.0.30319 v4.7.03036
     Powershell Version{s}     - 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
     License Status Reason     - 0xC004F034: License not found/invalid or could not connect to the Activation Server.
     ** End of Query Tool report. **
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    #1952 mxman2k, Dec 20, 2017
    Last edited: Dec 20, 2017
    (OP)
    At least no 'Possible Edition Switch' message :p

    Not sure why the MRP failed :g:

    Did you use the VM with the Enterprise MSDM and no ei.cfg as that would bypass mrp/oobe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Good question. QT shows the Ent MSDM and the offered edition choice at setup proved an ei.cfg being present.

    Second test with ProWork was successful:
    Code:
    Multi-OEM/Retail Project Version : 171219-R78.1.BF - BaseLine  [MRP/MDL]
    Required project files extracted successfully.
    DeCompile has detected a 'VMware' Virtual Machine.
    OEM's folder detected, structure appears OK.
    No Config File Detected - Using Default Option Settings.
    MRP Logging Mode              : Standard
    Confirm File Delete           : Disabled
    W10 TitleBar Color            : Disabled
    Show 'ThisPC' On Desktop      : Disabled
    OS Installation Date/Time     : 20.12.2017 -- 9:09pm
    [OSINF] =======================  
    [OSINF] Detected OS Information  
    [OSINF] =======================  
    [OSINF] Version Installed     : Windows 10 Enterprise Insider Preview x64
    [OSINF] Edition {Registry}    : ProfessionalWorkstation
    [OSINF] Edition {WMIC}        : ProfessionalWorkstation
    [OSINF] Build Information     : 17063.1000.amd64fre.rs_prerelease.171213-1610
    [OSINF] Update Build Revision : 1000
    [OSINF] Edition Language/Code : de-DE / 1031 {407h}
    [OSINF] Locale                : de-DE
    [OSINF] Language Name Value   : DEU
    [OSINF] =======================  
    [MBINF] =======================
    [MBINF] Motherboard Information
    [MBINF] =======================
    [MBINF] #01 CS Product Name   : [VMware Virtual Platform]
    [MBINF] #02 CS Model Name     : [VMware Virtual Platform]
    [MBINF] #04 CS Vendor Name    : [VMware, Inc.]
    [MBINF] #05 CS System Name    : [VMware, Inc.]
    [MBINF] #06 Baseboard Name    : [Intel Corporation]
    [MBINF] #08 BIOS or SLIC ID   : [DELL]
    [MBINF] #09 SLIC Information  : [2.2]
    [MBINF] #11 MSDM Brand Name   : [Dell]
    [MBINF] =======================
    [CMINF] =======================
    [CMINF] CPU/Memory  Information
    [CMINF] =======================
    [CMINF] CPU Name/Type         : [Intel{R} Core{TM} i5-3570K CPU @ 3.40GHz]
    [CMINF] CPU Description       : [Intel64 Family 6 Model 58 Stepping 9]
    [CMINF] CPU Architecture      : [32/64 Bit Instruction Set]
    [CMINF] CPU Cores/Threads     : [2] / [2]
    [CMINF] Total Physical Memory : [5403 Mb]
    [CMINF] Available Memory      : [4865 Mb]
    [CMINF] =======================
    [HDTYP] Info: HDD Detected.
    [PKEIC] The PID.txt file was not detected.
    [PKEIC] The ei.cfg file "D:\Sources\ei.cfg" was detected.
    [CKDMI] Querying BIOS for any manufacturer brand information.
    [VMWSD] Default DMI 'VMware' with a Dell [#08] SLIC detected.
    [THMOK] Dell [#08] manufacturer detected for automated theme/branding.
    [CHKMN] Computer Model Name: 'VMware Virtual Platform' has been applied.
    [USRFT] CustomTheme option was not used.
    [WPCHK] Wallpaper.jpg transferred.
    [BGDFC] Desktop backgrounds folder created.
    [BGDFC] BackgroundDefault.jpg created from Wallpaper.jpg.
    [RMXML] OOBE.xml file processed.
    [UBREP] User.bmp replaced.
    [UPREP] User.png replaced.
    [UPREP] User-40.png replaced.
    [UPREP] User-32.png replaced.
    [UPREP] User-48.png replaced.
    [UPREP] User-192.png replaced.
    [WX81S] Lock Screen {img105.jpg} replaced. Original renamed as img0105.jpg.
    [WX81S] Log-In Background {img100.jpg} replaced. Original renamed as img0100.jpg.
    [OTFTS] OEM theme folder has been created.
    [OTFTS] OEM files have been transferred.
    [ATHBA] Dell theme has been applied.  
    [BSHCS] Branding script has completed.
    [ADMAN] Add-On Manager: Started.
    [CMSDM] Querying BIOS for MSDM data.
    [CMSDM] Processing MSDM Key...
    [CMSDM] Key Detection Routine Used : 1
    [CMSDM] MSDM Key Information: Win 10 ProfessionalWorkstation
    [CMSDM] The detected MSDM key can be used for the OS Edition installed, saved and applied.
    [CMSDM] The MSDM key details have been saved in C:\MSDM-Key.txt.
    [USRAC] Windows 10: Enhanced Log-On screen has been enabled.
    [USRAC] 'User Account Picture' registry entry applied.
    [USRRO] Windows 'Registered Owner' {Winver} registry entry corrected.
    [USRD0] Detected 'defaultuser0', removal process started.
    [RDUPM] Removal of 'defaultuser0' account completed.
    [AMBPS] BIOS/Boot Mode : Legacy  
    [AMBPS] Partition Type : MBR
    [AMHDC] SSD/HDD Mode   : AHCI
    [CHKLS] License Status: Notification
    [OSLRC] License Status Reason Code: 0xC004F034
    [OSLRT] License not found/invalid or could not connect to the Activation Server.
    [CHKLS] Online connection required to complete MSDM activation.
    [ADMAN] Add-On Manager: Completed.
    [CLNUP] MRP Clean Up Routine Processed.
    =========================================================================================
    = Please Note: It is advisable to log out or reboot your computer when possible to      =
    =              allow Windows 10 to finalize any settings/User Pictures etc.             =
    =                                                                                       =
    =              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.
    
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    [OSINF] Version Installed : Windows 10 Enterprise Insider Preview x64 <--- Still says this, must be a m$ problem with the Insider build. Unless there is another way to get the ISO/Version information.

    [OSINF] Edition {Registry} : ProfessionalWorkstation
    [OSINF] Edition {WMIC} : ProfessionalWorkstation

    As long as it installed the edition you required that is all that matters. Was worried i would have to re-write something but looks as the MRP is running as it should, just the Version name is somehow confused.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Like for Pro, registry will always show Enterprise as ProductName, WMIC and Sys Pane will show Pro or ProWork.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Some more weirdness :cool2:. Upgraded 15063 and 16299 Enterprise to 17063 using Enterprise and Pro/Core ISO and noticed WMIC spitting exception errors when checking for Product Name and Edition. Needed to add the '/value' switch to the queries. Doesn't happen on normal 17063 install.

    Might be an idea to add them in QT/MRP too :thinking:.

    Productname parse i use:
    Code:
    for /f "tokens=3,4* delims== " %%i in ('"wmic os get caption /value"') do set "ver=%%i %%j %%k"
    Edition parse:
    Code:
    for /f "tokens=2 delims=, " %%A in ('"wmic path %slp% where LicenseStatus='%status%' get name /value"') do set edition=%%A
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    funny thing is i have just added something similar :p

    Code:
    FOR /F "TOKENS=1,* DELIMS==" %%u IN ('WMIC OS GET CAPTION /VALUE') DO IF /I "%%u"=="Caption" SET "OSVersion=%%v"
    Also moved bits about.. (MRP)
    Code:
     [OSINF] =======================
     [OSINF] Detected OS Information
     [OSINF] =======================
     [OSINF] Version Via Registry  :  %OSNAME%
     [OSINF] Version Via WMIC      :  %OSVersion%
     [OSINF] Architecture          :  %OSArch% 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Like minds think alike :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Recommend to add the /value switch to the Edition query likewise to be safe :dunno:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Just adding now :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...