Personally, I could never remove any package installed Windows ThinPC using the commandline tool (DISM.exe) . Everytime I try to remove some package the tool returns the following error: 0x800f0825. the command I use is (example): dism /online /Remove-Package /PackageName:WinEmb-MediaPlayer~31bf3856ad364e35~x86~~6.1.7601.17514. Someone could tell me what might be causing this error?
I checked the log file. Interestingly, there is a passage that says " DISM Provider Store: . PID = 3468 Failed to get and initialize the PE Provider Continuing by assuming That It is not the WinPE image . " .. Windows Thin PC is nothing more than WES7 . What I can not understand is that if you add packages and want to remove them later using the DISM it works normally but if you remove the packages that are already built into ThinPC then it does not work !!
I don't think dism.log is going to be of much help because the actual package management stuff is done in CBS. DISM is only relaying any errors that CBS reports. I don't have a TPC/WES7 install handy, but you could try looking into the values in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\<package>\Owners, for preinstalled packages and for ones you have added yourself. My guess is that any packages you install will have themselves listed as owners, while the preinstalled ones may not. If that's the case, try adding another DWORD entry with the same name as the package in its "Owners" key also (using the same numerical value as for the packages you have installed yourself) and see if you're able to remove the package then.