diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 070c47b..dbe7155 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -159,10 +159,26 @@ To add a new app that can be removed via Win11Debloat: "FriendlyName": "Display Name", "AppId": "AppPackageIdentifier", "Description": "Brief description of the app", - "SelectedByDefault": true|false + "SelectedByDefault": false, + "Recommendation": "optional", + "RemovalMethod": "Appx" } ``` + **Field Descriptions**: + + - `FriendlyName`: Display name shown in the GUI. + - `AppId`: The `AppPackageIdentifier` from `Get-AppxPackage` or the `Id` from `winget list`, depending on removal method. + - `Description`: Brief description of the app shown in the GUI. + - `SelectedByDefault`: Set to `true` only for apps that are largely considered bloatware, otherwise set to `false`. + - `Recommendation`: Indicates how strongly the app is recommended for removal. One of: + - `safe` — safe to remove for most users + - `optional` — can be safely removed if the user doesn't need the app + - `unsafe` — should only remove if the user knows what they are doing + - `RemovalMethod`: The method used to remove the app. One of: + - `Appx` — remove as a standard Appx package via `Remove-AppxPackage` (most apps) + - `WinGet` — remove via WinGet (`winget uninstall`). Use for non-Appx apps such as Microsoft Copilot. + 3. **Follow the Guidelines**: - Use clear, user-friendly names for `FriendlyName` diff --git a/Config/Apps.json b/Config/Apps.json index f459bec..84c9010 100644 --- a/Config/Apps.json +++ b/Config/Apps.json @@ -921,6 +921,14 @@ "Recommendation": "optional", "RemovalMethod": "Appx" }, + { + "FriendlyName": "LG Monitor App", + "AppId": "LGElectronics.LGMonitorApp", + "Description": "LG OEM software for controlling your LG monitor, Windows Update may silently reinstall this app if you have an LG monitor connected", + "SelectedByDefault": false, + "Recommendation": "optional", + "RemovalMethod": "Appx" + }, { "FriendlyName": "HP AI Experience Center", "AppId": "AD2F1837.HPAIExperienceCenter", @@ -1132,7 +1140,7 @@ ] }, { - "Name": "OEM software (Dell, HP, Lenovo)", + "Name": "OEM software (Dell, HP, Lenovo, LG)", "AppIds": [ "AD2F1837.HPAIExperienceCenter", "AD2F1837.HPConnectedMusic", @@ -1156,6 +1164,7 @@ "AD2F1837.myHP", "E046963F.LenovoCompanion", "LenovoCompanyLimited.LenovoVantageService", + "LGElectronics.LGMonitorApp", "DellInc.DellSupportAssistforPCs", "DellInc.DellDigitalDelivery", "DellInc.DellMobileConnect" diff --git a/Config/Features.json b/Config/Features.json index b3ad689..243f5f7 100644 --- a/Config/Features.json +++ b/Config/Features.json @@ -1369,6 +1369,19 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "DisableDeviceAutoAppDownload", + "Label": "Prevent Windows from auto-downloading device companion apps", + "ToolTip": "Stops Windows from silently downloading device companion apps via Windows Update when you connect certain devices, like monitors from LG and Alienware. These devices will still work as expected, this only stops Windows Update from automatically installing additional apps without consent.", + "Category": "Windows Update", + "RegistryKey": "Disable_Device_Auto_App_Download.reg", + "ApplyText": "Preventing automatic download of device companion apps", + "UndoLabel": "Allow automatic download of device companion apps", + "ApplyUndoText": "Allowing automatic download of device companion apps", + "RegistryUndoKey": "Enable_Device_Auto_App_Download.reg", + "MinVersion": null, + "MaxVersion": null + }, { "FeatureId": "ForceRemoveEdge", "Label": "Forcefully uninstall Microsoft Edge. NOT RECOMMENDED!", diff --git a/Regfiles/Disable_Device_Auto_App_Download.reg b/Regfiles/Disable_Device_Auto_App_Download.reg new file mode 100644 index 0000000..9e58b59 Binary files /dev/null and b/Regfiles/Disable_Device_Auto_App_Download.reg differ diff --git a/Regfiles/Sysprep/Disable_Device_Auto_App_Download.reg b/Regfiles/Sysprep/Disable_Device_Auto_App_Download.reg new file mode 100644 index 0000000..9e58b59 Binary files /dev/null and b/Regfiles/Sysprep/Disable_Device_Auto_App_Download.reg differ diff --git a/Regfiles/Undo/Enable_Device_Auto_App_Download.reg b/Regfiles/Undo/Enable_Device_Auto_App_Download.reg new file mode 100644 index 0000000..46b1ac6 Binary files /dev/null and b/Regfiles/Undo/Enable_Device_Auto_App_Download.reg differ diff --git a/Scripts/Get.ps1 b/Scripts/Get.ps1 index 4114e79..0688dd3 100644 --- a/Scripts/Get.ps1 +++ b/Scripts/Get.ps1 @@ -33,6 +33,7 @@ param ( [switch]$DisableUpdateASAP, [switch]$PreventUpdateAutoReboot, [switch]$DisableDeliveryOptimization, + [switch]$DisableDeviceAutoAppDownload, [switch]$DisableBing, [switch]$DisableStoreSearchSuggestions, [switch]$DisableDesktopSpotlight, diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index fe046f4..aece5e4 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -30,6 +30,7 @@ param ( [switch]$DisableUpdateASAP, [switch]$PreventUpdateAutoReboot, [switch]$DisableDeliveryOptimization, + [switch]$DisableDeviceAutoAppDownload, [switch]$DisableBing, [switch]$DisableNotifications, [switch]$DisableStoreSearchSuggestions,