Skip to main content

Remove - PUA

Summary

This is a CW Automate implementation of the agnostic script Remove-PUA. It manages the removal of predefined bloatware packages or lists installed bloatware based on a centrally maintained list. It offers three primary operations: bulk removal, selective removal, and bloatware listing. The remove parameter allows bypassing the PUA List to remove any installed AppxPackage.

PUA List: PUA List

EXERCISE EXTREME CAUTION - Removing system components may cause system instability.

Note: Data fetched by the script using the ListBloatware script can be viewed in the Bloatware Audit dataview.

Sample Run

To fetch the list of installed bloatware into the Bloatware Audit dataview:
Sample Run 1

To fetch the list of installed bloatware and email it to the user running the script:
Sample Run 2

To remove specific bloatware Microsoft.BingNews, Microsoft.BingWeather, and Microsoft.People:
Sample Run 3

To remove all installed bloatware supported by the script:
Sample Run 4

To remove all installed bloatware supported by the script except Microsoft.BingNews, Microsoft.BingWeather, and Microsoft.People:
Sample Run 6

Dependencies

User Parameters

NameExampleAccepted ValuesRequiredDescription
ListBloatware1- 1- 2Partially1: Fetch installed bloatware into the Bloatware Audit dataview. 2: Fetch installed bloatware into the Bloatware Audit dataview and send the list to the user running the script.
RemoveMicrosoft.BingNews, Microsoft.BingWeather, Microsoft.PeoplePartiallyThe name(s) of the application or applications you wish to uninstall
Remove All1PartiallySet it to 1 to remove all bloatware by category or all found bloatware with or without exceptions
CategoryXboxFeaturesApps- MsftBloatApps - ThirdPartyBloatApps - WindowsStoreApps - XboxFeaturesApps - NonAppxAppsFalseUsed with RemoveAll to filter bloatware to a certain category, allowing you to select just a specific category of bloatware
ExceptxboxGameOverlayFalseUsed with RemoveAll or Category to remove all except some item(s) from a category or all together

Global Parameters

NameExampleAccepted ValuesRequiredDescription
PUAListSourcehttps://my.cdn.example/pua.json, C:\ProgramData\_Automation\Script\PUA\pua.jsonFalseOptional source for an alternate PUA list JSON. When provided, the script will use the specified local JSON file or downloadable URL instead of the default PUA list (https://content.provaltech.com/attachments/potentially-unwanted-applications.json).

Emailing

The script is designed to send the list of installed bloatware to the user running the script if the ListBloatware parameter is set to 2.

Sample Email:
Sample Email

Sample CSV File:
Sample CSV

Output

  • Script log
  • Dataview (if ListBloatware parameter is used)

Supported Bloatware

MsftBloatAppsThirdPartyBloatAppsWindowsStoreAppsXboxFeaturesAppsNonAppxApps
Microsoft.3DBuilder46928bounde.EclipseManagerMicrosoft.DesktopAppInstallerMicrosoft.Xbox.TCUIClean Your Device
Microsoft.AppConnector4DF9E0F8.NetflixMicrosoft.WindowsStoreMicrosoft.XboxAppDell Optimizer Service
Microsoft.BingFinance828B5831.HiddenCityMysteryofShadowsMicrosoft.XboxGameOverlayDell Power Manager Service
Microsoft.BingNews89006A2E.AutodeskSketchBookMicrosoft.XboxIdentityProviderDell SupportAssist OS Recovery Plugin for Dell Update
Microsoft.BingSports9E2F88E3.TwitterMicrosoft.XboxSpeechToTextOverlayHP Notifications
Microsoft.BingWeatherA278AB0D.DisneyMagicKingdomsMicrosoft.XboxLiveHP TechPulse
Microsoft.CommsPhoneA278AB0D.MarchofEmpiresMicrosoft.XboxGamingOverlayLenovo Quick Clean
Microsoft.ConnectivityStoreActiproSoftwareLLC.562882FEEB491Microsoft.GamingAppLenovo Vantage Service
Microsoft.GetstartedAD2F1837.HPPCHardwareDiagnosticsWindows
Microsoft.MessagingAD2F1837.HPPowerManager
Microsoft.Microsoft3DViewerAD2F1837.HPPrivacySettings
Microsoft.MicrosoftOfficeHubAD2F1837.HPQuickDrop
Microsoft.MicrosoftPowerBIForWindowsAD2F1837.HPSupportAssistant
Microsoft.MicrosoftSolitaireCollectionAD2F1837.HPSystemInformation
Microsoft.MicrosoftStickyNotesAD2F1837.myHP
Microsoft.MinecraftUWPAdobeSystemsIncorporated.AdobePhotoshopExpress
Microsoft.MixedReality.PortalCAF9E577.Plex
Microsoft.MSPaintD52A8D61.FarmVille2CountryEscape
Microsoft.NetworkSpeedTestD5EA27B7.Duolingo-LearnLanguagesforFree
Microsoft.Office.OneNoteDrawboard.DrawboardPDF
Microsoft.Office.OneNoteE046963F.cameraSettings
Microsoft.Office.SwayE046963F.LenovoCompanion
Microsoft.OneConnectE046963F.LenovoSettingsforEnterprise
Microsoft.PeopleFacebook.Facebook
Microsoft.Print3DflaregamesGmbH.RoyalRevolt2
Microsoft.RemoteDesktopGAMELOFTSA.Asphalt8Airborne
Microsoft.SkypeAppKeeperSecurityInc.Keeper
Microsoft.Windows.Photosking.com.BubbleWitch3Saga
Microsoft.WindowsAlarmsking.com.CandyCrushSodaSaga
Microsoft.WindowsCameralaregamesGmbH.RoyalRevolt2
microsoft.windowscommunicationsappsWhatsApp.WhatsAppDesktop
Microsoft.WindowsFeedbackHubClipchamp.Clipchamp
Microsoft.WindowsMapsLinkedIn.LinkedIn
Microsoft.WindowsPhoneHPInc.MyHP
Microsoft.WindowsSoundRecorderSpotifyAB.SpotifyMusic
Microsoft.ZuneMusic
Microsoft.ZuneVideo
Microsoft.OneDrive
Microsoft.GetHelp
Microsoft.PowerAutomateDesktop
Microsoft.QuickAssist
Microsoft.LinkedIn
Microsoft.WindowsCopilot
Microsoft.549981C3F5F10
Microsoft.WhatsAppDesktop
Microsoft.Todos
Microsoft.OneDriveSync
Microsoft.Paint3D
MicrosoftCorporationII.QuickAssist
Microsoft.SpotifyMusic

Changelog

2026-08-24

  • Added another parameter PuaListSource. Its an Optional source for an alternate PUA list JSON. When provided, the script will use the specified local JSON file or downloadable URL instead of the default PUA list.
  • Updated the script to use this new parameter and as per our new CWA script standards.

2025-04-01

  • Fixed the bug where the script contained several outdated and potentially incorrect AppxPackage IDs in the bloatware removal arrays. Some Microsoft apps have changed their package identifiers in newer Windows versions, and some third-party apps may have incorrect publisher IDs.

2025-04-10

  • Initial version of the document