Windows 7 – How to Fix DISM Error 0x800f0805

dismwindows 7

I was removing some packages in offline mode from Windows 7 HomePremium X64 image and I received this error on some of them.

DISM v6.1.7600.16385
Error: 0x800f0805
The specified package is not valid windows package.

Examples:

Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad3
64e35~amd64~en-US~6.1.7601.17514

Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364
e35~amd64~en-US~8.0.7601.17514

Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~amd64~en-U
S~6.1.7601.17514

Does it mean that they're not in the image?

Best Answer

You can't remove them directly. There is some work in the registry required to make them visible to DISM. There is already a tool which does it for you.

It is called install_wim_tweak.exe.

Open a cmd.exe as admin and run install_wim_tweak.exe /o /l to dump all available packages into the Packages.txt. Open it to see the name of all packages and run install_wim_tweak.exe /o /c Microsoft-Windows-InternetExplorer-Optional-Package /r to kill IE.

Related Question