MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    I have been doing more testing while waiting for replies.

    I thought that perhaps my Windows 10 Enterprise image was somehow faulty. So I used the latest Media Creation Tool from Microsoft to download Windows 10 32-bit UK English to an ISO image.

    As with all my sessions with MSMG Toolkit, I put Microsoft.WindowsCalculator_8wekyb3d8bbwe.xml and Microsoft.WindowsCalculator_2017.510.2226.0_neutral_~_8wekyb3d8bbwe.AppxBundle into C:\MSMG-ToolKit-v8.8\Packs\Apps\w10

    I then put windows10.0-kb4343909-x86_fbf9fed91d88edf0a77a3f102900be81835c63d6.msu into C:\MSMG-ToolKit-v8.8\Packs\WHD\w10\x86\Cumulative and windows10.0-kb4343669-x86_007e2da4899083bc01c78f625a6458e8643e2bb0.msu into C:\MSMG-ToolKit-v8.8\Packs\WHD\w10\x86\ServicingStack

    With MSMG Toolkit, I converted loaded the ISO then converted the ESD file to WIM. I then removed all editions of Windows 10 (Home, Home N, etc) except for Windows 10 Professional. I mounted this as my source image and used my above method. The parts I did not do in my method was as MSMG asked me - so I did NOT do these steps:
    Code:
    Cleanup (6 > 1)
    
    Apply changes to image (6 > 2)
    
    Convert WIM to ESD (2 > 4)
    Instead I minimised the MSMG Toolkit window and did as MSMG asked:
    Code:
    DISM /UnMount-Image /MountDir:"C:\MSMG-ToolKit-v8.8\Mount\Boot\1" /Commit
    DISM /UnMount-Image /MountDir:"C:\MSMG-ToolKit-v8.8\Mount\Boot\2" /Commit
    DISM /UnMount-Image /MountDir:"C:\MSMG-ToolKit-v8.8\Mount\WinRE" /Commit
    DISM /Unmount-Image /MountDir:"C:\MSMG-ToolKit-v8.8\Mount\Install" /Commit
    Apply > Rebuild (6 > 1)
    I still got exactly the same error in Windows Update when it tried to install the CU.

    I did not originally close the MSMG Toolkit window as I felt weary about doing so. But as MSMG specifically told me to do this, I repeated everything again, except I closed the MSMG Toolkit window, did the tasks in command prompt then launched MSMG Toolkit again. Again I get the same error with Windows Update.

    Although I have not testing with MSMG's method yet, I am somewhat confident that not using the SSU will reproduce my previous findings - and that is WU should work just fine without the SSU.

    More testing will proceed tomorrow and I will report if something I do does not reproduce the error.
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,633
    450
    Atm i am doing my tests:)
    Integrating the updates as we speak.

    Will report the full logs asap.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. harry_ds

    harry_ds MDL Novice

    Oct 7, 2017
    32
    9
    0
    how convert form Ent to EntG with This toolkit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    No way
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,633
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,633
    450
    #7807 Enthousiast, Sep 15, 2018
    Last edited: Sep 15, 2018
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Dragon16

    Dragon16 MDL Novice

    Feb 21, 2018
    19
    1
    0
    In case it would be these two update?

    1 kb4343902
    2 kb4457131
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,633
    450
    1607:
    Code:
    1. SSU = KB4132216
    2. Flash = KB4457146
    3. Dotnet472 = KB4054590
    4. CU = KB4457131
    kb4343902 = old flash
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    These components like Defender, SmartScreen, PeopleExerperienceHost uses the ToolkitHelper.exe for removal and the ToolkitHelper.exe has been coded using the Windows 10 vanilla image without any updates pre-integrated, and so may not fully remove the updated files added by the update.

    I'm still working on ToolkitHelper.exe to make it better to deal with updates pre-integrated.

    Till then we may have to move the integration step after the removal one.

     
  10. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    @Enthousiast and @MSMG
    I have tested simply just integrating updates then removing People and I still get the error. So I am certain that the removal of People is giving me problems.

    Code:
    Integrate Win32 calculator (3 > 3 > B)
    
    Apply updates (3 > 4 > 2 > 1 > 3)
    
    Remove all metro apps and associations (4 > 1 > 5; 5 > 3)
    
    Remove connect, Onedrive, Skype (4 > 3 > A/B/C)
    
    Remove Store and People (4 > 3 > 2 > J/N)
    
    Windows Photo Viewer (5 > 5 > 6)
    
    Cleanup (6 > 1)
    
    Apply changes to image (6 > 2)
    
    Convert WIM to ESD (2 > 4)
    So move Integrate Win32 calculator (3 > 3 > B) and Apply updates (3 > 4 > 2 > 1 > 3) so they are done after Remove Store and People (4 > 3 > 2 > J/N)?
     
  11. Dragon16

    Dragon16 MDL Novice

    Feb 21, 2018
    19
    1
    0

    It worked perfect, thank you very much for the help.

    One question, does one KB of DotNet3.5 exist?
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Yes, integrate the updates after the component/apps removal and do test the image.

     
  13. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    I can confirm that this method works. Should I use this method for my future builds, or will there be a fix to MSMG?
     
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,633
    450
    Yes, MSMG toolkit provides an enable feature/add package option for it, afaik.
    Manually it's:
    Code:
    DISM /Image:x:\Mount\ /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:y:\iso\sources\sxs\
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Although integrating the updates after component removal works, it also have an issue like sometime the updates may restore a empty folder or resource file of the removed component which can't be fixed since we are using the DISM to integrate the updates.

    Starting from next release of Toolkit, I will change the order to integrate the updates after the component removal, so that this will help to integrate the .NetFX35 before the updates integration.

    I'm also working on component removal with updates pre-integrated for future versions.

     
  16. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    471
    105
    10
    I didn't understand this. Please somebody help me solve this .NET 3.5 riddle. It leaves the Pending.xml which makes componentcleanup impossible, resulting ISO not only has more size but also takes more time to install.
    One way of doing this would be to add the updates, do the componentcleanup and then enable 3.5 but I'm hesitant to take that road. Some updates might not get integrated before 3.5 is enabled on the image.

    I was thinking maybe after doing all the stuff with the toolkit, take the image on VM and do the componentcleanup and resetbase in auditmode. Will it have the same effect is the real question. Can anyone please help me with this. I'm on 8.1 x64.
     
  17. sergey130270

    sergey130270 MDL Member

    May 15, 2014
    133
    25
    10
    #7820 sergey130270, Sep 16, 2018
    Last edited: Sep 16, 2018
    You are well done.

    Thank you very much for your works.