I have ran the test slipping both cleanup and apply changes as you said. I still get the the 0x800f081f error in Windows Update when it tries to install "2018-09 Cumulative Update for Windows 10 Version 1803 for x86-based Systems (KB4457128)". This is on x86 en-gb Enterprise. If you want to check the machine with TeamViewer, this can be arranged. If you can arrange somewhere to upload large ISO images, I can upload what I have worked with.
I have the same problem like Feartamixg, I used to do the same routine in every ISO using your scripts and it always worked great. The first time I encountered this error was with a 1803 ISO. At first I thought it had to do with the fact I chose "Upgrade and Shutdown" because I read some references that there was a problem with hybrid shutdown and upgrade process with old hardware but I had the same issue even with new laptops. I also use abbodi1406's updater to update the ISO but I always used his scripts (part of the routine). By the way I was the one who proposed you to include that post-cleanup operation to your script.
Yes, I posted exactly how what I do here: https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-390#post-1461883 The only things missing are selecting source (1 > 3 then 1 > 1) at beginning, then saving as an ISO (7 > 1) at the end.
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.
1607: Code: 1. SSU = KB4132216 2. Flash = KB4457146 3. Dotnet472 = KB4054590 4. CU = KB4457131 kb4343902 = old flash
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.
@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)?
I can confirm that this method works. Should I use this method for my future builds, or will there be a fix to MSMG?