Tuesday, April 14, 2015

Re-Register APP in Windows 10 Technology Preview

I've recently upgraded my notebook to Windows 10 TP Build 10049 from previous build via windows update.
After upgrade completion no Appx can be started and even search is not working from start menu or from taskbar.


After a little research I've found a simple PowerShell script that re-register all Appx package of my installation.


The script, just in case you need it is split into two action.


First (all Shell Experience Packages):


Get-AppxPackage -all *shellexperience* -packagetype bundle |% {add-appxpackage -register -disabledevelopmentmode ($_.installlocation + “\appxmetadata\appxbundlemanifest.xml”)}


Second (for all other metro appx):


Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}


Thanks to this article by Robert Rulles that point me to the solution.

No comments: