PowerShell fixes Win8 Metro necrotic application

  
        After using the Sina Weibo application in Win8, Xiaobian suddenly encountered a problem. The Sina Weibo application of the interface suddenly turned into a solid color button. Sina Weibo was also lost in all applications. The original location became a name. For the application of APP. After opening, I entered the store. In this case, the program is equal to necrosis, the delete option is not found, and the Windows 8 Metro application has no management options. It is useless to reinstall the Sina Weibo app in the app store. Although there is an installation process, there is no prompt to install successfully. The start menu is still the same. In this case, the application can neither be deleted nor reinstalled. The solution is as follows: Start screen: All programs, find Windows PowerShell Open and type Get-AppxPackage Enter It can return all (current user?!) installed Metro Package information to find the Metro application you want to uninstall, such as Sina Weibo: Name : sina.51561FF0E3531


Publisher : CN=3B1B7377-362C-4E39-A7C0-F96FAA466AC7

Architecture : Neutral

ResourceId :

Version : 1.0.2.19

PackageFullName : sina.51561FF0E3531_1.0.2.19_neutral__zgahqmgng3xt6

InstallLocation : C:\\Program Files\\WindowsAPPS \\sina.51561FF0E3531_1.0.2.19_neutral__zgahqmgng3xt6

IsFramework : False

PackageFamilyName : sina.51561FF0E3531_zgahqmgng3xt6

PublisherId : zgahqmgng3xt6 Write down the PackageFullName item above in the console. Here: PS C:\\Users\\username> Type: Remove-AppxPackag e <PackageFullName you want to uninstall> For example, my Sina Weibo is like this: Remove-AppxPackage sina.51561FF0E3531_1.0.2.19_neutral__zgahqmgng3xt6

Prompt deployment operation

disappeared if wood has Return error, then just fine

Go back to the app store and install the app. Note: The PackageFullName item connected after Remove-AppxPackage is case-sensitive, and some of the underscores are connected to two, not one, so it is best to use Ctrl + C to copy, right-click directly to avoid errors. (If the prompt is wrong, it is generally an input error) PS: If the re-installation is successful, the start interface still does not appear, go to all programs to search for the application, then open, you can restore the original button, which is estimated to be a cache problem. The application is deleted directly in the Windows app folder, which makes it impossible to reinstall it. It can also be solved by this method.

Copyright © Windows knowledge All Rights Reserved