How to fix Microsoft Store problems on Windows 10

from:
https://tinyurl.com/y4449mn3

1.)
How to fix Microsoft Store using Settings
Use these steps to fix most common problems with the Microsoft Store with the reset option included in the Settings app:

Open Settings
Click on Apps
Click on Apps & features.
Select the Microsoft Store app.
Click the Advanced options link.
Microsoft Store app advanced settings
Microsoft Store app advanced settings
Click the Reset button.

Reset Microsoft Store app to fix problems
Reset Microsoft Store app to fix problems
Once you complete the steps, the process will delete the data and reset the app to its default settings, which can help to fix most common problems.

2.)
How to fix Microsoft Store using WSReset command
Use these steps to fix Microsoft Store app problems with the WSReset command:

Use the Windows key + R to open the Run command.

Type WSReset.exe command and the OK button to run task.

WSReset command

After you complete the steps, the WSReset utility will run and after a few seconds, if the operation completed successfully, the Store will open automatically.

3.)
How to fix Microsoft Store reinstalling app
If after resetting the Store the same problem or error keeps occurring, then you can use the PowerShell command-line utility to uninstall and install the Store app to resolve any issues.

Warning: Use the instructions below as the last resort, and use them at your own risk. It’s also recommended to create a full backup of your PC before proceeding.
Uninstall Store using PowerShell
Use these steps to uninstall the Microsoft Store using PowerShell to fix problems:

Open Start.

Search for Windows PowerShell, right-click the top result, and select the Run as administrator option.

Type the following command to get the information from Windows Store app and press Enter:

Get-AppxPackage -name *WindowsStore*
Search for Microsoft Store app using PowerShell
Search for Microsoft Store app using PowerShell
Select the content from the InstallationLocation field and right-click on it to copy the content to the clipboard. The content should look like this:

InstallLocation : C:\Program Files\WindowsApps\Microsoft.WindowsStore_11811.1001.27.0_x64__8wekyb3d8bbwe
Open Notepad.

Right-click and paste the output, and save the file, as you will need this information later on.

Type the following command on PowerShell to remove the Microsoft Store app and press Enter:

Get-AppxPackage Microsoft.WindowsStore | Remove-AppxPackage

Result looks like this:
InstallLocation : C:\Program Files\WindowsApps\Microsoft.WindowsStore_11811.1001.27.0_x64__8wekyb3d8bbwe

Uninstall the Microsoft Store using PowerShell
Uninstall the Microsoft Store using PowerShell

This command will uninstall it:
Get-AppxPackage Microsoft.WindowsStore | Remove-AppxPackage

Install Store using PowerShell
Use these steps to reinstall the Store back into Windows 10:

Open Start.

Search for Windows PowerShell, right-click the top result, and select the Run as administrator option.

Select and copy the package name from the Notepad file you created on step No. 4 from the previous instructions. It should look something like this:

Microsoft.WindowsStore_11811.1001.27.0_x64__8wekyb3d8bbwe
Type the following command, replace YourStorePacakgeName with the package name you copied to the clipboard, and press Enter:

This command will reinstall it after, "YourStorePakageName" is replaced with the correct value:

Add-AppxPackage -register "C:\Program Files\WindowsApps\YourStorePakageName\AppxManifest.xml" -DisableDevelopmentMode

Reinstall the Microsoft Store app using PowerShell
Reinstall the Microsoft Store app using PowerShell

Then:
Restart your computer

Once you complete the steps, you should be able to sign in to Windows 10 and open the Microsoft Store.