Hello,
Thank you for posting in Q&A forum.
Based on my understanding of this problem, I suspect that the problem may be caused by missing or damaged system files. I suggest that you open the command prompt as an administrator and run the following command:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
If the problem still cannot be solved, I suggest that you open the computer in clean mode to check for the impact of third-party applications.
I hope the information above is helpful.
Best regards
Zunhui
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.