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.

File Hash

File Path: C:\ProgramData\_automation\Script\Remove-PUA\Manage-OverFlowedVariable.ps1
File Hash (Sha256): 79B76E6780B61ED657C7FC07C5C0D9A0662165066D5BAD95D9D672513BADD674
File Hash (MD5): 12B41CDBC04010E638D3FFB8A4BDB1D6

File Path: C:\ProgramData\_automation\Script\Remove-PUA\Remove-PUA-AI.ps1
File Hash (Sha256): 193A1F83B0DE6B329C536DF02B3744C368E9247394C237103BC24DEF7267864E
File Hash (MD5): 01957AAF757A1B88704D4A3BB6DAAF29

File Path: C:\ProgramData\_automation\Script\Remove-PUA\Remove-PUA.ps1
File Hash (Sha256): 84D43EDF2E800A1056ECE01B13C199F4F4900F58D2B0C5070A023936B098C84B
File Hash (MD5): B20CBE9B008988A5991DE61DB1042BF3

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

SWM - Software Uninstall - Agnostic - Remove-PUA
CWM - Automate - Script - OverFlowedVariable - SQL Insert - Execute

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

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