PowerShell Commands for Windows App Folders


PowerShell Commands for Windows App Folders

A few Windows App Cmdlet PowerShell commands, Windows Apps Folders and their equivalent Windows App Names are given below for your reference:

PowerShell Commands for Windows App Folders

Are you facing problems with Windows Apps?

Go here to fix issues with Microsoft Edge Browser, Cortana and Start Menu.
Go here to fix issues with Windows 10 Apps
Go here to Block Windows 10 updates

Windows App Folders and their corresponding Windows App Names

The below table shows the Windows Apps that you commonly know and their corresponding Windows App Names as listed within the Windows App Folders. This knowledge is required if you want to run PowerShell commands specific to the respective Windows Apps.

Alarms and Clockwindowsalarms
Calculatorwindowscalculator
Calendar and Mailwindowscommunicationsapps
Camerawindowscamera
Storewindowsstore
Mapswindowsmaps
Phone Companionwindowsphone
Phonecommsphone
Peoplepeople
Photosphotos
Voice Recordersoundrecorder
Microsoft Wi-Ficonnectivitystore
Groove Musiczunemusic
Movies & TVzunevideo
 
Messaging + Skypemessaging
Get Skypeskypeapp
Get Startedgetstarted
Get Officeofficehub
Swayoffice.sway
One Noteonenote
3D Builder3dbuilder
 
Moneybingfinance
Newsbingnews
Sportsbingsports
Weatherbingweather
 
Solitaire Collectionsolitairecollection
Candy Crush Sagacandycrushsaga
Xboxxboxapp
Xbox One SmartGlassxboxonesmartglass
 
App Connectorappconnector
Scanwindowsscan
Twittertwitter

 

Windows System App Folders and their corresponding Windows App Names

 

Microsoft.MicrosoftEdge_8wekyb3d8bbweMicrosoft Edge
Microsoft.Windows.Cortana_cw5n1h2txyewyCortana
ShellExperienceHost_cw5n1h2txyewyStart Menu
ContactSupport_cw5n1h2txyewyContact Support
ParentalControls_cw5n1h2txyewyParental Controls
Microsoft.Windows.SecondaryTileExperience_cw5n1h2txyewyWindows Secondary Tiles
Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewyJoin Azure AD
WindowsFeedback_cw5n1h2txyewyWindows Feedback
Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewyWindows Spotlight
Microsoft.LockApp_cw5n1h2txyewyLock Screen
Microsoft.BioEnrollment_cw5n1h2txyewyFace Unlock
Microsoft.AAD.BrokerPlugin_cw5n1h2txyewySearch

PowerShell Commands to check the current version of the Windows Apps

Running the below cmdlet in PowerShell will let us know the currently installed Version of the Windows App and their Dependencies.
You can run PowerShell in Normal mode or Admin Mode.

To Launch Powershell in Admin Mode:

Right-click ‘Start’ Select Command Prompt (Admin) and in the Command Prompt Window Type Powershell

Hit Enter

Copy and Paste the Commands to prevent syntax errors

 

Get-AppxPackage *windowsalarms* -Verbose
Get-AppxPackage *windowscalculator* -Verbose
Get-AppxPackage *windowscommunicationsapps* -Verbose
Get-AppxPackage *windowscamera* -Verbose
Get-AppxPackage *windowsstore* -Verbose
Get-AppxPackage *windowsmaps* -Verbose
Get-AppxPackage *windowsphone* -Verbose
 
Get-AppxPackage *commsphone* -Verbose
Get-AppxPackage *people* -Verbose
Get-AppxPackage *photos* -Verbose
Get-AppxPackage *soundrecorder* -Verbose
Get-AppxPackage *connectivitystore* -Verbose
Get-AppxPackage *zunemusic* -Verbose
Get-AppxPackage *zunevideo* -Verbose
 
Get-AppxPackage *messaging* -Verbose
Get-AppxPackage *skypeapp* -Verbose
Get-AppxPackage *getstarted* -Verbose
Get-AppxPackage *officehub* -Verbose
Get-AppxPackage *office.sway* -Verbose
Get-AppxPackage *onenote* -Verbose
Get-AppxPackage *3dbuilder* -Verbose
 
