Reinstalling Windows Applications using PowerShell

Sometimes things in Windows just don't want to work. And sometimes you just can't find the solution...or are too lazy to find the exact issue. In this case, you can use the easy route to just reinstall all Windows Applications.

Open the Powershell as Admin

Press the Windows Key and r simultaneously. A little window on the bottom left will open. In this, type the word "powershell" and press enter.

To obtain administrator rights, type:

Start-Process powershell -Verb runAs

Reinstall the Applications

Reinstall all applications

To reinstall all default applications of windows, write into the powershell:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Reinstall specific applications

It is also possible to reinstall a single application. For this, the name of the package can be found with
Get-AppxPackage | Select Name, PackageFullName

After identifying the package and its name, the following command can be executed. Please remember to replace PackageFullName with the actual name (listed under PackageFullName) of the package.
Add-AppxPackage -register "C:\Program Files\WindowsApps\PackageFullName\AppXManifest.xml" -DisableDevelopmentMode

Restart the computer

If you cannot switch it off using the usual way, use the powershell:
Restart-Computer is the magic word.

Restart-Computer

Go Back