A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Due to features change often I often run a file that I copied from a helpful note.
I created a batch file and run it in administrator mode. It replaces corrupt or broken files.
I have had no problems with this code.
However, provide for recovery, if needed. This is "as is".
Perhaps try one command at a time.
aja.bat
@echo off
date /t & time /t
echo Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup
echo ...
date /t & time /t
echo Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /RestoreHealth
echo ...
date /t & time /t
echo SFC /scannow
SFC /scannow
date /t & time /t
pause
======
(end of batch file)
Platform
Device name xxxxxxxx
Processor 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz 2.50 GHz
Installed RAM 16.0 GB (15.6 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 10 Pro
Version 22H2
Installed on 1/3/2022
OS build 19045.2251
Experience Windows Feature Experience Pack 120.2212.4180.0