Create a new Windows user account with administrator privileges and see if the same behavior occurs.
This may be due to missing or corrupted system files. Use the system file checker.
-Open Start and type cmd, right-click on "Command Prompt" and select "Run as administrator".
-Run the following commands at the Command Prompt one at a time:
dism.exe /online /cleanup-image /scanhealth
dism.exe /online /cleanup-image /restorehealth
dism.exe /online /cleanup-image /startcomponentcleanup
-Restart the PC and see if the problem is solved
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–