The newly refurbishedWin10with a lot of real work and less common in lifeAPP, if you feel that theseAPPuse disk space or want to uninstall these apps (APP),Win10cannot use theWindowsApplication Manager directly and graphically uninstalls these apps, and uses theWin10Bring your ownWindows Powershelltools to manage applications, uninstall or install them using the appropriate commands below. (Note: The methods listed in this articleWin10Professional Edition test pass, other versionsWindowsnot tested)
Step 1: Open Windows Powershell as an administrator .
Right-click the Windows logo key (field key)on the leftmost side of the Desktop toolbar and selectWindows PowerShell ( Administrator ) (A) Open the Powershell interface, a command prompt interface that resembles the previous version of Windows, as shown in:
Ii. Step 2: Use the command to uninstall the latter installation application
1. uninstall all native apps with one click
(1) Uninstall all applications of the current user
Enter the following command in Powershell , and enter to uninstall all applications for the current user.
Get-appxpackage | Remove-appxpackage
(2) Uninstall all other users ' apps
Enter the following command in Powershell to uninstall All applications for the specified user <username>.
Get-appxpackage-user <username> | Remove-appxpackage
where <username> is the specified user.
(3) Uninstall all apps for all users
Enter the following command in Powershell to uninstall all applications for all users.
Get-appxpackage-allusers | Remove-appxpackage
2 . Uninstall the specified native application
When uninstalling the specified app, you need to specify the full name of the app and enter the full command to complete the uninstallation of the specified app. The command template is as follows:
Remove-appxpackage < Packagefullname >
The <PackageFullName> here needs to be found by entering the following command in Powershell to list the names of all current apps on the system ( Name ) and full name ( Packagefullname ) :
Get-appxpackage-allusers | Select Name, Packagefullname
PowerShell Use the mouse cursor to select the desired app's packagefullname, and enter to copy the full name of the app, then copy the full name (PowerShell Right click to paste) replace the uninstall Application code template <PackageFullName> can, for example, we want to uninstall Xboxapp application, the uninstall code is as follows:
Remove-appxpackage Microsoft.xboxapp_25.25.13009.0_x64__8wekyb3d8bbwe
3. restore all native applications with one click
Enter the following command in Powershell to complete the installation or deployment of all applications for all users, where the -allusers parameter is optional and may take several minutes to deploy.
Get-appxpackage-allusers | foreach {add-appxpackage-register "$ ($_. installlocation) \appxmanifest.xml "-disabledevelopmentmode}
4 . Install the specified native application
When you install the specified app, you need to specify the full name of the app and enter the full command to complete the uninstallation of the specified app. The command template is as follows:
add-appxpackage-register "C:\Program files\windowsapps\ < Packagefullname > \appxmanifest.xml "-disabledevelopmentmode
The <PackageFullName> here needs to be found by entering the following command in Powershell to list the names of all current apps on the system ( Name ) and full name ( Packagefullname ) :
Get-appxpackage-allusers | Select Name, Packagefullname
Find the full name of the app you want to install packagefullname Replace the code template for the installation application <PackageFullName> For example, we want to install the calculator application here, the Name of the calculator application is:microsoft.windowscalculator; Packagefullname is:microsoft.windowscalculator_10.1702.312.0_x64__8wekyb3d8bbwe,
The installation code is as follows:
Add-appxpackage-register "C:\Program files\windowsapps\microsoft.windowscalculator_10.1702.312.0_x64__ 8wekyb3d8bbwe\appxmanifest.xml "-disabledevelopmentmode
How to uninstall and install Win10 native apps using Windows PowerShell