Fix: Windows Store closes immediately after opening

By: Milan Stanojevic
3 minute read

Windows Store is a core component of Windows 10, and this app is irreplaceable especially if you tend to download Universal apps frequently. Even though Windows Store is a great tool, users reported that Windows Store closes immediately after opening.

Windows Store closes immediately after opening, how to fix it?

Solution 1 – Delete local cache

If Windows Store closes immediately after opening, you can fix it by deleting local cache folder. To do that, follow these steps:

  1. Navigate to the C:\Users\user_name\AppData\Local\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe\Local cache folder.
    windows-store-closes-local cache
  2. Once you enter the Local cache folder delete all files and folders from it.
  3. Close the folder and try running Windows Store again.

If you can’t see the AppData folder be sure that the option to see hidden files and folders in enabled. To enable hidden files and folders click View tab and make sure that Hidden items is checked.

windows-store-closes-hidden-items

You can also access Local AppData folder by pressing Windows Key + R and entering %localappdata%.
windows-store-closes-localappdata

Solution 2 – Be sure that your time and timezone are correct

This problem with Windows Store can be caused by incorrect time on your PC, but you can fix this error by checking your time and time zone. To do that, follow these steps:

  1. Click the clock in the bottom right corner and choose Date and time settings.
    windows-store-closes-date-and-time
  2. Be sure that Set time automatically is set to On and that your Time zone is correct.
    windows-store-closes-time

Solution 3 – Set the integrated graphics as preferred graphic card

Apparently you can fix this problem if you set your integrated graphic card as the preferred graphic card. Users reported that after setting the integrated graphics as preferred in GeForce Experience Center the issue was resolved, so you might want to try that.

Solution 4 – Use PowerShell

For various PC problems, we recommend to use this tool.

This tool will repair most computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download and endorsed by us).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues.

Users reported that you can fix this issue by using PowerShell. We have to mention that PowerShell is one powerful tool, and if you’re not careful you can cause system instability issues. Just to be safe, it might be a good idea to create a Restore point just in case anything goes wrong. To start PowerShell do the following:

  1. Press Windows Key + S and enter power, right click PowerShell and choose Run as administrator from the menu.
    windows-store-closes-power-shell-admin
  2. When PowerShell opens enter Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} and press Enter to run it.
    windows-store-closes-poweshell-run

Solution 5 – Change the owner of WindowsApps folder

WindowsApps is a core folder, and by changing its owner you can cause system instability. Before proceeding we advise you to create a System Restore point just in case anything goes wrong. To change the owner of WindowsApps folder do the following:

  1. Go to C:\Program Files.
  2. Locate Windows apps folder, right click it and choose Properties from the menu. Bear in mind that this folder is hidden so you have to enable the option to show hidden files and folders.
    windows-store-closes-properties
  3. Go to Security tab and click Advanced.
    windows-store-closes-advanced
  4. Click the Change in the Owner section.
    windows-store-closes-change
  5. Enter your user name in the Enter the object name to select and click Check Names. If everything is in order click OK. You can also add a user name by clicking the Advanced button and finding your user name manually.
    windows-store-closes-check-names
  6. Check Replace owner on subcontainers and objects and click Apply and OK.
    windows-store-closes-replace
  7. Try running the Windows Store. If everything works as it should, repeat the same steps again, but now enter NT SERVICE\TrustedInstaller instead of your name in Step 5 and change the ownership to TrustedInstaller.
    windows-store-closes-trusted

This is one of the most troublesome issues with Windows Store on Windows 10, but we hope that you managed to fix it after using one of our solutions.

READ ALSO:

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).