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,314
    21,042
    210
    Thanks for confirming...

    I think it could be a new win 11 issue for Pro and above , it used to just be home editions that didn't like that option to disable network adaptors.

    Not much i can do as it is a standard wmic , vbscript and powershell command line in that order that turns the adaptor(s) off and back on later. If one fails the next in line is tried until pshell one is last in line to try, then it mentions in the log either that the adaptor(s) failed to disable or enable.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    The re-enable network adaptor(s) code is as follows for those interested...

    Powershell (via admin cmd) enable:
    Code:
    
    Powershell -Command "Get-NetAdapter | ? status -ne up | Enable-NetAdapter -Confirm:$false"
    
    
    Wmic enable (same as vbscript way):
    Code:
    
    wmic path win32_networkadapter where "physicaladapter=true" call enable
    
    
    VBscript:
    Code:
    
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:[locale=ms_409]!\\" & strComputer & "\root\CIMV2")
    Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapter Where NetEnabled = 'False'")
    
    For Each objItem in colItems
    objItem.Enable
    Next
    
    
    Pretty much standard codes..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,585
    1,584
    150
    MS is definitly behind it :D
     
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    #11724 mxman2k, Dec 31, 2024 at 17:56
    Last edited: Dec 31, 2024 at 18:04
    (OP)
    At times I'm sure they are !!,:D:D joking aside, as they really not like MRP or its internal parts at least , may be because it tweaks their darling defender, or turns off co-pilot etc :p

    May be I'm paranoid :D but ever since i added the tweaks part to MRP defender has been quite aggressive towards the project and other AV's too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. LuKaWin10

    LuKaWin10 MDL Novice

    Oct 6, 2023
    39
    10
    0
    Hey sorry for taking time to reply. I did place the $OEM$ folder inside of the sources folder of my Windows 7 RTM ISO. I added the MRPConfig file. And I even added in the config file so it applies the Gigabyte theme. I gave it a model name, and Drive Label (I did not use any special characters at all). After installation everything worked, but it did not apply the theme (this time it did activate as I integrated Windows Loader v2.2.2 by Daz inside of setupcomplete.cmd which is done after OOBE.cmd (I think so). The issue I'm getting is, as I said, OEM theme not getting applied, even though I did select the Gigabyte theme. In the OEM's.7z folder I have all of the branding and themes (including the Gigabyte one). Does this mean I just have to delete the other brandings and keep the Gigabyte one then try again? I can even send you the log files and everything to show you!
     
  6. LuKaWin10

    LuKaWin10 MDL Novice

    Oct 6, 2023
    39
    10
    0
    #11726 LuKaWin10, Dec 31, 2024 at 19:15
    Last edited: Dec 31, 2024 at 19:28
    I only used NTLite to make a bootable ISO from the image because I first extracted it then I added the needed $OEM$ Folder in sources and the Autounattend in the root of the image itself. Then in NTLite I made a bootable image and burned it to DVD.


    Edit: I tried the ISO in VirtualBox. And it worked flawlessly. Idk why it doesn't work on my main machine
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    I know hp and compaq computers are problematic at times.

    Never had Gigabyte not play by the rules.

    Any logs would help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    Autounattend is possible to upset mrp it depends if it calling any scripts that delete the scripts or setup folders usually by a RD xxxxxx type line of code.

    Think the loader cmd does that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. LuKaWin10

    LuKaWin10 MDL Novice

    Oct 6, 2023
    39
    10
    0
    Oh I completely removed so the loader removes the Scripts folder. I remember in the MRP Config file I said that it should remove the Scripts folder!
     
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    I am at a loss trying to work out why it works on a vm yet not on the actual pc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    By default mrp will delete the scripts folder once it has completed and the desktop is shown unless you select the option not to auto delete scripts folder then mrp won't delete that folder.

    It's all about tidying up. Oh and users choice.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    Using the loader script if the slic is correct and not corrupted in some way then the loader will just use its certificate and slp key. If slic corrupted in any way it will ignore it and use its own method to insert a slic into the drives mbr area to fool windows.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    let me check the logs first
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    It seems to have crashed out checking the system's RAM/Memory..

    You may have a faulty ram stick?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,314
    21,042
    210
    Im guessing it is a socket 775 cpu , the chipset could have issues with memory modules , i remember having a gigabyte board years ago that didnt like either single sided or double sided ram modules it had to be one type only and not mixed and if you tried to exceed its maximum capacity it did some strange things.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. LuKaWin10

    LuKaWin10 MDL Novice

    Oct 6, 2023
    39
    10
    0
    My SLIC isn't corrupted in SLIC Toolkit there are no errors.
     
  17. LuKaWin10

    LuKaWin10 MDL Novice

    Oct 6, 2023
    39
    10
    0
    Uh ohh, that doesn't look good. I did overclock my processor, and my memory I gave it +0.5V. The kit is G.SKILL F2-6400CL5D 4GBPQ 2x2 GB
     
  18. LuKaWin10

    LuKaWin10 MDL Novice

    Oct 6, 2023
    39
    10
    0
    Yeah, I don't have mixed kits. I am gonna be running memtest to check things out, and try reinstalling Windows with this MRP config (same one) but with no overclocks