Hi,
Sorry to hear you're experiencing this issue.
You can use this procedure to reinstall the Microsoft Store.
Step 1: Check if doesn't have any corrupt files on the windows.
1-Right-Click on Start then click on Windows Powershell (admin)
2- Type these commands.
sfc /scannow (and press Enter)
Dism /Online /Cleanup-Image /ScanHealth (and press Enter)
Dism /Online /Cleanup-Image /CheckHealth (and press Enter)
3- The DISM tool will report whether the image is healthy, repairable, or non-repairable. If the image is repairable, you can use the /RestoreHealth argument to repair the image.
4-Type this command and press Enter:
Dism /Online /Cleanup-Image /RestoreHealth
Step 2: Reset Windows Update components
1-Right-Click on Start then click on Windows PowerShell(admin)
2-Type these commands:
net stop wuauserv (and press Enter)
net stop cryptSvc (and press Enter)
net stop bits (and press Enter)
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old (and press Enter)
ren C:\Windows\System32\catroot2 Catroot2.old (and press Enter)
net start wuauserv (and press Enter)
net start cryptSvc (and press Enter)
net start bits (and press Enter)
netsh winsock reset (and press Enter)
3-Reboot your PC
4-Go to Start > Settings > Update & Security and make sure all updates available are installed
Step 3: Reinstall the Microsoft Store.
1-Right-click on Start.
2-Click on Windows PowerShell(admin)
3-Type:
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} and press ENTER.
4-Reboot your PC
5-Open the Microsoft Store, click on Library then click on Get and Install updates.
If this procedure also fails and the Microsoft Store still does not work, you can use the Media Creation Tool to perform the repair upgrade. This procedure will repair all Windows files, apps, services, and registry keys.
1-Download the media creation tool.
https://go.microsoft.com/fwlink/?LinkId=691209
2-Run the tool and select 'Upgrade this pc now'
3-Select the option 'Keep all my files and apps'
4-Then click to update.
I hope this information helps. If you have any questions or the problem persists, please let me know and I'll be glad to assist you further.