Ok will check with that image too and reply back. Then do integrate the .Net Framework 3.5 only after the component removal i.e at the last stage.
In MSMG 7.1 and Redstone2 im missing the option to remove "Windows Content Delivery Manager" (Candy Crush, Twitter Aps...). Is this feature not possible/implemented with Redstone2 ?
Ok, and what did you want to say with the Defender app? If I remove Windows Defender won't it be removed?
I do not remove features that are basically cornerstones of the OS itself - with regular end-user dism commands - especially when it takes a couple minutes to mount the offline registry hive(s) and add any registry entries you need to completely disable a feature along with its services. For packages that are immersed in the OS itself then yes, the API is used. I was not going to get into the DISM.API since that may confuse people further, but since you brought it up, some cmdlets do use it - as an example one of my more "exclusive" PShell scripts I use for images on my enterprise server uses PShell to allocate all structures into a "heap." Moreover, the DismMountImage function then maps the entire offline image contents to a supported directory on my deployment server, and then runs the DismOpenSession function which then allows for the removal of packages with a final call to the DismDelete function. Then the changes are committed and the session is closed. Finally the image is unmounted and "shut down." Sounds complicated but writing C++ scripts to do such basic tasks of removing and adding packages, installing drivers and enabling features is very simple and can be used within a PShell script, too. Especially with PowerShell ISE and Visual Studio. But this is well beyond the simplicity 99% of automated tools do in retrospect of what they remove - the same packages, apps, etc. to make and OS lighter and less bloated. In that light using the cookie-cutter dism commands suffices fine.
i'm trying to integrate the Windows Store app to Windows 10 Enterprise 2016 LTSB x64. i tried many ways but none of them work. All dependencies are in the Packs\Apps\w10 directory (Microsoft.NET.Native.Framework, Microsoft.NET.Native.Runtime & Microsoft.VCLibs) i applied & saved changes to source, the new install.wim contains the Program Files\WindowsApps directory. When i install the new iso on a VM, Windows Store appears in the start menu but doesn't work/open and there is no C:\Program Files\WindowsApps dir. if i install manually the app with its dependencies on a new install, it works. Anyone tried with succes the integration of the Windows Store app on a LTSB ISO ?
.....I tried here and not works ,just like you... Exactly as I had said before for MSMG here, store does not work if you use the MSMG toolkit to integrate into an offline image, I do not know why ....
Adjust path to your install.esd Code: dism /Export-Image /SourceImageFile:C:\install.esd /SourceIndex:1 /DestinationImageFile:C:\install.wim /Compress:maximum
Yeah I found out that hard way. I converted the file on my win 10 machine and copied it back over to my win 7 machine.. But I keep getting Error 6 (the handle is invalid) when trying to remove the default apps. Maybe I should do this whole thing on windows 10 instead?