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
    #221 mxman2k, Dec 20, 2016
    Last edited: Dec 20, 2016
    (OP)
    I'm downloading 2012 R2 (slowly).

    So 2008 (non R2) worked ok , just the select theme from Personalize step to be done. Lockscreen i think is stored in a DLL as Vista is, but the Vista injector might need a revamp - will have to ask Alphawaves when he not busy. The lock screen isn't a major issue so can be tweaked when time permits.

    Normal 2012 (non R2) is Win8.0 based I think 6.2 and should of worked the same way as R2 2008 ?? It is possible it needs an extra feature added along side Ink/DE?

    Hmm strange...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    #222 mxman2k, Dec 21, 2016
    Last edited: Dec 21, 2016
    (OP)
    As 2012 (non R2) is Windows 8.0 (6.2) based it might not be worth the hassle to work on it as even M$ gave up on Win8 when they brought out 8.1 which 2012 R2 is based on.

    It may require Media Foundation or something to do with media?
     
    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
    Knew it be Media Foundation, thought the GUI shell was automatically installed... hmm, that can be added as i have forethought about certain versions and created a special add-on to address anything special per SKU. :)

    At least we are getting closer to a working solution, even if 2012 (non R2) may be the one that has to be worked on more.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    yep on 2012 worked after enable other features manually BUT no Lockscreen also as 2008
    on 2012 r2 failed but lockscreen showed after 2nd reboot
     
    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
    Lockscreen not too important it may be stored in a DLL aka Vista Kernel. The main thing it themed ok, albeit with a extra step or two which i can address in the add-on (I hope).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    yep that's have u tested on last 2016 or not ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    #227 mxman2k, Dec 21, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    #228 apologized, Dec 21, 2016
    Last edited by a moderator: Apr 20, 2017
    i think it's the right order :
    Code:
    DISM /Online /Enable-Feature /FeatureName:InkAndHandWritingServices /FeatureName:ServerMediaFoundation /NoRestart
    DISM /Online /Enable-Feature /FeatureName:DesktopExperience /NoRestart
    no need to add server-gui-shell part it's enabled auto when u enable MediaFoundation 1st before it as should DE be the last part to be enabled Cuz it's need all other part
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Nice, thanks for listing the correct wording for the Ink one as on other ones its just InkSupport!

    Will correct my add-on and will compile new one later today as it past midnight and my old eyes are getting tired.

    Will PM you tomorrow when i have re-compiled a new beta to try on 2012 (non R2) as i can test R2 one later today :)

    Many many thanks for your help, we have made a lot of progress, ok only a few will probably use Server's but it a challenge I wanted to have a go at.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    mxman2k,
    I sent you a pm with info for accessing SYSTEM acct without any need for third party programs. You will have to create the script yourself and test but you have knowledge to do that. I will be going out of town for a while to handle some personal affairs but will pm you once I get back to check on your progress. If you have trouble understanding any part there are many ppl here that will help point you in the right direction. :hug2:

    Happy holidays to all. :)
     
  11. Smorgan

    Smorgan Glitcher

    Mar 25, 2010
    1,855
    1,051
    60
    #231 Smorgan, Dec 21, 2016
    Last edited by a moderator: Apr 20, 2017
    You can also do this stuff in PowerShell:

    This will work on Server 2008 R2 - Server 2016. I had some trouble with Server 2008 but that is vista based and no longer used. Also don't forget this:

    Set-ExecutionPolicy bypass

    Code:
    $winver = (gwmi win32_OperatingSystem).Version
    
    # Server 2008 R2 - Server 2016
    if (($winver -ge "6.1.*") -or ($winver -like "10.*")){
    Import-Module ServerManager
    Add-WindowsFeature -Name Wireless-Networking
    Add-WindowsFeature -Name Desktop-Experience -IncludeAllSubFeature
    
    if ($winver -like "6.1.*"){
    Add-WindowsFeature -Name Ink-Handwriting
    Add-WindowsFeature -Name Net-Framework -IncludeAllSubFeature
    Add-WindowsFeature -Name Backup-Features}
    
    if (($winver -ge "6.2.*") -or ($winver -like "10.*")){
    Add-WindowsFeature -Name Server-Media-Foundation
    Add-WindowsFeature -Name Windows-Server-Backup
    Add-WindowsFeature -Name Net-Framework-Core}}
    
    Take that and save it as "Name.ps1". Then run it as administrator with powershell. I have done some work with Server Workstation conversions :D

    At the moment I am on break from College so I am alive lol
     
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    @The_Guardian - Thanks, will have a play, you know me too well. :p

    @Smorgan hi, thanks for the script :) I was trying to avoid using PowerShell in-case it was not installed by default, more so on the 2008 Server, as it Vista Kernel. It's a pity that batch script don't have that if ($winver -like "6.1.*") type commands, would make life a lot easier!

    From the PM I got from apologized the new Server add-on script seems to have worked for 2012 (6.2). :clap: ( I had to do the new script tweaks and PM the new file before i went bed or i knew i wouldn't get any sleep lol.)

    Many thanks for all the help, there are a few little bits to tidy up then the beta stage can be changed to release. It still may not be 100% perfect for Server branding but it certainly a lot better than I had expected! :D

    I know not many users will use Server's as a workstation, but it was a challenge to have the MRP Multi-Windows OS as well as Multi-OEM.

    One of the next steps aside from Server, is the SSD detection for UserTweaks.cmd, have wrote the exe and it works as I have tested it with my own tweaks, it does add about 800kb to the DeCompile.exe but I am sure a lot of people have SSD's and would be a useful addition to MRP. The way the SSD detection works it will create a static system variable called DrvType which can be used the same way as variables like %Windir%, %Systemdrive% etc so can be 'read' the same way even after reboots!

    Omg - Over 900 downloads of the MRP (non Server one) :eek: :swoon:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Just finished the final beta (hopefully)... Quite a few new parts added/tweaked not just for Server! :D

    Have a few things to do today so won't be around until later this evening around 7pm GMT. Fingers crossed this will correct a few glitches - it may find new ones too. :eek: (hope not!).

    Still not found a reliable silent way to select the theme for Server installations after the reboot, but if that all that is needed to do manually then think that close enough to a working solution, as you have to set up Servers how you wish anyway.

    So adding the one step to use a theme is not much to ask for, plus if you not need the theme in place at the moment it is available to use later.:tasty:
     
    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
    #234 mxman2k, Dec 21, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Tested latest beta on Server 2016...

    Log output:
    Code:
    Multi-OEM/Retail Project Version : 161221-R39s-BETA [MRP/MDL] 
    Files present and extracted successfully. 
    NOTE: This is a BETA release and MRP may not work as expected. 
    OEM's folder detected. 
    OEM's folder structure seems OK. 
     
    OS Installation Date: Wed 12/21/2016 
     
    20:04:14.87 Windows Server 2016 Standard x64 version found. 
    20:04:15.05 ServerStandard Edition/SKU installed. 
    20:04:15.05 Build Version: 14393.0.amd64fre.rs1_release.160715-1616 
     
    20:04:15.05 Server SKU detected, branding may fail. See Server-Readme.txt file. 
    20:04:15.05 Server Kernel Version: [10.0] 
     
    DMI BIOS Information 
    #1 CS PRODUCT NAME   : [Desktop] 
    #2 CS MODEL          : [Desktop] 
    #4 CS VENDOR         : [MSI-PC] 
    #5 CS SYSTEM MNF     : [MSI-PC] 
    #6 BASEBOARD MNF     : [value] 
    #8 BIOS ID/VER       : [HPQOEM] 
     
    20:04:21.77 MSI [#4] manufacture will be used for theme/branding. 
    20:04:21.77 No PIDKEY available in MRP database for this Edition/SKU. 
    20:04:21.79 Force theme text file not present. 
    20:04:22.57 System Product Name, not defined. 
    20:04:22.57 Desktop backgrounds folder created. 
    20:04:22.58 Attempting branding for Server.. 
    20:04:22.60 OOBE.xml file deleted.  
    20:04:22.60 User.bmp replaced.  
    20:04:22.66 User.png replaced.  
    20:04:22.69 User-40.png replaced.  
    20:04:22.71 Aero theme replaced. 
    20:04:23.21 Img100.jpg replaced. 
    20:04:25.16 oobe\Info folder created. 
    20:04:25.21 Theme files transferred to System32\oobe\Info folder. 
    20:04:25.61 Cleanup registry entry added.
    20:04:25.61 MRP Installation script has completed.
    20:07:38.77 Server: Processing SKU Features add-on. 
    20:07:38.99 Server: Adding Required features... 
    20:10:24.71 BIOS Mode: Legacy, Partition Type: MBR. 
    20:10:24.71 Device not connected to the Internet, online license check failed. 
    20:10:29.14 License Status: Error, not licensed. 
    20:10:29.16 UserTweaks.cmd present attempting to apply. 
    20:10:29.16 UserTweaks.cmd completed. 
    20:11:25.66 Cleanup script has completed. 
    Apart from lock screen not showing the picture from the brand folder, (MSI in my test), theme is present and correct :).

    However looking in the Settings the picture is showing as the lock screen! Think because the Server was not activated this part does not come into play until that has been done.

    Likewise on other Server SKU's if not activated certain theme/backgrounds not show or cannot be modified aka normal consumer SKU's.

    Also realized forgot the flag for advanced log on registry entry as it W10 Kernel, (fixed now). :eek:

    So where MRP is at present...
    Server 2016 sorted: Check (apart from lock screen).
    Server 2012 In progress...
    Server 2012R2 Sorted: Check (apart from log on back ground - see later post.)
    Server 2008 sorted: Check (apart from lock screen).
    Server 2008R2 sorted: Check (apart from lock screen).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Smorgan

    Smorgan Glitcher

    Mar 25, 2010
    1,855
    1,051
    60
    I'm not gonna lie when a friend of mine was doing server workstation conversions...

    I took all the batch scripting and converted it to Powershell. Then I did some repacking in the form of winrar. This got it very clean I wish you luck on your project. :D

    For me I opted out of doing branding because I felt it did not contribute functionally to the project. That is just my opinion so it does not hold true for everyone else. Throw me a PM if you need help.

    It is fairly easy to judge if an OS is a Server OS, Version stuff, etc in Powershell it has more complexity and ease than CMD. I highly recommend it you'll have an easier time than doing a crap ton of for loops.
     
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    @Smorgan, yeah it was those FOR/Loops/Tokens that confused me for a while -- and still do when a 'fix' gets complicated, findstr can be a pain too, found that out when doing the DMI parsing.

    Next year when Vista is no longer supported by M$ i will drop support for any updating of that OS in the project, so MRP will have the legacy version to cover that OS.

    Then it should open up the possibility of a new re-written project IF people still have a need for the OEM project.

    I try to forward plan what can be added/removed to keep the MRP fresh, a few suggestions have been added and with help from beta testing most can be successfully put in place such as Server - it's slowly getting there!
     
    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
    #237 mxman2k, Dec 22, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Server 2012 R2
    ==========

    Installed ServerStandard (with GUI) from list selection. Un-edited WIM, just $oem$ in Sources folder and re-saved ISO.

    Log output:
    Code:
    Multi-OEM/Retail Project Version : 161222-R40s-BETA [MRP/MDL] 
    Files present and extracted successfully. 
    NOTE: This is a BETA release and MRP may not work as expected. 
    OEM's folder detected. 
    OEM's folder structure seems OK. 
     
    OS Installation Date: Thu 12/22/2016 
     
    12:29:34.86 Windows Server 2012 R2 Standard x64 version found. 
    12:29:36.74 ServerStandard Edition/SKU installed. 
    12:29:36.74 Build Version: 9600.16422.amd64fre.winblue_gdr.131006-1505 
     
    12:29:36.74 Server SKU detected, branding may fail. See Server-Readme.txt file. 
    12:29:36.75 Server Kernel Version: [6.3] 
     
    DMI BIOS Information 
    #1 CS PRODUCT NAME   : [Desktop] 
    #2 CS MODEL          : [Desktop] 
    #4 CS VENDOR         : [MSI-PC] 
    #5 CS SYSTEM MNF     : [MSI-PC] 
    #6 BASEBOARD MNF     : [value] 
    #8 BIOS ID/VER       : [HPQOEM] 
     
    12:29:57.29 MSI [#4] manufacture will be used for theme/branding. 
    12:29:57.29 No PIDKEY available in MRP database for this Edition/SKU. 
    12:29:57.29 Force theme text file not present. 
    12:29:58.03 System Product Name, not defined. 
    12:29:58.04 Desktop backgrounds folder created. 
    12:29:58.07 Attempting branding for Server.. 
    12:29:58.07 OOBE.xml file deleted.  
    12:29:58.09 User.bmp replaced.  
    12:29:58.21 User.png replaced.  
    12:29:58.23 User-40.png replaced.  
    12:29:58.25 User-200.png replaced.  
    12:29:58.25 Aero theme replaced. 
    12:29:58.62 Img100.jpg replaced. 
    12:29:58.71 oobe\Info folder created. 
    12:29:58.74 Theme files transferred to System32\oobe\Info folder. 
    12:30:01.15 Cleanup registry entry added.
    12:30:01.15 MRP Installation script has completed.
    12:32:45.78 Server: Processing SKU Features add-on. 
    12:32:45.79 Server: Adding Desktop Experience and required Features... 
    12:38:28.34 BIOS Mode: Legacy, Partition Type: MBR. 
    12:38:28.34 Device not connected to the Internet, online license check failed. 
    12:38:30.29 License Status: Error, not licensed. 
    12:38:30.29 UserTweaks.cmd present attempting to apply. 
    12:38:30.29 UserTweaks.cmd completed. 
    12:38:42.25 Cleanup script has completed. 
    
    No errors! :D (Apart from not activated)
    Notes:
    ====
    Lock screen: OK.
    Log-on screen: no background.
    Logos in system information and user pic: OK.
    No desktop background - (plain server grey and version logo). {Before reboot}
    Takes ages to install features!
    No Personalize app to change theme - Until reboot to initialize Features then it is available to use.
    Theme service: Enabled and running.

    Once rebooted and you have manually selected the theme within Personalize, (which now is available), all logos, desktop background and lock screen is there. Just the Log on screen is a default solid color, which I believe is how Windows 8.0 was hardcoded and so cannot be changed, only to another solid color.

    Looks like just Server 2012 (non R2) left to finish!

    Once that one done then beta stage will be completed and a new baseline MRP will be uploaded.:D

    Only the glitch with lock screens on some of the Server SKU's but that not important, it may appear when it is activated.

    Will tidy up a few spellings and wording before the release.:eek:
     
    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
    #239 mxman2k, Dec 22, 2016
    Last edited: Dec 22, 2016
    (OP)
    Zotac Branding

    Found some logo's and wallpaper for Zotac, have added it into the MRP Database, no cert or key available, but when i release the new MRP it should theme/brand your device by the #6 Baseboard MFR {ZOTAC}.

    Seeing as it has Windows 10 on it there is no need for the Cert/Key as I am guessing it is activated by Digital Licence, (or other method).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    #240 mxman2k, Dec 23, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...