Hi all, I'd like to remove Media Player from windows offline image, similar as RT 7 Lite does. I think there is a script, but i cannot find it. If you can help me i will be happy
Here's a cmd script i use to automate enabling/disabling features for when i slipstream updates.. Just add WMP to it CustomWIM.cmd Code: MD %~dp0MOUNT MD %~dp0x86-MSUpdates REM Make sure install.wim is in the same Directory REM Along with any .MSU updates in the x86 folder REM This is gonna take a while. PAUSE Dism.exe /Mount-WIM /WimFile:%~dp0install.wim /Name:"Windows 7 ULTIMATE" /MountDir:%~dp0MOUNT Dism.exe /Image:%~dp0MOUNT /Disable-Feature /FeatureName:WindowsGadgetPlatform /FeatureName:Printing-XPSServices-Features /FeatureName:Xps-Foundation-Xps-Viewer Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x86-MSUpdates" Dism.exe /Unmount-WIM /MountDir:%~dp0MOUNT /Commit REM Check for errors before closing. PAUSE If you're not sure what the exact feature name is.. use the command below after you've mounted the WIM to list them all Code: Dism.exe /Image:%~dp0MOUNT /Get-Features | more