January 16, 2017 Leave a comment
If you have somehow uninstalled a Windows 10 app [the ones that came with Windows 10], you can restore the app. There are a number of ways but this method seems the least confusing [well to me]:
Find PowerShell in the Start menu [choose one that says “PowerShell” and not “PowerShell (x86)” or the others].
- Right click on it and select “Run as administrator”. A big deep blue window opens up.
- Run the command:
- Because of the number of applications, I would suggest you redirect the output to a text file.
Get-Appxpackage –Allusers > c:\temp\output.txt
- You can use a different name. Use a location to save the text file and you have rights to save it there. You will be deleting it after.
- Open your output.txt file.
- Find the application that you want to restore. For our example, it will be the “Windows Store”.
- So look for and copy the text to the right of “FullPackageName” under “Windows Store”.
- So for this version of Windows 10 that I’m using [Windows 10 Pro v1611 64-bit] it is “Microsoft.WindowsStore_11610.1001.10.0_x64__8wekyb3d8bbwe”.
- Now build/copy the following line:
Add-AppxPackage -register “C:\Program Files\WindowsApps\XXX\AppxManifest.xml” –DisableDevelopmentMode
- Replace XXX with “Microsoft.WindowsStore_11610.1001.10.0_x64__8wekyb3d8bbwe” [no quotes] in my example and you should be left with
Add-AppxPackage -register “C:\Program Files\WindowsApps\Microsoft.WindowsStore_11610.1001.10.0_x64__8wekyb3d8bbwe\AppxManifest.xml” –DisableDevelopmentMode
- Copy the full line [to the clip board].
- Go into the big deep blue PowerShell window, and right click on the top line where you have the PowerShell command prompt. It should automatically insert the line that you “built” two lines above. Hit the “Enter” key.
If there is no error, it will bring you back to the PowerShell command prompt. Now if you go to the Start menu, your application should be back [in our example, it show up as “Store”].
Note: I am not a PowerShell expert. So, if something is missing, I can’t help. At worst case, this procedure should do nothing.