Hi

See above!

Did you mean this command (in Safe Mode) dism.exe /image:C:\ /cleanup-image /revertpendingactions

I am in safe Mode. What should I enter at the command prompt?

I tried this again and got:

The /image option that is specified points to a running Windows installation. To service the running operating system use the /Online option. For more information refer to the help by running Dism.exe /Online /?.