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

@@ -96,47 +96,39 @@ XING
# ------------------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------------- #
# The apps below this line will NOT be uninstalled by default. Remove the # character in front of any app you # # The apps below this line will NOT be uninstalled by default. Remove the # character in front of any app you #
# want to UNINSTALL by default. # # want to UNINSTALL by default. #
# ------------------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------------- #
#Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search) #Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search)
#Microsoft.Copilot # New Microsoft Copilot app #Microsoft.Copilot # New Microsoft Copilot app
#Microsoft.Edge # Edge browser (Can only be uninstalled in European Economic Area) #Microsoft.Edge # Edge browser (Can only be uninstalled in European Economic Area)
#Microsoft.GamingApp # Modern Xbox Gaming App, required for installing some PC games
#Microsoft.GetHelp # Required for some Windows 11 Troubleshooters #Microsoft.GetHelp # Required for some Windows 11 Troubleshooters
#Microsoft.MSPaint # Paint 3D #Microsoft.MSPaint # Paint 3D
#Microsoft.OneDrive # OneDrive consumer #Microsoft.OneDrive # OneDrive consumer
#Microsoft.OutlookForWindows # New mail app: Outlook for Windows
#Microsoft.Paint # Classic Paint #Microsoft.Paint # Classic Paint
#Microsoft.People # Required for & included with Mail & Calendar
#Microsoft.PowerAutomateDesktop
#Microsoft.RemoteDesktop
#Microsoft.ScreenSketch # Snipping Tool #Microsoft.ScreenSketch # Snipping Tool
#Microsoft.StartExperiencesApp # This app powers Windows Widgets My Feed
#Microsoft.Whiteboard # Only preinstalled on devices with touchscreen and/or pen support #Microsoft.Whiteboard # Only preinstalled on devices with touchscreen and/or pen support
#Microsoft.Windows.DevHome
#Microsoft.Windows.Photos #Microsoft.Windows.Photos
#Microsoft.WindowsCalculator #Microsoft.WindowsCalculator
#Microsoft.WindowsCamera #Microsoft.WindowsCamera
#Microsoft.windowscommunicationsapps # Mail & Calendar
#Microsoft.WindowsNotepad #Microsoft.WindowsNotepad
#Microsoft.WindowsStore # Microsoft Store, WARNING: This app cannot be reinstalled! #Microsoft.WindowsStore # Microsoft Store, WARNING: This app cannot be reinstalled!
#Microsoft.WindowsTerminal # New default terminal app in windows 11 #Microsoft.WindowsTerminal # New default terminal app in windows 11
#Microsoft.Xbox.TCUI # UI framework, seems to be required for MS store, photos and certain games #Microsoft.Xbox.TCUI # UI framework, seems to be required for MS store, photos and certain games
#Microsoft.XboxGameOverlay # Game overlay, required/useful for some games
#Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games
#Microsoft.XboxIdentityProvider # Xbox sign-in framework, required for some games #Microsoft.XboxIdentityProvider # Xbox sign-in framework, required for some games
#Microsoft.XboxSpeechToTextOverlay # Might be required for some games, WARNING: This app cannot be reinstalled! #Microsoft.XboxSpeechToTextOverlay # Might be required for some games, WARNING: This app cannot be reinstalled!
#Microsoft.YourPhone # Phone link #Microsoft.YourPhone # Phone link
#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
# --------------------------------------------------------------------------------------------------------------- #
# The apps below this line will NOT be uninstalled by default, unless selected during custom mode app selection #
# or when launching the script with the specific parameters found in the README.md. Remove the # character in #
# front of any app you want to UNINSTALL by default. #
# --------------------------------------------------------------------------------------------------------------- #
#Microsoft.GamingApp # Modern Xbox Gaming App, required for installing some PC games
#Microsoft.OutlookForWindows # New mail app: Outlook for Windows
#Microsoft.People # Required for & included with Mail & Calendar
#Microsoft.PowerAutomateDesktop
#Microsoft.RemoteDesktop
#Microsoft.Windows.DevHome
#Microsoft.windowscommunicationsapps # Mail & Calendar
#Microsoft.XboxGameOverlay # Game overlay, required/useful for some games
#Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games
#AD2F1837.HPAIExperienceCenter #AD2F1837.HPAIExperienceCenter
#AD2F1837.HPConnectedMusic #AD2F1837.HPConnectedMusic
#AD2F1837.HPConnectedPhotopoweredbySnapfish #AD2F1837.HPConnectedPhotopoweredbySnapfish

View File

@@ -1620,6 +1620,10 @@ switch ($script:Params.Keys) {
} }
{$_ -in "HideWidgets", "DisableWidgets"} { {$_ -in "HideWidgets", "DisableWidgets"} {
RegImport "> Disabling the widget service and hiding the widget icon from the taskbar..." "Disable_Widgets_Taskbar.reg" 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 continue
} }
{$_ -in "HideChat", "DisableChat"} { {$_ -in "HideChat", "DisableChat"} {