Hello,
Based On the experience We have
Please Update the windows First, Since if you have the outdated windows then you will see these kind of issues normally.
Secondly Please press windows key and r and type %temp% and then please delete all the files
Meanwhile, we would suggest you to run this PowerShell Command and check.
Press Windows + X key and select Windows PowerShell (Admin).
Copy and paste this command, then press enter: Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Close the PowerShell command and restart the PC.
--If the reply is helpful, please Upvote and Accept as answer--