Multi-OEM/Retail Project {MRP} - Mk3

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

  1. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,645
    270
    GREAT idea!

    This could help a lot to many people.

    :worthy:
     
  2. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    #122 apologized, Nov 28, 2016
    Last edited by a moderator: Apr 20, 2017
    Windows 10 Enterprise N 2016 LTSB

    Code:
    Multi-OEM/Retail Project Version : 161128-r28b [MRP/MDL] 
    Files present and extracted successfully. 
    OEM's folder detected. 
    OEM's folder structure is OK. 
     
    OS Installation Date: 28/11/2016 
     
    23:32:24,26 Defined Windows 10 Enterprise N 2016 LTSB x86 version found. 
    23:32:24,35 EnterpriseSN installed. 
    23:32:24,35 Build Version: 14393.0.x86fre.rs1_release.160715-1616 
     
    DMI BIOS Information 
    #1 CS PRODUCT NAME   : [HPE-410fr] 
    #2 CS MODEL          : [HPE-410fr] 
    #4 CS VENDOR         : [Hewlett-Packard] 
    #5 CS SYSTEM MNF     : [Hewlett-Packard] 
    #6 BASEBOARD MNF     : [MSI] 
    #8 BIOS ID/VER       : [HPQOEM] 
     
    23:32:25,63 Defined HP [#4] manufacture found for theme branding. 
    23:32:25,84 No MSDM key detected. 
    23:32:25,84 Force theme text file not present. 
    23:32:33,13 System Product Name = HPE-410fr found and applied successfully.
    23:32:33,13 Backgrounds folder created successfully. 
    23:32:41,13 Deletion of OOBE.xml file successful.  
    23:32:41,13 User.bmp backed-up and replaced successfully.  
    23:32:41,13 User.png backed-up and replaced successfully.  
    23:32:41,13 User-40.png backed-up and replaced successfully.  
    23:32:41,15 User-32.png backed-up and replaced successfully.  
    23:32:41,15 User-48.png backed-up and replaced successfully.  
    23:32:41,15 User-192.png backed-up and replaced successfully. 
    23:32:41,15 Img105.jpg backed-up and replaced successfully. 
    23:32:41,18 Theme backed-up and replaced successfully. 
    23:32:41,20 Img100.jpg backed-up and replaced successfully. 
    23:32:42,21 Info folder created successfully. 
    23:32:42,21 Files moved to System32\oobe\Info folder successfully. 
    23:32:45,16 Cleanup reg entry added successfully.
    23:32:45,16 Installation script has completed successfully.
    23:33:31,23 Advanced logon screen for Windows 10 enabled successfully.
    23:33:32,82 Windows 10 login user picture registry entry successfully applied. 
    23:33:32,85 Found 'defaultuser0', attempting to remove folder and fix reg entry. 
    23:33:33,01 Removal of 'defaultuser0' folder successful. 
    23:33:33,16 BIOS Mode: Legacy, Partition Type: MBR. 
    23:33:33,16 Device not connected to the Internet, online activation failed. 
    23:33:33,76 License Status: Error, not licensed. 
    23:33:33,76 Cleanup script has completed successfully. 
     
    ============================= Windows 10 Users =============================  
    Please Note: It is advisable to logout or reboot your computer when possible  
                 to allow the user/logon background pictures to finalize.         
    ============================================================================  
     
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    I have now altered the script to ignore the MSDM key if any Edition/SKU installed does not use it such as Enterprise.

    It will still save the key in MSDM-Key.txt but will just put a note in the log that the key was ignored and NOT installed automatically. I think this should prevent the ENT<>PRO confusion.

    Have made a 'flag' variable so that any new W10 SKU's that are made that not require MSDM being used can be 'flagged' this way.

    Just wish it was easier to make a program to check the MSDM key and say if it for CORE/PRO etc and then i can parse it to see what OS is installed and prevent the MDSM key being installed for the wrong version. So MSDM key for CORE but Pro installed then ignore MSDM and vice-versa.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    Awesome!! Thank you @apologized for testing :D:clap:

    Pity it is awkward to pull just the HP from the HPE part but at least it now picked out the Hewlett-Packard and branded correctly for LTSB :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    i will test LTSB (not N) after watching my serie thanks to you

    :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    I think i have got the right SKU name for LTSB non-N EnterpriseS ? if so that is in the beta you have.

    Many thanks, i can cancel this LTSB download that is taking hours to download lol
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    give me 20min from now i return with feedback
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    Thanks :) Fingers crossed i got the right SKU name for the non N Enterprise LTSB...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    #129 apologized, Nov 28, 2016
    Last edited by a moderator: Apr 20, 2017
    Windows 10 Enterprise 2016 LTSB

    Code:
    Multi-OEM/Retail Project Version : 161128-r28b [MRP/MDL] 
    Files present and extracted successfully. 
    OEM's folder detected. 
    OEM's folder structure is OK. 
     
    OS Installation Date: 29/11/2016 
     
     0:49:51,78 Defined Windows 10 Enterprise 2016 LTSB x86 version found. 
     0:49:51,87 EnterpriseS installed. 
     0:49:51,87 Build Version: 14393.0.x86fre.rs1_release.160715-1616 
     
    DMI BIOS Information 
    #1 CS PRODUCT NAME   : [HPE-410fr] 
    #2 CS MODEL          : [HPE-410fr] 
    #4 CS VENDOR         : [Hewlett-Packard] 
    #5 CS SYSTEM MNF     : [Hewlett-Packard] 
    #6 BASEBOARD MNF     : [MSI] 
    #8 BIOS ID/VER       : [HPQOEM] 
     
     0:50:24,18 Defined HP [#4] manufacture found for theme branding. 
     0:50:24,40 No MSDM key detected. 
     0:50:24,40 Force theme text file not present. 
     0:50:32,11 System Product Name = HPE-410fr found and applied successfully.
     0:50:32,11 Backgrounds folder created successfully. 
     0:50:40,11 Deletion of OOBE.xml file successful.  
     0:50:40,11 User.bmp backed-up and replaced successfully.  
     0:50:40,11 User.png backed-up and replaced successfully.  
     0:50:40,11 User-40.png backed-up and replaced successfully.  
     0:50:40,13 User-32.png backed-up and replaced successfully.  
     0:50:40,13 User-48.png backed-up and replaced successfully.  
     0:50:40,13 User-192.png backed-up and replaced successfully. 
     0:50:40,13 Img105.jpg backed-up and replaced successfully. 
     0:50:40,16 Theme backed-up and replaced successfully. 
     0:50:40,18 Img100.jpg backed-up and replaced successfully. 
     0:50:41,19 Info folder created successfully. 
     0:50:41,19 Files moved to System32\oobe\Info folder successfully. 
     0:50:44,13 Cleanup reg entry added successfully.
     0:50:44,13 Installation script has completed successfully.
     0:51:19,10 Advanced logon screen for Windows 10 enabled successfully.
     0:51:19,25 Windows 10 login user picture registry entry successfully applied. 
     0:51:19,29 Found 'defaultuser0', attempting to remove folder and fix reg entry. 
     0:51:19,45 Removal of 'defaultuser0' folder successful. 
     0:51:19,59 BIOS Mode: Legacy, Partition Type: MBR. 
     0:51:19,60 Device not connected to the Internet, online activation failed. 
     0:51:19,90 License Status: Error, not licensed. 
     0:51:19,92 Cleanup script has completed successfully. 
     
    ============================= Windows 10 Users =============================  
    Please Note: It is advisable to logout or reboot your computer when possible  
                 to allow the user/logon background pictures to finalize.         
    ============================================================================  
     
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    #130 mxman2k, Nov 28, 2016
    Last edited: Nov 29, 2016
    (OP)
    :clap: It worked!! Thank you so very much :worthy:

    LTSB EnterpriseS[N] - Branding now :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. kidb

    kidb MDL Novice

    Mar 6, 2012
    1
    0
    0
    Thank you :clap:
     
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    #132 mxman2k, Nov 29, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Beta progressing nicely :D

    Have done a couple of tests, one normal the other with a modified UEFI bios VM to show the log results and what happens when a Edition/SKU that does not use the MSDM key...

    The [ ] around certain words are to let me know if there was any spaces present.

    First Normal VM - Non-UEFI...
    Code:
    Multi-OEM/Retail Project Version : 161129-r30Beta [MRP/MDL] 
    Files present and extracted successfully. 
    OEM's folder detected. 
    OEM's folder structure is OK. 
     
    OS Installation Date: 29/11/2016 
     
    13:11:33.24 Defined Windows 10 Education x64 version found. 
    13:11:37.79 Education SKU/Edition installed. 
    13:11:37.79 Build Version: 14393.0.amd64fre.rs1_release.160715-1616 
     
    DMI BIOS Information 
    #1 CS PRODUCT NAME   : [HP ENVY TS m6 Sleekbook] 
    #2 CS MODEL          : [HP ENVY TS m6 Sleekbook] 
    #4 CS VENDOR         : [HP ENVY TS m6 Sleekbook] 
    #5 CS SYSTEM MNF     : [HP ENVY TS m6 Sleekbook] 
    #6 BASEBOARD MNF     : [value] 
    #8 BIOS ID/VER       : [HPQOEM] 
     
    13:11:59.01 Checking for DMI conflicts... 
    13:11:59.01 Possible [HP ENVY TS m6 Sleekbook] conflict re-checking DMI [#1] resolved as [HP].  
    13:11:59.22 Defined HP [#1] manufacture found for theme branding. 
    13:12:01.09 No MSDM key detected. 
    13:12:01.09 Force theme text file not present. 
    13:12:02.45 System Product Name not defined. 
    13:12:02.45 Backgrounds folder created successfully. 
    13:12:10.16 Deletion of OOBE.xml file successful.  
    13:12:10.16 User.bmp backed-up and replaced successfully.  
    13:12:12.44 User.png backed-up and replaced successfully.  
    13:12:12.61 User-40.png backed-up and replaced successfully.  
    13:12:12.69 User-32.png backed-up and replaced successfully.  
    13:12:12.73 User-48.png backed-up and replaced successfully.  
    13:12:12.73 User-192.png backed-up and replaced successfully. 
    13:12:12.73 Img105.jpg backed-up and replaced successfully. 
    13:12:13.25 Theme backed-up and replaced successfully. 
    13:12:13.44 Img100.jpg backed-up and replaced successfully. 
    13:12:14.19 Info folder created successfully. 
    13:12:14.25 Files moved to System32\oobe\Info folder successfully. 
    13:12:16.12 Cleanup reg entry added successfully.
    13:12:16.12 Installation script has completed successfully.
    13:13:30.16 Advanced logon screen for Windows 10 enabled successfully.
    13:13:30.89 Windows 10 login user picture registry entry successfully applied. 
    13:13:31.07 Found 'defaultuser0', attempting to remove folder and fix reg entry. 
    13:13:31.21 Removal of 'defaultuser0' folder successful. 
    13:13:31.44 BIOS Mode: Legacy, Partition Type: MBR. 
    13:13:31.44 Device not connected to the Internet, online activation failed. 
    13:13:36.15 License Status: Error, not licensed. 
    13:13:36.17 Cleanup script has completed successfully. 
    13:13:36.19 UserTweaks.cmd present attempting to apply. 
    13:13:36.19 UserTweaks.cmd completed. 
     
    ============================= Windows 10 Users =============================  
    Please Note: It is advisable to logout or reboot your computer when possible  
                 to allow the user/logon background pictures to finalize.         
    ============================================================================
    Now with a UEFI bios edited VM (with a MSDM key - which was a dummy one)
    Code:
    Multi-OEM/Retail Project Version : 161129-r30Beta [MRP/MDL] 
    Files present and extracted successfully. 
    OEM's folder detected. 
    OEM's folder structure is OK. 
     
    OS Installation Date: 29/11/2016 
     
    15:42:33.24 Defined Windows 10 Education x64 version found. 
    15:42:37.79 Education SKU/Edition installed. 
    15:42:37.79 Build Version: 14393.0.amd64fre.rs1_release.160715-1616 
     
    DMI BIOS Information 
    #1 CS PRODUCT NAME   : [Random Rubbish Here] 
    #2 CS MODEL          : [HP TestDMI2] 
    #4 CS VENDOR         : [HP-TestDMI3] 
    #5 CS SYSTEM MNF     : [DMITest5] 
    #6 BASEBOARD MNF     : [value] 
    #8 BIOS ID/VER       : [HPQOEM] 
     
    15:42:59.01 Checking for DMI conflicts... 
    15:42:59.01 Possible [HP TestDMI2] conflict re-checking DMI [#2] resolved as [HP].  
    15:42:59.22 Defined HP [#2] manufacture found for theme branding. 
    15:43:01.09 Education installed, MSDM key detected/Saved, but NOT processed.
    15:43:01:11 See C:\MSDM-Key.txt for saved key details.
    15:43:01.49 Force theme text file not present. 
    15:43:02.45 System Product Name not defined. 
    15:43:02.45 Backgrounds folder created successfully. 
    15:43:10.16 Deletion of OOBE.xml file successful.  
    15:43:10.16 User.bmp backed-up and replaced successfully.  
    15:43:12.44 User.png backed-up and replaced successfully.  
    15:43:12.61 User-40.png backed-up and replaced successfully.  
    15:43:12.69 User-32.png backed-up and replaced successfully.  
    15:43:12.73 User-48.png backed-up and replaced successfully.  
    15:43:12.73 User-192.png backed-up and replaced successfully. 
    15:43:12.73 Img105.jpg backed-up and replaced successfully. 
    15:43:13.25 Theme backed-up and replaced successfully. 
    15:43:13.44 Img100.jpg backed-up and replaced successfully. 
    15:43:14.19 Info folder created successfully. 
    15:43:14.25 Files moved to System32\oobe\Info folder successfully. 
    15:43:16.12 Cleanup reg entry added successfully.
    15:43:16.12 Installation script has completed successfully.
    15:49:30.16 Advanced logon screen for Windows 10 enabled successfully.
    15:49:30.89 Windows 10 login user picture registry entry successfully applied. 
    15:49:31.07 Found 'defaultuser0', attempting to remove folder and fix reg entry. 
    15:49:31.21 Removal of 'defaultuser0' folder successful. 
    15:49:31.44 BIOS Mode: UEFI, Partition Type: GPT-SecureBoot-Off. 
    15:49:31.44 Device not connected to the Internet, online activation failed. 
    15:49:36.15 License Status: Error, not licensed. 
    15:49:36.17 Cleanup script has completed successfully. 
    15:49:36.19 UserTweaks.cmd present attempting to apply. 
    15:49:36.19 UserTweaks.cmd completed. 
     
    ============================= Windows 10 Users =============================  
    Please Note: It is advisable to logout or reboot your computer when possible  
                 to allow the user/logon background pictures to finalize.         
    ============================================================================
    The part in bold is the new change, if an Edition that does not use MSDM, (such as this example Education), the key will be noted and saved to its own file and the project will NOT auto-insert it.

    Plus you can see the DMI conflict re-check in action as i used random DMI data, it still picked the HP name. :D

    Here is a list of SKU's currently supported:
    CoreSingleLanguage, CoreConnectedSingleLanguage, SingleLanguage, CORE, CoreN, CORECONNECTED, EDUCATION, Enterprise, EnterpriseN, EnterpriseE, EnterpriseSN, EnterpriseS

    ULTIMATE, BUSINESS, PROFESSIONAL, ProfessionalN, ProfessionalE, ProfessionalWMC, HOMEPREMIUM, HOMEBASIC, STARTER

    If any look wrong please let me know as some I have had to guess the SKU name.

    Would like to know what the Insider/Preview SKU name is also any Server ones. To help get correct SKU names, on the running system, be it Server etc, open Notepad and copy/paste or type the below in, save/rename as a .cmd file. Then right click the file and run as Administrator, this will query the registry and return the SKU name (hopefully). Please post your results. There is no need for Core/Home/Pro unless i have made a mistake in the names listed above.

    Or Download the textfile attachment and rename to .cmd to save typing. :p

    Code:
    @echo off
    
    SET OSVER=Unknown
    
    FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID 2^>nul') DO %INL% (SET OSVER=%%B)
    
    Echo EditionID = %OSVER%
    
    Pause
    
    Attached CheckEdition.txt Rename to CheckEdition.cmd View attachment CheckEdition.txt
    Once i can add new or correct the current SKU names then beta stage will be complete and a new Project will be uploaded.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,645
    270
    Jeez!
    This is getting better and better... :cool: :eek: :worthy:
     
  14. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,463
    1,486
    150
    mxman has taken this project to a next level:)!
     
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    #135 mxman2k, Nov 29, 2016
    Last edited: Nov 29, 2016
    (OP)
    Not exactly next level , more sideways lol :p

    The main core of the project is still the same, just a few additions here and there, reshuffle of some code for DMI and changes of some text.

    Add-on section and UserTweaks are new.

    I am no scripting guru, I just approach problems in a methodical way. If that not solve it then i research and test other ways which as the dev's on MDL know it takes a lot of time to research, create, test, re-test and fix bugs. It may seem 'ages' between updates, but any small change has to be tested several times which takes the time. With kind help from members with the beta testing that helps a lot, thanks guys and gals. :)

    Judging by the amount of downloads been made this project is still used a lot which gives me the motivation to keep it fresh.

    Without you, the users of this project, it would probably fade into a digital memory, Thank You All.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    how about EducationN not supported for now
    i tested yesterday on VM
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    #137 mxman2k, Nov 29, 2016
    Last edited: Nov 29, 2016
    (OP)
    Ok doky will add that one in, i wasn't sure if that existed.

    Done EducationN Added :)

    Is there on Win7 UltimateN/E ? , Vista BusinessN ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    UltimateN i have it but E not sure i'm away from home to tell you
    i can download both E & Vista BusinessN for you :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    #139 mxman2k, Nov 29, 2016
    Last edited: Nov 29, 2016
    (OP)
    Thanks, i have looked on the net about EditionID's and SKU's but there don't seem to be a definitive list :( Most just give full names and not the short names, like on Server you have 2008. 2015/16, R2 , then Datacentre, Essentials, and loads more , gets confusing.


    Have added UltimateN and E, also BusinessN , will upload a new beta for you and PM you with info. Many thanks for your help.

    Just compiling the file and i got this message, never had this before lol

    Looks like your anti-virus software checks files in the real-time mode, and this can considerably affect the speed of compilation. We recommend adding the output files folder to the trusted(white) list of your anti-virus tool.

    :eek::eek:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,676
    19,110
    180
    If anyone wishes to help beta test the latest version please PM me. At present i don't want to post a public beta as some parts still need to be finalized ie SKU/EditionID's.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...