Added HP Apps Removal (#229)

Co-authored-by: Raphire <9938813+Raphire@users.noreply.github.com>
This commit is contained in:
Lucas
2025-05-04 12:27:19 -04:00
committed by GitHub
parent 83032ad1bc
commit 7abbb311a9
4 changed files with 53 additions and 2 deletions

View File

@@ -137,3 +137,23 @@ XING
#Microsoft.windowscommunicationsapps # Mail & Calendar #Microsoft.windowscommunicationsapps # Mail & Calendar
#Microsoft.XboxGameOverlay # Game overlay, required/useful for some games #Microsoft.XboxGameOverlay # Game overlay, required/useful for some games
#Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games #Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games
#AD2F1837.HPAIExperienceCenter
#AD2F1837.HPConnectedMusic
#AD2F1837.HPConnectedPhotopoweredbySnapfish
#AD2F1837.HPDesktopSupportUtilities
#AD2F1837.HPEasyClean
#AD2F1837.HPFileViewer
#AD2F1837.HPJumpStarts
#AD2F1837.HPPCHardwareDiagnosticsWindows
#AD2F1837.HPPowerManager
#AD2F1837.HPPrinterControl
#AD2F1837.HPPrivacySettings
#AD2F1837.HPQuickDrop
#AD2F1837.HPQuickTouch
#AD2F1837.HPRegistration
#AD2F1837.HPSupportAssistant
#AD2F1837.HPSureShieldAI
#AD2F1837.HPSystemInformation
#AD2F1837.HPWelcome
#AD2F1837.HPWorkWell
#AD2F1837.myHP

View File

@@ -12,6 +12,7 @@ param (
[switch]$RemoveGamingApps, [switch]$RemoveGamingApps,
[switch]$RemoveCommApps, [switch]$RemoveCommApps,
[switch]$RemoveDevApps, [switch]$RemoveDevApps,
[switch]$RemoveHPApps,
[switch]$RemoveW11Outlook, [switch]$RemoveW11Outlook,
[switch]$ForceRemoveEdge, [switch]$ForceRemoveEdge,
[switch]$DisableDVR, [switch]$DisableDVR,

View File

@@ -31,7 +31,7 @@ The script also includes many features that system administrators will enjoy. Su
#### App Removal #### App Removal
- Remove a wide variety of bloatware apps. - Remove a wide variety of preinstalled apps.
- Remove all pinned apps from start for the current user, or for all existing & new users. (Windows 11 only) - Remove all pinned apps from start for the current user, or for all existing & new users. (Windows 11 only)
#### Telemetry, Tracking & Suggested Content #### Telemetry, Tracking & Suggested Content
@@ -206,7 +206,7 @@ The script allows you to select exactly what changes you want to make, but it al
<details> <details>
<summary>Click to expand</summary> <summary>Click to expand</summary>
<blockquote> <blockquote>
General apps that are not removed by default: General apps that are not removed by default:
- Microsoft.Edge (Edge browser, only removeable in the EEA) - Microsoft.Edge (Edge browser, only removeable in the EEA)
- Microsoft.GetHelp (Required for some Windows 11 Troubleshooters) - Microsoft.GetHelp (Required for some Windows 11 Troubleshooters)
@@ -228,6 +228,28 @@ The script allows you to select exactly what changes you want to make, but it al
- Microsoft.Xbox.TCUI (UI framework, removing this may break MS store, photos and certain games) - Microsoft.Xbox.TCUI (UI framework, removing this may break MS store, photos and certain games)
- Microsoft.ZuneMusic (Modern Media Player) - Microsoft.ZuneMusic (Modern Media Player)
- MicrosoftWindows.CrossDevice (Phone integration within File Explorer, Camera and more) - MicrosoftWindows.CrossDevice (Phone integration within File Explorer, Camera and more)
HP apps that are not removed by default:
- AD2F1837.HPAIExperienceCenter*
- AD2F1837.HPConnectedMusic*
- AD2F1837.HPConnectedPhotopoweredbySnapfish*
- AD2F1837.HPDesktopSupportUtilities*
- AD2F1837.HPEasyClean*
- AD2F1837.HPFileViewer*
- AD2F1837.HPJumpStarts*
- AD2F1837.HPPCHardwareDiagnosticsWindows*
- AD2F1837.HPPowerManager*
- AD2F1837.HPPrinterControl*
- AD2F1837.HPPrivacySettings*
- AD2F1837.HPQuickDrop*
- AD2F1837.HPQuickTouch*
- AD2F1837.HPRegistration*
- AD2F1837.HPSupportAssistant*
- AD2F1837.HPSureShieldAI*
- AD2F1837.HPSystemInformation*
- AD2F1837.HPWelcome*
- AD2F1837.HPWorkWell*
- AD2F1837.myHP*
Gaming related apps that are not removed by default: Gaming related apps that are not removed by default:
- Microsoft.GamingApp* (Modern Xbox Gaming App, required for installing some games) - Microsoft.GamingApp* (Modern Xbox Gaming App, required for installing some games)
@@ -326,6 +348,7 @@ The quick and advanced usage methods support switch parameters. A table of all t
| -RemoveApps | Remove the default selection of bloatware apps. | | -RemoveApps | Remove the default selection of bloatware apps. |
| -RemoveAppsCustom | Remove all apps specified in the 'CustomAppsList' file. IMPORTANT: You can generate your custom list by running the script with the `-RunAppsListGenerator` parameter. No apps will be removed if this file does not exist. | | -RemoveAppsCustom | Remove all apps specified in the 'CustomAppsList' file. IMPORTANT: You can generate your custom list by running the script with the `-RunAppsListGenerator` parameter. No apps will be removed if this file does not exist. |
| -RunAppsListGenerator | Run the apps list generator to generate a custom list of apps to remove, the list is saved to the 'CustomAppsList' file inside the root folder of the script. Running the script with the `-RemoveAppsCustom` parameter will remove the selected apps. | | -RunAppsListGenerator | Run the apps list generator to generate a custom list of apps to remove, the list is saved to the 'CustomAppsList' file inside the root folder of the script. Running the script with the `-RemoveAppsCustom` parameter will remove the selected apps. |
| -RemoveHPApps | Remove preinstalled HP apps. |
| -RemoveCommApps | Remove the Mail, Calendar, and People apps. | | -RemoveCommApps | Remove the Mail, Calendar, and People apps. |
| -RemoveW11Outlook | Remove the new Outlook for Windows app. | | -RemoveW11Outlook | Remove the new Outlook for Windows app. |
| -RemoveDevApps | Remove developer-related apps such as Remote Desktop, DevHome and Power Automate. | | -RemoveDevApps | Remove developer-related apps such as Remote Desktop, DevHome and Power Automate. |

View File

@@ -14,6 +14,7 @@ param (
[switch]$RemoveGamingApps, [switch]$RemoveGamingApps,
[switch]$RemoveCommApps, [switch]$RemoveCommApps,
[switch]$RemoveDevApps, [switch]$RemoveDevApps,
[switch]$RemoveHPApps,
[switch]$RemoveW11Outlook, [switch]$RemoveW11Outlook,
[switch]$ForceRemoveEdge, [switch]$ForceRemoveEdge,
[switch]$DisableDVR, [switch]$DisableDVR,
@@ -1459,6 +1460,12 @@ else {
RemoveApps $appsList RemoveApps $appsList
continue continue
} }
'RemoveHPApps' {
$appsList = 'AD2F1837.HPAIExperienceCenter', 'AD2F1837.HPJumpStarts', 'AD2F1837.HPPCHardwareDiagnosticsWindows', 'AD2F1837.HPPowerManager', 'AD2F1837.HPPrivacySettings', 'AD2F1837.HPSupportAssistant', 'AD2F1837.HPSureShieldAI', 'AD2F1837.HPSystemInformation', 'AD2F1837.HPQuickDrop', 'AD2F1837.HPWorkWell', 'AD2F1837.myHP', 'AD2F1837.HPDesktopSupportUtilities', 'AD2F1837.HPQuickTouch', 'AD2F1837.HPEasyClean', 'AD2F1837.HPConnectedMusic', 'AD2F1837.HPFileViewer', 'AD2F1837.HPRegistration', 'AD2F1837.HPWelcome', 'AD2F1837.HPConnectedPhotopoweredbySnapfish', 'AD2F1837.HPPrinterControl'
Write-Output "> Removing HP apps..."
RemoveApps $appsList
continue
}
"ForceRemoveEdge" { "ForceRemoveEdge" {
ForceRemoveEdge ForceRemoveEdge
continue continue