Hello,
If you have access to Windows Recovery Environment and can open Command Prompt, here are some of the commonly used repair commands:
Checking the disk for errors:
chkdsk C: /f /r /x
This command will check the disk for errors and attempt to fix them. The “C:” should be replaced with the letter of your drive.
If the problem continues, you may have corruption on your system files. You can use the Deployment Imager Servicing and Management (DISM) tool to attempt to repair your image. Run the following commands:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Note: Sometimes it might be needed to specify the source, if you have another Windows install or Windows installer media. How to use DISM command tool to repair Windows 10 image | Windows Central
Running sfc (System File Checker) scan:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows\
Replace “C:” with your system root drive. This will scan system files for corruption and automatically repairs them.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.