Thursday 23 July 2020

Windows Store Applications Crash as soon as they are opened with Exception code: 0xc000027b

Not 100 percent sure what fixed it but I did the following

  1. Give the user local admin (This is needed so you can run PowerShell elevated but remain in the users context space)
  2. Open Powershell Elevated
  3. Type and run "$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest"

    Side note on this, you may get an error about the store is still being accessed, if so kill off the store and rerun it
  4. Type and run wsreset.exe
  5. Type and run "Get-AppxPackage | ForEach-Object { Add-AppxPackage -DisableDevelopmentMode -Register ($_.InstallLocation + '\AppxManifest.xml')}"

    Side note on this command too, you will get errors for the applications that are running,  should be ok not seen any issues is testing so far (23/07/2020)
  6. Reboot
  7. Test and confirm working
  8. Remove Local admin if you had to give it.

No comments:

Post a Comment