Get-AppxPackage *bingfinance* -Verbose
Get-AppxPackage *bingnews* -Verbose
Get-AppxPackage *bingsports* -Verbose
Get-AppxPackage *bingweather* -Verbose
 
Get-AppxPackage *solitairecollection* -Verbose
Get-AppxPackage *candycrushsaga* -Verbose
Get-AppxPackage *xboxapp* -Verbose
Get-AppxPackage *xboxonesmartglass* -Verbose
 
Get-AppxPackage *windowsscan* -Verbose
Get-AppxPackage *appconnector* -Verbose
Get-AppxPackage *twitter* -Verbose

 

PowerShell Commands to know the Dependent Files of the Windows Apps

Running the below cmdlet in PowerShell will let us know the Dependent Files required for the currently Active Version of the respective Windows App.
You can run PowerShell in Normal mode or Admin Mode.

Right-click ‘Start’ Select Command Prompt (Admin) and in the Command Prompt Window Type Powershell


Hit Enter

Copy and Paste the Commands to prevent syntax errors

 

(Get-AppxPackage *windowsalarms* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *calculator* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *windowscommunicationsapps* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *windowscamera* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *WindowsStore* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *windowsmaps* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *windowsphone* -Verbose).Dependencies.PackageFullName
  
(Get-AppxPackage *commsphone* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *people* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *photos* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *soundrecorder* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *connectivitystore* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *zunemusic* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *zunevideo* -Verbose).Dependencies.PackageFullName
  
(Get-AppxPackage *messaging* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *skypeapp* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *getstarted* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *officehub* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *office.sway* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *onenote* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *3dbuilder* -Verbose).Dependencies.PackageFullName
  
(Get-AppxPackage *bingfinance* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *bingnews* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *bingsports* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *bingweather* -Verbose).Dependencies.PackageFullName
  
(Get-AppxPackage *solitairecollection* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *candycrushsaga* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *xboxapp* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *xboxonesmartglass* -Verbose).Dependencies.PackageFullName
  
(Get-AppxPackage *windowsscan* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *appconnector* -Verbose).Dependencies.PackageFullName
(Get-AppxPackage *twitter* -Verbose).Dependencies.PackageFullName

 

PowerShell commands to Remove Windows Apps:

Running the below commands in PowerShell will remove the apps from Windows. Use with Caution.

To Launch Powershell in Admin Mode:

Right-click the ‘Taskbar’ > Select ‘Task Manager’ > ‘File’ > ‘Run new task’ > Type –  PowerShell  – in the open window. > Put a Tick on ‘Create this task with administrative privileges’
Click OK.

(You have to click on ‘More details’ at the bottom of the Task Manager to see the expanded view of Task Manager)

OR

Right-click ‘Start’ Select Command Prompt (Admin) and in the Command Prompt Window Type Powershell

Hit Enter

Copy and Paste the Commands to prevent syntax errors

 

Get-AppxPackage *windowsalarms* | Remove-AppxPackage -Verbose
Get-AppxPackage *windowscalculator* | Remove-AppxPackage -Verbose
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage -Verbose
Get-AppxPackage *windowscamera* | Remove-AppxPackage -Verbose
Get-AppxPackage *windowsstore* | Remove-AppxPackage -Verbose
Get-AppxPackage *windowsmaps* | Remove-AppxPackage -Verbose
Get-AppxPackage *windowsphone* | Remove-AppxPackage -Verbose
 
Get-AppxPackage *CommsPhone* | Remove-AppxPackage -Verbose
Get-AppxPackage *people* | Remove-AppxPackage -Verbose
Get-AppxPackage *photos* | Remove-AppxPackage -Verbose
Get-AppxPackage *soundrecorder* | Remove-AppxPackage -Verbose
Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage -Verbose
Get-AppxPackage *zunemusic* | Remove-AppxPackage -Verbose
Get-AppxPackage *zunevideo* | Remove-AppxPackage -Verbose
 
