How to uninstall windows 10 powershell applications
Table of contents:
- How to uninstall apps with Power Shell in Windows 10
- How to uninstall pre-installed apps with PowerShell in Windows 10
- How to uninstall apps for all Windows 10 accounts with PowerShell
- How to uninstall all apps on Windows 10 accounts with PowerShell
- Error uninstalling apps with Power Shell in Windows 10
PowerShell, like the command console, is a resource that allows instructions to be written to the computer software, so that they are executed directly and without intermediate processes.
That is why, this program is a perfect assistant when uninstalling applications, however, it is true that it is a bit complicated to know the correct uninstallation method, therefore, these will be explained below.
Index of contents
How to uninstall apps with Power Shell in Windows 10
In this case, the first thing to do is to know the full name of the tool that we want to uninstall and from there proceed to delete it from the system, which can be accomplished as follows:
- First you have to go to the Windows search engine and type "Windows PowerShell". Then, you have to right-click on the corresponding result and go to "Run as administrator".
Once this is done, proceed to press "OK" on the confirmation menu that will appear.
- Given this, the blue menu of the tool will be displayed on your screen, on it you have to type the following command: “Get-AppxPackage | Select Name, PackageFullName ” and click “ Enter. ”By doing so, some processes will start to run, where you will be given all the full names of your programs. Then, you must proceed to save them in text form, with the help of this description: Get-AppxPackage | Select Name, PackageFullName> ”$ env: userprofile \ Desktop \ uwp.txt”. As you will see, the entire list of full names will be taken to a notepad writing format, in it you must find and copy the application you want to delete. Then, re-enter Windows PowerShell and follow the following sequence: Remove -AppxPackage "PackageFullName" and press "Enter. "
That is, if you want to remove "Microsoft Edge", Remove-AppxPackage "Microsoft Edge Full Name".
- Finally wait for the removal process to complete and show you in that menu.
How to uninstall pre-installed apps with PowerShell in Windows 10
If you want to get rid of tools that were already installed on your system when you purchased your computer, you can perform quick-action commands.
That is, commands that are already specified in the system to perform a defined function.
In this case, access Windows PowerShell with administrator permissions and use any of these descriptions depending on the tool you want to remove:
Uninstall 3D Builder: Get-AppxPackage * 3dbuilder * | Remove-AppxPackage Uninstall alarm and clock: Get-AppxPackage * windowsalarms * | Remove-AppxPackage Uninstall calculator: Get-AppxPackage * windowscalculator * | Remove-AppxPackage Uninstall mail and calendar: Get-AppxPackage * windowscommunicationsapps * | Remove-AppxPackage Uninstall camera: Get-AppxPackage * windowscamera * | Remove-AppxPackage Uninstall get office: Get-AppxPackage * officehub * | Remove-AppxPackage Uninstall get Skype: Get-AppxPackage * skypeapp * | Remove-AppxPackage Uninstall Start: Get-AppxPackage * getStarted * | Remove-AppxPackage Uninstall Groove music: Get-AppxPackage * zunemusic * | Remove-AppxPackage Uninstall Maps: Get-AppxPackage * windowsmaps * | Remove-AppxPackage Uninstall solitaire: Get-AppxPackage * solitairecollection * | Remove-AppxPackage Uninstall money: Get-AppxPackage * bingfinance * | Remove-AppxPackage Uninstall cinema and tv: Get-AppxPackage * zunevideo * | Remove-AppxPackage Uninstall news: Get-AppxPackage * bingnews * | Remove-AppxPackage Uninstall OneNote: Get-AppxPackage * OneNote * | Remove-AppxPackage Uninstall People: Get-AppxPackage * people * | Remove-AppxPackage Uninstall Phone Companion: Get-AppxPackage * WindowsPhone * | Remove-AppxPackage Uninstall Photos: Get-AppxPackage * Photos * | Remove-AppxPackage Uninstall Store: Get-AppxPackage * windowsstore * | Remove-AppxPackage Uninstall Sports: Get-AppxPackage * bingsports * | Remove-AppxPackage Uninstall Voice Recorder: Get-AppxPackage * SoundRecorder * | Remove-AppxPackage Uninstall Time: Get-AppxPackage * bingweather * | Remove-AppxPackage Uninstall Xbox: Get-AppxPackage * xboxapp * | Remove-AppxPackage
You can write these last lines in the Windows PowerShell menu or you can also copy and paste them by right clicking on the menu.
If you need to use any of these tools again, then you have to reinstall them with the help of this command:
Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Record "$ ($ _ installLocation.) AppXManifest.xml"}.
When you run it, each and every one of the tools that were in the factory can be reinstalled on your system.
How to uninstall apps for all Windows 10 accounts with PowerShell
If you have a computer with several accounts created, you can proceed to uninstall the applications you want from a main account and make them also disappear from the other servers as follows:
- Perform the above mentioned procedure to get the corresponding name of the application. Then, you have to execute the following command: Get-AppxPackage -allusers PackageFullName | Remove-AppxPackage.
In other words, if you wanted to delete an application called "Windows Xbox" you only look for it in the list and put the description in this way: Get-AppxPackage -allusers "Full name of Windows Xbox" | Remove-AppxPackage.
Note: You can also shorten the name using the asterisk symbol (*), in this case you could simply use the text line "* Windows Xbox *" instead of the full name of the tool.
- Then you apply "Enter" and wait for the process to finish running.
Likewise, in this case you are allowed to reinstall any of these programs again, with the help of this description:
Add-AppxPackage -register "C: Program FilesWindowsAppsPackageFullNameappxmanifest.xml" –DisableDevelopmentMode.
How to uninstall all apps on Windows 10 accounts with PowerShell
If instead of deleting Windows 10 applications one by one on each of your computer's servers, you want to delete all of them at once, you can use the command: Get-AppxPackage -AllUsers | Remove-AppxPackage.
In this way, automatically all the applications that are installed on the computer will be eliminated on all the servers that are subscribed to your network.
However, they can still be installed again, although this description must be executed:
Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$ ($ _. InstallLocation) appxmanifest.xml" -DisableDevelopmentMode}.
Error uninstalling apps with Power Shell in Windows 10
Despite the fact that Windows PowerShell is a universal tool on the Microsoft server, it has internal policy restrictions regarding certain execution commands.
In this case, since it is a matter of eliminating tools that are installed, pre-installed, or found on other servers on the PC, errors occur due to these restrictions.
Therefore, you have to modify these policies to eliminate these failures, and you can do this by executing this simple command:
PowerShell -ExecutionPolicy Unrestricted.
Note: It should be noted that PowerShell will only accept this execution line if it is in installer mode.
Likewise, once this command is placed in PowerShell you can proceed to execute any of the previously mentioned. Has this tutorial about this great Windows 10 console helped you?
▷ How to uninstall a windows 10 program
If your computer is running out of space or you notice that it is slow, we teach you how to uninstall a Windows 10 program. It could be the solution to your problems✅
▷ How to uninstall problematic windows 10 updates
We teach you how to uninstall Windows 10 updates ✅ that are giving you problems. Go back one step to stabilize the system
How to uninstall applications in windows 10
Tutorial of how to uninstall applications in Windows 10 step by step, but in three totally different ways. All proven and 100% reliable.