Hello,
Based on the error information you provided, I suggest you open CMD as an administrator and run the following commands in sequence to see if the problem is caused by missing or damaged system files:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
Use the System File Checker tool to repair missing or corrupted system files - Microsoft Support
Best Regards
Zunhui