Troubleshooting Windows Store and PC Settings not accessible

We offered a Surface RT to my mother for her birthday but after more than 18 months, she brought the tablet back to me because all her apps have disappeared and she couldn’t launch the Windows Store or PC settings.

I’ve created another account and I noticed that this account could launch the Windows Store and PC settings.
I’ve also queried the main Windows components store health state with the following DSIM cmdlet:

Repair-WindowsImage -Online -ScanHealth -Verbose


It was Ok. In other words, only her user profile had a problem.

I ran the Apps troubleshooter. It found 3 problems but was able to fix only 2 of them.

I’ve also checked the ACLs on various parts of the filesystem and registry using the following support article: KB2798317.
I added back manually the “All Application Packages” group (“tous les packages d’application” in French) full control NTFS permission onto the user profile.
The Windows store and PC settings still didn’t launch.

Then I reset the Windows Store cache.

& "c:\windows\system32\WSReset.exe"
Add-AppxPackage -DisableDevelopmentMode `
-Register C:\Windows\ImmersiveControlPanel\AppxManifest.xml

Now, I was able to launch the Windows Store but not the PC Settings.

And I had still events ID 5973 in the Application log

The latest command made me realize that all the other modern apps not working might only need to be registered.
So, I ended up doing:

dir C:\ -include AppxManifest.xml -ea 0 -rec -for | 
select -expand FullName | 
? { $_ -notmatch "C:\\Windows\\WinSxS\\" } |
% {
 $p=$_
 try {
  Add-AppxPackage -DisableDevelopmentMode -Register $_ -ErrorAction Stop
  Write-Verbose "Successfully registered $_"
 } catch {
  Write-Warning "Failed to registered $p because $($_.Exception.Message)"
 }
}

Boom! After 8 minutes about 50 modern apps where registered and appeared back in the Start menu.
I was able to launch the PC settings and Windows Store as well 😀
I added back the Microsoft Account in the Windows Store.
When I switched to the “my applications” view in the Store, it reported that “all the available applications are installed on this PC”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s