right click start button
choose windows terminal (admin
if it doesn't open as powershell, choose the drop down arrow in title row and select it from list
copy/paste this command into window:
Repair-WindowsImage -Online -RestoreHealth
and press enter
Then type
SFC /scannow
and press enter
Restart PC if SFC fixes any files as some fixes require a restart to be implemented
First command repairs the files SFC uses to clean files, and SFC fixes system files
SFC = System File Checker. First command runs DISM -
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism?view=windows-11
that might fix the error.