Get-AppxPackage *Messaging* | Remove-AppxPackage -Verbose
Get-AppxPackage *skypeapp* | Remove-AppxPackage -Verbose
Get-AppxPackage *getstarted* | Remove-AppxPackage -Verbose
Get-AppxPackage *officehub* | Remove-AppxPackage -Verbose
Get-AppxPackage *Office.Sway* | Remove-AppxPackage -Verbose
Get-AppxPackage *onenote* | Remove-AppxPackage -Verbose
Get-AppxPackage *3dbuilder* | Remove-AppxPackage -Verbose
 
Get-AppxPackage *bingfinance* | Remove-AppxPackage -Verbose
Get-AppxPackage *bingnews* | Remove-AppxPackage -Verbose
Get-AppxPackage *bingsports* | Remove-AppxPackage -Verbose
Get-AppxPackage *bingweather* | Remove-AppxPackage -Verbose
 
Get-AppxPackage *solitairecollection* | Remove-AppxPackage -Verbose
Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage -Verbose
Get-AppxPackage *xboxapp* | Remove-AppxPackage -Verbose
Get-AppxPackage *XboxOneSmartGlass* | Remove-AppxPackage -Verbose
 
Get-AppxPackage *Appconnector* | Remove-AppxPackage -Verbose
Get-AppxPackage *WindowsScan* | Remove-AppxPackage -Verbose
Get-AppxPackage *Twitter* | Remove-AppxPackage -Verbose

 

The Generic PowerShell cmdlet command: Use this with caution.

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

It is run to fix Windows 10 Apps not working & Windows System Apps not working issues and used to work well with Windows 10 10240 builds.

However, if the Generic cmdlet is run in Windows 10 version 1511 (November update Build 10586) it screws up 15 other Windows Apps, although it may fix issues with Windows System Apps. It deletes parts of the Windows Apps installation folder when the cmdlet is run.

The Generic PowerShell cmdlet command WORKS WELL WITHOUT ANY ISSUES in Windows 10 April Update. It can be run to fix issues with Windows Apps with just this one cmdlet command. However, I am yet to encounter issues with the April update with regards to Windows Apps. It will not screw up other Apps.

To get a list of all the Modern Apps in your Computer.

Run the below cmdlet in PowerShell Admin Mode

Get-AppxPackage -Verbose -AllUsers | findstr ^Name

To get a list of the Modern Apps for the current user in your Computer.

Run the below cmdlet in PowerShell

Get-AppxPackage -Verbose | Format-Wide -Property Name

PowerShell cmdlet commands to fix Windows System Apps

Microsoft Edge Browser

Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}

Cortana

Get-AppXPackage -AllUsers -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Windows Start Menu

Get-AppXPackage -AllUsers -Name Microsoft.Windows.ShellExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Parental Controls

Get-AppXPackage -AllUsers -Name Microsoft.Windows.ParentalControls | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Windows Secondary Tiles

Get-AppXPackage -AllUsers -Name Microsoft.Windows.SecondaryTileExperience | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Join Azure AD – Connect to Cloud

Get-AppXPackage -AllUsers -Name Microsoft.Windows.CloudExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Windows Spotlight

Get-AppXPackage -AllUsers -Name Microsoft.Windows.ContentDeliveryManager | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Lock Screen

Get-AppXPackage -AllUsers -Name Microsoft.LockApp | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Face Unlock – BioMetric Sign in

Get-AppXPackage -AllUsers -Name Microsoft.BioEnrollment | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

Search

Get-AppXPackage -AllUsers -Name Microsoft.AAD.BrokerPlugin | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

 

Subscribe on Youtube

Share

Fernz

By day, a blogger, web developer & system builder.
By night, works as a Technical Support Specialist & Coach for a Leading MNC.
Heston as he is known, loves reading, surfing the Web and learning new stuff. He is married to Linus and have two lovely Kids. Russell & Rochelle.

Leave a Reply

Your email address will not be published. Required fields are marked *