Hello! My name is Renzo and welcome to Microsoft Community.
I'm sorry to hear that you are experiencing this issue and I'll be happy to help you out.
Please provide the following information
- Version and Build of your Windows
- PowerShell Script used
Here are some of my recommendation:
- Check for Pending Windows Updates 1.1 Press Windows + I to open Settings. 1.2 Go to Update & Security > Windows Update. 1.3 Click Check for updates and install any pending updates. 1.4 After updating, restart your computer and check if the Store works again.
- Re-register the Microsoft Store App via PowerShell (You can skip this if the script you used before is the same) 2.1 Open PowerShell as Administrator 2.2 Enter the following command to unregister and then re-register the Microsoft Store: Get-AppxPackage *WindowsStore* | Remove-AppxPackage 2.3 reinstall and re-register the Store: Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} 2.4 Close PowerShell and restart your device
- Create a New User Account to check if the Microsoft Store is corrupted on your account
- Perform an In-place repair by following the steps on this link: https://answers.microsoft.com/en-us/windows/for...
I hope the above steps helped you. In case of additional questions, reach out back to me, and I will be happy to help and try my best to resolve your issue. Thank you.