This problem was very hard to solve it took me like 2 months to solve but now you can solve it under 2 minutes
just Follow my Steps
1- first run powershell as an administrator and execute this command:
Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
2-Go to this website Website 1 there will be an interface where you can see a place to but a link to copy this Website 2 and paste in the first website then
press the ✓ sign it will show punch of files search For Microsoft.windowsStore that end with .appxbundle press on the blue text and download and open
it a windows will show up saying one of two 1-install or it will show reinstall/launch anyway in the 2 cases you press install or reinstall then exit.
3-now in windows search type wsreset open it as admin keep it open and go open powershell as an admin and type this command:
icacls "C:\Program Files\WindowsApps" /reset /t /c /q
now try to open windows store or any windows app such as calculator or calendar it should work now and thank you.