Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
Recently, while investigating an issue related to a .NET Framework hotfix installation problem, I reviewed the contents of the System Update Readiness Tool knowledge base article. I noticed that the contents have been updated since the release of Windows 8. Instead of needing to download and run a separate tool, the diagnostic and repair functionality in the System Update Readiness Tool is now built into Windows in Windows 8 and Windows Server 2012. This change should make it much easier to investigate and fix issues on Windows 8 and Windows Server 2012 such as the one I described a while ago in this blog post.
You can find more detailed information about how to use System Update Readiness Tool functionality in Windows 8 and Windows Server 2012 in this blog post from the Windows servicing team.
Another great command you can use with /Cleanup-Image is /StartComponentCleanup, this will check if any updates are superseded and it will uninstall them
dism /online /Cleanup-Image /StartComponentCleanup
I've written that command in Windows 8, but it says "Error: 87".
Any idea which coul help me?
I have the same problem with mine.
Hi Muser and Monique Mitchell - I've been able to run this command line with no issues on my Windows 8 and Windows 8.1. computers: dism /online /Cleanup-Image /StartComponentCleanup
Error code 87 means "The parameter is incorrect." I saw this error when I ran the command line on a Windows 7 computer. You will see this error if you try to run this command line on a version of Windows that is older than Windows 8. The /StartComponentCleanup switch is only available in Windows 8 and newer versions of Windows.
I have also seen Error code 87, which can also be that you are not putting a space in front of the /. It should be dism /online, not dism/online. Aaron has it correct in his post, but I have run into that before and it took me a while to figure that out