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,260
    20,931
    210
    When i get a bit of time i will get some scripts sorted for the most popular tweaks.

    Many can be found or similar on mdl but they can be scattered all over.

    There is a lot in mrp think close to 200 or more now in the ini creator.

    Will see what i can do :)

    Nothing in mrp is top secret or hidden/obscured. :D

    Just easier in one simple exe than the multi part that it decompiles to that makes it all work. Hopefully :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    I do try to avoid powershell as much as possible as it not always backward compatible with older os's so i tend to use vbscript for the more complex stuff where i can.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    it was windows 10 21H2 december updated
     
  4. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    LOL i think i figured it out
    i had setupcomplete.cmd from KMS_VL_ALL in $OEM$\$$\setup\scripts\
    i wanted to integrate activation but it seems that this file caused the MRP to be ignored
    i thought setupcomplete.cmd is the last thing that should be processed in that directory !!
     
  5. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    now i have an issue with updates on windows 11, it seems it get stuck either on 53% or 48%
    before that it was stuck at 0% but I did clean SoftwareDistribution folder and used that script named W10-Reset-and-Re-register_WU_Components.cmd on Misc_ExtraScripts from MRP
    then i rebooted and then updates start downloading but it always stops at 53% and stays like that the whole day, and if i restart the pc when i check updates i see it becomes 48% and stuck there too
    i wonder if something from MRP tweaks that caused this, i think those MRP options regarding updates for windows 10 don't work well with windows 11 in case one want to initiate updates again
     

    Attached Files:

  6. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    I just did in-place upgrade for my windows 11 that has the folders problem and it's fixed now, but the problem is all the mrp tweaks from the first clean install got removed lol,
    even though i removed that setupcomplete.cmd and i run setup from a folder in a partition in hard drive E:\win11_21h2\setup.exe
    all context menus from the tweaks gone and desktop icons gone too
    i don't know what is this
    first time happened with windows 10 installation and now with windows 11
    maybe the files should be in the same partition that will hold the OS or what
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    There are a few options in mrp that affect updates but only to pause or set as notify. There is one to set download of updates as metered, but that usually affects ms office in some way.

    If they not 'ticked' then nothing else should affect updates.

    WU can be problematic at times , it is a bit better than it used to be.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    Sometimes when an in-place upgrade is being done, if Defender, or any Anti-Virus program is active, it can remove decompile.exe etc so then MRP not able to run during setup. This can happen very quickly and so you not notice it as they grab/block the file as soon as it is accessed.

    Also if there is a MSDM in the bios that too can affect setup if no ei.cfg , or PID.txt, present to stop that happening. But i don't think this is the issue in this case.

    As long as decompile.exe , oobe.cmd, oem's.7z, (if branding too), and the config ini, (if using MRP tweaking options), are within the 'Sources\Setup\Scripts' folder of your extracted ISO and setup is run then it all should work as setup copies over all files to the system drive and then continues when it first reboots after the copy section done.

    For a in-place upgrade always turn off any AV (defender can be a pain in this regard) because it will speed up the re-install as the AV isn't scanning all files before setup fully takes over.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    Yes eset was active during setup, so it is that.
    What about setupcomplete.cmd ??
    is there any way it can be used with mrp
     
  10. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    Edge shortcut's can be a pain as m$ seem to change things slightly every other CU -- will see what i can do.

    Office shortcuts will send you to Edge, (or other default browser), as they are just pointers to the online office versions.

    MRP removes the Office Hub Appx - it also used to remove the shortcuts at the same time, obviously another sneaky change m$ done. :g:

    The slim start options are basically a blanket clean of the start menu as a last resort really. Apart from w11 as that start menu is a whole new ball game.

    ESET is my choice of AV (Nod32 v15.0.23.0), but i have noticed recently it has got rather annoying in nabbing MRP files, took a bit of taming the exclusions and sometimes it still whips a file away during compilation!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    For those that want a tidy Win 10 start menu that does not show any shortcuts give the attached a try.

    Attached is a zip with DefaultLayouts.xml file that needs to be placed in Sources\$OEM$\$1\Users\Default\AppData\Local\Microsoft\Windows\Shell\ in your ISO/USB/Image.

    Note that this file should delete all start menu icons for any user created -- even after OS install.

    Not 100% sure this still works as m$ may of changed a few things since i had the information about this 'trick' simply use along with the MRP's clean start menu/Taskbar and it should all remove those pesky start menu icons/shortcuts.

    Although this may clean up the menu without MRP if that all you require.

    Please test in a VM / Spare PC to see if it works as i am unable to test at this time.

    I believe the DefaultLayouts.xml in the zip also cleans the Taskbar too...
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    The above may also work on Win11 but i doubt it will have a fully clean Start Menu due to the changes m$ have done to that OS, but might remove a lot of the shortcut icons.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    869
    1,470
    30
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    Due to work/life commitments, working on the project(s) has been delayed, mainly this months release(s) will be just fixing bugs and/or updating of current options and no new ones added at this time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. JanCerny

    JanCerny MDL Senior Member

    Sep 13, 2012
    295
    194
    10

    Attached Files:

  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    Thanks will add details in the database's and theme into next oem's.7z :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,931
    210
    Will add it as Sapphire in the DMI checking as using Pure may have odd effects.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...