The following is a three day saga of empty 'Turn Windows Features on or off' dialog.
This dialog, as unimportant as it may seem, is the only orifice into Windows subsystem installations without having to cramp up command line msiexec.exe wizardry on obscure system installation folders that nobody wants to understand.
Empty, it looks like this:
First thing anyone should do when it comes to something obscure like this is:
- Reinstall the OS (kidding, but would help)
- In-place upgrade of the OS (kidding, but would help faster)
- Clean reboot (really, but most probably won't help)
- Run chkdsk /f and sfc /scannow (really)
- If that does not help, proceed below
If you still can't control your MSMQ or IIS installation, then you need to find out which of the servicing packages got corrupted somehow.
Servicing packages are Windows Update MSIs, located in hell under HKLM/Software/Microsoft/Windows/CurrentVersion/Component Based Servicing/Packages. I've got a couple thousand under there, so the only question is how to get to rough one out of there.
There's a tool, called System Update Readiness Tool [here] that nobody uses. Its side effect is that it checks peculiarities like this. Run it, then unleash notepad.exe on C:\Windows\Logs\CBS\CheckSUR.log and find something like this:
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
(f) CBS MUM Corrupt 0x800F0900 servicing\Packages\
Package_4_for_KB2446710~31bf3856ad364e35~amd64~~184.108.40.206.mum Line 1:
(f) CBS Catalog Corrupt 0x800B0100 servicing\Packages\
Then find the package in registry, take ownership of the node, set permissions so you can delete and delete it. Your OptionalFeatures.exe work again and it took only 10 minutes.