Added support for removing StartExperiencesApp as part of disabling widgets

This commit is contained in:
Raphire
2025-05-21 12:04:58 +02:00
parent 6c4b791d79
commit c324483c7b
2 changed files with 15 additions and 19 deletions

View File

@@ -1620,6 +1620,10 @@ switch ($script:Params.Keys) {
}
{$_ -in "HideWidgets", "DisableWidgets"} {
RegImport "> Disabling the widget service and hiding the widget icon from the taskbar..." "Disable_Widgets_Taskbar.reg"
# Also remove the app package for Widgets
$appsList = 'Microsoft.StartExperiencesApp'
RemoveApps $appsList
continue
}
{$_ -in "HideChat", "DisableChat"} {