No matter what I try for some reason I can't remove any package from my Windows 10 images. DISM gives me Error 5. Access is denied. install_wim_tweak appears like it works, but it's really just going through the motions because no packages are actually removed. I don't know why this is happening. I use an administrator account and UAC is disabled. SOLUTION: (taken from posts 11 and 15. credit to xinso) Spoiler Code: Dism /Mount-Image /ImageFile:<path to wim file> /index:<index #> /MountDir:<mount dir> install_wim_tweak.exe /p <mount dir> /l install_wim_tweak.exe /p <mount dir> for /d %%i in (ar-SA,bg-BG,cs-CZ,da-DK,de-DE,el-GR,en-GB,es-ES,et-EE,fi-FI,fr-FR,he-IL,hr-HR,hu-HU,it-IT,ja-JP,ko-KR,lt-LT,lv-LV,nb-NO,nl-NL,pl-PL,pt-BR,pt-PT,ro-RO,ru-RU,sk-SK,sl-SI,sr-Latn-RS,sv-SE,th-TH,tr-TR,uk-UA,zh-CN,zh-HK,zh-TW) do ( Dism /image:<mount dir> /remove-package ^ /packagename:Package-A~amd64~%%i~10.0.10586.0 ^ /packagename:Package-B~amd64~%%i~10.0.10586.0 ^ /packagename:Package-C~amd64~%%i~10.0.10586.0) install_wim_tweak.exe /h /p <mount dir> Dism /Unmount-Image /MountDir:<mount dir> /Commit dism /Export-Image /SourceImageFile:<path to source wim> /SourceIndex:<source index #> /DestinationImageFile:<path to save new wim> /compress:Max /CheckIntegrity Remember to change the red and blue text placeholders to your own files and paths.