In the settings menu of my computer I accessed the update history and if I understand it correctly, the latest Windows update is Windows 10, version 2004.
I tried the first two steps of your instructions multiple times, but it did not show any error messages.
This is the code that showed:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> DISM.exe /Online /Cleanup-image /Checkhealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.329
Image Version: 10.0.19041.450
No component store corruption detected.
The operation completed successfully.
PS C:\WINDOWS\system32> DISM.exe /Online /Cleanup-image /Restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.329
Image Version: 10.0.19041.450
[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
And in another window I ran this:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.