Hi,
the situation:
Windows does not install any update and says “You’re up to date”.
I tried the following commands to investigate:
A WMI Query for all installed hotfixes return that no instance is available
D:\> wmic qfe no instances available
Also the powershell WMI query returns an empty list
get-WMIObject -Query "select from Win32_quickfixengineering" empty list
Start the system file checker to resolve some issue
D:\> sfc scannow resource protection could not start the repair service
A Cleanup image fails with an unkown command line option:
D:\> dism /online /cleanup-image /restorehealth Error: 87 The cleanup-image option is unknown. For more information, refer to the help by running DISM.exe /?.
The solution was the customer has disabled the “Windows Module Installer” service (trustedinstaller) for some testing purposes.
After enabling the trustedinstaller (manual is sufficant)
D:\> sc config trustedinstaller start= demand
all commands are running as expected and the latest updates installs..
Michael