mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Compare commits
23 Commits
2025.09.13
...
791232e097
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
791232e097 | ||
|
|
75ef30e6fb | ||
|
|
c1a48120d3 | ||
|
|
dc30664001 | ||
|
|
5ae374dff3 | ||
|
|
6c97bbead0 | ||
|
|
f46618dfe2 | ||
|
|
cf1a58b0d0 | ||
|
|
86a2555454 | ||
|
|
070e692b90 | ||
|
|
44aa34ab9f | ||
|
|
60a1b3eb6b | ||
|
|
3f8caf86ee | ||
|
|
f1595cd91e | ||
|
|
c52338648d | ||
|
|
d8e86a43f5 | ||
|
|
cf982af87c | ||
|
|
a368b4a8ba | ||
|
|
7c9e25d891 | ||
|
|
58d47c77cc | ||
|
|
7004fa3b31 | ||
|
|
899edfc9c6 | ||
|
|
f9f7ba828c |
@@ -21,7 +21,7 @@ Microsoft.MicrosoftJournal # Digital note-taking app optimiz
|
||||
Microsoft.MicrosoftOfficeHub # Hub to access Microsoft Office apps and documents (Precursor to Microsoft 365 app)
|
||||
Microsoft.MicrosoftPowerBIForWindows # Business analytics service client
|
||||
Microsoft.MicrosoftSolitaireCollection # Collection of solitaire card games
|
||||
Microsoft.MicrosoftStickyNotes # Digital sticky notes app
|
||||
Microsoft.MicrosoftStickyNotes # Digital sticky notes app (Deprecated & replaced by OneNote)
|
||||
Microsoft.MixedReality.Portal # Portal for Windows Mixed Reality headsets
|
||||
Microsoft.NetworkSpeedTest # Internet connection speed test utility
|
||||
Microsoft.News # News aggregator (Replaced Bing News, now part of Microsoft Start)
|
||||
@@ -29,8 +29,10 @@ Microsoft.Office.OneNote # Digital note-taking app (Univer
|
||||
Microsoft.Office.Sway # Presentation and storytelling app
|
||||
Microsoft.OneConnect # Mobile Operator management app (Replaced by Mobile Plans)
|
||||
Microsoft.Print3D # 3D printing preparation software
|
||||
Microsoft.PowerAutomateDesktop # Desktop automation tool (RPA)
|
||||
Microsoft.SkypeApp # Skype communication app (Universal Windows Platform version)
|
||||
Microsoft.Todos # To-do list and task management app
|
||||
Microsoft.Windows.DevHome # Developer dashboard and tool configuration utility, no longer supported
|
||||
Microsoft.WindowsAlarms # Alarms & Clock app
|
||||
Microsoft.WindowsFeedbackHub # App for providing feedback to Microsoft on Windows
|
||||
Microsoft.WindowsMaps # Mapping and navigation app
|
||||
@@ -108,12 +110,10 @@ XING # Professional networking platfor
|
||||
#Microsoft.OutlookForWindows # New mail app: Outlook for Windows
|
||||
#Microsoft.Paint # Classic Paint (Traditional 2D paint application)
|
||||
#Microsoft.People # Required for & included with Mail & Calendar (Contacts management)
|
||||
#Microsoft.PowerAutomateDesktop # Desktop automation tool (RPA)
|
||||
#Microsoft.RemoteDesktop # Remote Desktop client app
|
||||
#Microsoft.ScreenSketch # Snipping Tool (Screenshot and annotation tool)
|
||||
#Microsoft.StartExperiencesApp # This app powers Windows Widgets My Feed
|
||||
#Microsoft.Whiteboard # Digital collaborative whiteboard app
|
||||
#Microsoft.Windows.DevHome # Developer dashboard and tool configuration utility
|
||||
#Microsoft.Windows.Photos # Default photo viewing and basic editing app
|
||||
#Microsoft.WindowsCalculator # Calculator app
|
||||
#Microsoft.WindowsCamera # Camera app for using built-in or connected cameras
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
- Disable telemetry, diagnostic data, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper)
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable Fast Start-up to ensure a full shutdown.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||
- Show file extensions for known file types.
|
||||
- Hide the 3D objects folder in Windows Explorer. (W10 only)
|
||||
- Disable widgets on the taskbar & lockscreen.
|
||||
- Hide the Chat (meet now) icon from the taskbar.
|
||||
- Disable & remove Microsoft Copilot
|
||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge
|
||||
- Disable tips & tricks on the lockscreen (This may change your lockscreen wallpaper)
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search
|
||||
- Show file extensions for known file types
|
||||
- Disable widgets on the taskbar & lockscreen
|
||||
- Disable Fast Start-up
|
||||
|
||||
|
||||
|
||||
28
Assets/Menus/Info
Normal file → Executable file
28
Assets/Menus/Info
Normal file → Executable file
@@ -6,7 +6,7 @@ disable telemetry, remove intrusive interface elements and much more.
|
||||
All Features
|
||||
-------------------------------------------------------------------------------------------
|
||||
App Removal
|
||||
- Remove a wide variety of bloatware apps.
|
||||
- Remove a wide variety of preinstalled apps.
|
||||
- Remove or replace all pinned apps from start for the current user, or for all existing & new users. (W11 only)
|
||||
|
||||
Telemetry, Tracking & Suggested Content
|
||||
@@ -18,9 +18,11 @@ Telemetry, Tracking & Suggested Content
|
||||
Bing Web Search, Copilot & AI Features
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable AI Features in Paint (W11 only)
|
||||
- Disable AI Features in Notepad (W11 only)
|
||||
- Disable Windows Recall. (W11 only)
|
||||
- Disable Click to Do, AI text & image analysis tool. (W11 only)
|
||||
- Disable AI Features in Edge. (W11 only)
|
||||
- Disable AI Features in Paint. (W11 only)
|
||||
- Disable AI Features in Notepad. (W11 only)
|
||||
|
||||
Personalisation
|
||||
- Enable dark mode for system and apps.
|
||||
@@ -32,18 +34,20 @@ Personalisation
|
||||
|
||||
File Explorer
|
||||
- Change the default location that File Explorer opens to.
|
||||
- Show hidden files, folders & drives.
|
||||
- Show hidden files, folders and drives.
|
||||
- Show file extensions for known file types.
|
||||
- Hide the Home or Gallery section from the File Explorer navigation pane. (W11 only)
|
||||
- Hide the 3D objects, music or OneDrive folder from the File Explorer sidepanel. (W10 only)
|
||||
- Hide duplicate removable drive entries from the File Explorer sidepanel.
|
||||
- Hide the 3D objects, music or OneDrive folder from the File Explorer navigation pane. (W10 only)
|
||||
- Hide duplicate removable drive entries from the File Explorer navigation pane.
|
||||
|
||||
Taskbar
|
||||
- Align taskbar icons to the left. (W11 only)
|
||||
- Choose combine mode for taskbar buttons and labels. (W11 only)
|
||||
- Choose how app icons are shown on the taskbar when using multiple monitors. (W11 only)
|
||||
- Hide or change the search icon/box on the taskbar. (W11 only)
|
||||
- Hide the taskview button from the taskbar. (W11 only)
|
||||
- Disable widgets on the taskbar & lockscreen.
|
||||
- Hide the chat (meet now) icon from the taskbar.
|
||||
- Hide the chat (meet now) icon from the taskbar. (W10 only)
|
||||
- Enable the 'End Task' option in the taskbar right click menu. (W11 only)
|
||||
- Enable the 'Last Active Click' behavior in the taskbar app area.
|
||||
|
||||
@@ -64,17 +68,17 @@ Other
|
||||
The default mode applies the changes that are recommended for most users. This includes:
|
||||
- Remove the default selection or your custom selection of apps.
|
||||
- Disable telemetry, diagnostic data, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more.
|
||||
- Disable tips, tricks, suggestions & ads across Windows.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper)
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable Windows Recall. (W11 only)
|
||||
- Disable Click to Do, AI text & image analysis tool. (W11 only)
|
||||
- Disable Fast Start-up to ensure a full shutdown.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||
- Show file extensions for known file types.
|
||||
- Hide the 3D objects folder in Windows Explorer. (W10 only)
|
||||
- Disable widgets on the taskbar & lockscreen.
|
||||
- Hide the Chat (meet now) icon from the taskbar.
|
||||
- Hide the Chat (meet now) icon from the taskbar. (W10 only)
|
||||
|
||||
|
||||
|
||||
8
Get.ps1
8
Get.ps1
@@ -13,7 +13,6 @@ param (
|
||||
[switch]$RemoveAppsCustom,
|
||||
[switch]$RemoveGamingApps,
|
||||
[switch]$RemoveCommApps,
|
||||
[switch]$RemoveDevApps,
|
||||
[switch]$RemoveHPApps,
|
||||
[switch]$RemoveW11Outlook,
|
||||
[switch]$ForceRemoveEdge,
|
||||
@@ -35,12 +34,16 @@ param (
|
||||
[switch]$DisableTransparency,
|
||||
[switch]$DisableAnimations,
|
||||
[switch]$TaskbarAlignLeft,
|
||||
[switch]$CombineTaskbarAlways, [switch]$CombineTaskbarWhenFull, [switch]$CombineTaskbarNever,
|
||||
[switch]$CombineMMTaskbarAlways, [switch]$CombineMMTaskbarWhenFull, [switch]$CombineMMTaskbarNever,
|
||||
[switch]$MMTaskbarModeAll, [switch]$MMTaskbarModeMainActive, [switch]$MMTaskbarModeActive,
|
||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||
[switch]$HideTaskview,
|
||||
[switch]$DisableStartRecommended,
|
||||
[switch]$DisableStartPhoneLink,
|
||||
[switch]$DisableCopilot,
|
||||
[switch]$DisableRecall,
|
||||
[switch]$DisableClickToDo,
|
||||
[switch]$DisablePaintAI,
|
||||
[switch]$DisableNotepadAI,
|
||||
[switch]$DisableEdgeAI,
|
||||
@@ -61,6 +64,7 @@ param (
|
||||
[switch]$ExplorerToThisPC,
|
||||
[switch]$ExplorerToDownloads,
|
||||
[switch]$ExplorerToOneDrive,
|
||||
[switch]$NoRestartExplorer,
|
||||
[switch]$DisableOnedrive, [switch]$HideOnedrive,
|
||||
[switch]$Disable3dObjects, [switch]$Hide3dObjects,
|
||||
[switch]$DisableMusic, [switch]$HideMusic,
|
||||
@@ -86,7 +90,7 @@ Write-Output "------------------------------------------------------------------
|
||||
Write-Output "> Downloading Win11Debloat..."
|
||||
|
||||
# Download latest version of Win11Debloat from github as zip archive
|
||||
Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.09.13 -OutFile "$env:TEMP/win11debloat.zip"
|
||||
Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.10.06 -OutFile "$env:TEMP/win11debloat.zip"
|
||||
|
||||
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
|
||||
if (Test-Path "$env:TEMP/Win11Debloat") {
|
||||
|
||||
187
README.md
Normal file → Executable file
187
README.md
Normal file → Executable file
@@ -101,18 +101,19 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
#### Telemetry, Tracking & Suggested Content
|
||||
|
||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen.
|
||||
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||
- Disable tips, tricks, suggestions & ads across Windows.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable the 'Windows Spotlight' desktop background option.
|
||||
|
||||
#### Bing Web Search, Copilot & AI Features
|
||||
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable AI Features in Edge (W11 only)
|
||||
- Disable AI Features in Paint (W11 only)
|
||||
- Disable AI Features in Notepad (W11 only)
|
||||
- Disable Windows Recall. (W11 only)
|
||||
- Disable Click to Do, AI text & image analysis tool. (W11 only)
|
||||
- Disable AI Features in Edge. (W11 only)
|
||||
- Disable AI Features in Paint. (W11 only)
|
||||
- Disable AI Features in Notepad. (W11 only)
|
||||
|
||||
#### Personalisation
|
||||
|
||||
@@ -135,10 +136,12 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
#### Taskbar
|
||||
|
||||
- Align taskbar icons to the left. (W11 only)
|
||||
- Choose combine mode for taskbar buttons and labels. (W11 only)
|
||||
- Choose how app icons are shown on the taskbar when using multiple monitors. (W11 only)
|
||||
- Hide or change the search icon/box on the taskbar. (W11 only)
|
||||
- Hide the taskview button from the taskbar. (W11 only)
|
||||
- Disable widgets on the taskbar & lockscreen.
|
||||
- Hide the chat (meet now) icon from the taskbar.
|
||||
- Hide the chat (meet now) icon from the taskbar. (W10 only)
|
||||
- Enable the 'End Task' option in the taskbar right click menu. (W11 only)
|
||||
- Enable the 'Last Active Click' behavior in the taskbar app area. This allows you to repeatedly click on an application's icon in the taskbar to switch focus between the open windows of that application.
|
||||
|
||||
@@ -159,9 +162,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
|
||||
Win11Debloat's default mode allows you to quickly and easily apply the changes that are recommended for most people. This includes removing many annoying distractions, disabling telemetry and tracking and optionally uninstalling the default or your custom selection of apps. To apply the default settings, launch the script as you normally would and select option `1` in the script menu.
|
||||
|
||||
Alternatively, you can launch the script with the `-RunDefaults` or `-RunDefaultsLite` parameters to immediately run the defaults without going through the menu or the app removal options. Using the `-RunDefaults` parameter will run the script in default mode and remove the default selection of apps. While using the `-RunDefaultsLite` parameter will run the script in default mode without removing any apps.
|
||||
|
||||
Example:
|
||||
Alternatively, you can launch the script with the `-RunDefaults` or `-RunDefaultsLite` parameters to immediately run the defaults without going through the menu or the app removal options. Using the `-RunDefaults` parameter will run the script in default mode and remove the default selection of apps. While using the `-RunDefaultsLite` parameter will run the script in default mode without removing any apps. Example:
|
||||
```Powershell
|
||||
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults
|
||||
```
|
||||
@@ -169,70 +170,71 @@ Example:
|
||||
#### Changes included in the default mode
|
||||
- Remove the default or your custom selection of apps. (See below for the default selection of apps)
|
||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen.
|
||||
- Disable tips, tricks, suggestions & ads across Windows.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable Windows Recall. (W11 only)
|
||||
- Disable Click to Do, AI text & image analysis tool. (W11 only)
|
||||
- Disable Fast Start-up to ensure a full shutdown.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||
- Show file extensions for known file types.
|
||||
- Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only)
|
||||
- Disable widgets on the taskbar & lockscreen.
|
||||
- Hide the Chat (meet now) icon from the taskbar.
|
||||
- Hide the Chat (meet now) icon from the taskbar. (W10 only)
|
||||
|
||||
#### Apps that ARE removed as part of the default mode
|
||||
#### Apps that ARE removed by default
|
||||
|
||||
These apps are uninstalled when you opt to remove the default selection of apps. This includes apps from both Microsoft and third parties.
|
||||
These apps are uninstalled when you opt to remove the default selection of apps.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
<blockquote>
|
||||
|
||||
Microsoft bloat:
|
||||
- Clipchamp.Clipchamp
|
||||
- Microsoft.3DBuilder
|
||||
- Microsoft.549981C3F5F10 (Cortana app)
|
||||
- Microsoft.BingFinance
|
||||
- Microsoft.BingFoodAndDrink
|
||||
- Microsoft.BingHealthAndFitness
|
||||
- Microsoft.BingNews
|
||||
- Microsoft.BingSearch* (Bing web search in Windows)
|
||||
- Microsoft.BingSports
|
||||
- Microsoft.BingTranslator
|
||||
- Microsoft.BingTravel
|
||||
- Microsoft.BingWeather
|
||||
- Microsoft.Copilot
|
||||
- Microsoft.Getstarted (Cannot be uninstalled in Windows 11)
|
||||
- Microsoft.Messaging
|
||||
- Microsoft.Microsoft3DViewer
|
||||
- Microsoft.MicrosoftJournal
|
||||
- Microsoft.MicrosoftOfficeHub
|
||||
- Microsoft.MicrosoftPowerBIForWindows
|
||||
- Microsoft.MicrosoftSolitaireCollection
|
||||
- Microsoft.MicrosoftStickyNotes
|
||||
- Microsoft.MixedReality.Portal
|
||||
- Microsoft.NetworkSpeedTest
|
||||
- Microsoft.News
|
||||
- Microsoft.Office.OneNote (Discontinued UWP version only, does not remove new MS365 versions)
|
||||
- Microsoft.Office.Sway
|
||||
- Microsoft.OneConnect
|
||||
- Microsoft.Print3D
|
||||
- Microsoft.StartExperiencesApp** (Widgets app)
|
||||
- Microsoft.SkypeApp
|
||||
- Microsoft.Todos
|
||||
- Microsoft.WindowsAlarms
|
||||
- Microsoft.WindowsFeedbackHub
|
||||
- Microsoft.WindowsMaps
|
||||
- Microsoft.WindowsSoundRecorder
|
||||
Microsoft apps:
|
||||
- Clipchamp.Clipchamp (Video editor from Microsoft)
|
||||
- Microsoft.3DBuilder (Basic 3D modeling software)
|
||||
- Microsoft.549981C3F5F10 (Cortana app, discontinued)
|
||||
- Microsoft.BingFinance (Finance news and tracking via Bing, discontinued)
|
||||
- Microsoft.BingFoodAndDrink (Recipes and food news via Bing, discontinued)
|
||||
- Microsoft.BingHealthAndFitness (Health and fitness tracking/news via Bing, discontinued)
|
||||
- Microsoft.BingNews (News aggregator via Bing, replaced by Microsoft News/Start)
|
||||
- Microsoft.BingSports (Sports news and scores via Bing, discontinued)
|
||||
- Microsoft.BingTranslator (Translation service via Bing)
|
||||
- Microsoft.BingTravel (Travel planning and news via Bing, discontinued)
|
||||
- Microsoft.BingWeather (Weather forecast via Bing)
|
||||
- Microsoft.Copilot (AI assistant integrated into Windows)
|
||||
- Microsoft.Getstarted (Tips and introductory guide for Windows, cannot be uninstalled in Windows 11)
|
||||
- Microsoft.Messaging (Messaging app, often integrates with Skype, largely deprecated)
|
||||
- Microsoft.Microsoft3DViewer (Viewer for 3D models)
|
||||
- Microsoft.MicrosoftJournal (Digital note-taking app optimized for pen input)
|
||||
- Microsoft.MicrosoftOfficeHub (Hub to access Microsoft Office apps and documents, precursor to Microsoft 365 app)
|
||||
- Microsoft.MicrosoftPowerBIForWindows (Business analytics service client)
|
||||
- Microsoft.MicrosoftSolitaireCollection (Collection of solitaire card games)
|
||||
- Microsoft.MicrosoftStickyNotes (Digital sticky notes app, deprecated & replaced by OneNote)
|
||||
- Microsoft.MixedReality.Portal (Portal for Windows Mixed Reality headsets)
|
||||
- Microsoft.NetworkSpeedTest (Internet connection speed test utility)
|
||||
- Microsoft.News (News aggregator. Replaced Bing News and now part of Microsoft Start)
|
||||
- Microsoft.Office.OneNote (Digital note-taking app, Universal Windows Platform version)
|
||||
- Microsoft.Office.Sway (Presentation and storytelling app)
|
||||
- Microsoft.OneConnect (Mobile Operator management app, replaced by Mobile Plans)
|
||||
- Microsoft.PowerAutomateDesktop (Desktop automation tool)
|
||||
- Microsoft.Print3D (3D printing preparation software)
|
||||
- Microsoft.SkypeApp (Skype communication app, Universal Windows Platform version)
|
||||
- Microsoft.Todos (To-do list and task management app)
|
||||
- Microsoft.Windows.DevHome (Developer dashboard and tool configuration utility, no longer supported)
|
||||
- Microsoft.WindowsAlarms (Alarms & Clock app)
|
||||
- Microsoft.WindowsFeedbackHub (App for providing feedback to Microsoft on Windows)
|
||||
- Microsoft.WindowsMaps (Mapping and navigation app)
|
||||
- Microsoft.WindowsSoundRecorder (Basic audio recording app)
|
||||
- Microsoft.XboxApp (Old Xbox Console Companion App, no longer supported)
|
||||
- Microsoft.ZuneVideo
|
||||
- MicrosoftCorporationII.MicrosoftFamily (Microsoft Family Safety)
|
||||
- Microsoft.ZuneVideo (Movies & TV app for renting/buying/playing video content. Rebranded as "Films & TV")
|
||||
- MicrosoftCorporationII.MicrosoftFamily (Family Safety App for managing family accounts and settings)
|
||||
- MicrosoftCorporationII.QuickAssist (Remote assistance tool)
|
||||
- MicrosoftTeams (Old personal version of MS Teams from the MS Store)
|
||||
- MSTeams (New MS Teams app)
|
||||
- MicrosoftTeams (Old MS Teams personal, MS Store version)
|
||||
- MSTeams (New MS Teams app. Work/School or Personal)
|
||||
|
||||
Third party bloat:
|
||||
Third party apps:
|
||||
- ACGMediaPlayer
|
||||
- ActiproSoftwareLLC
|
||||
- AdobeSystemsIncorporated.AdobePhotoshopExpress
|
||||
@@ -281,35 +283,33 @@ These apps are uninstalled when you opt to remove the default selection of apps.
|
||||
- WinZipUniversal
|
||||
- Wunderlist
|
||||
- XING
|
||||
|
||||
* Removed when disabling Bing web search, Bing AI and Cortana from Windows search
|
||||
** Removed when disabling widgets on the taskbar & lockscreen
|
||||
</blockquote>
|
||||
</details>
|
||||
|
||||
#### Apps that are NOT removed as part of the default mode
|
||||
#### Apps that are NOT removed by default
|
||||
|
||||
These apps are not removed by default. They will only be removed if you manually select them.
|
||||
These apps will not be removed by Win11Debloat unless explicitly selected by the user.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
<blockquote>
|
||||
|
||||
General apps that are not removed by default:
|
||||
Miscellaneous apps:
|
||||
- Microsoft.Edge (Edge browser, only removeable in the EEA)
|
||||
- Microsoft.GetHelp (Required for some Windows 11 Troubleshooters)
|
||||
- Microsoft.MSPaint (Paint 3D)
|
||||
- Microsoft.OutlookForWindows* (New mail app)
|
||||
- Microsoft.OutlookForWindows (New mail app)
|
||||
- Microsoft.OneDrive (OneDrive consumer)
|
||||
- Microsoft.Paint (Classic Paint)
|
||||
- Microsoft.People* (Required for & included with Mail & Calendar)
|
||||
- Microsoft.People (Required for & included with Mail & Calendar)
|
||||
- Microsoft.RemoteDesktop
|
||||
- Microsoft.ScreenSketch (Snipping Tool)
|
||||
- Microsoft.Whiteboard (Only preinstalled on devices with touchscreen and/or pen support)
|
||||
- Microsoft.Windows.Photos
|
||||
- Microsoft.WindowsCalculator
|
||||
- Microsoft.WindowsCamera
|
||||
- Microsoft.WindowsNotepad
|
||||
- Microsoft.windowscommunicationsapps* (Mail & Calendar)
|
||||
- Microsoft.windowscommunicationsapps (Mail & Calendar)
|
||||
- Microsoft.WindowsStore (Microsoft Store, NOTE: This app cannot be reinstalled!)
|
||||
- Microsoft.WindowsTerminal (New default terminal app in Windows 11)
|
||||
- Microsoft.YourPhone (Phone Link)
|
||||
@@ -317,41 +317,34 @@ These apps are uninstalled when you opt to remove the default selection of apps.
|
||||
- Microsoft.ZuneMusic (Modern Media Player)
|
||||
- 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:
|
||||
- Microsoft.GamingApp* (Modern Xbox Gaming App, required for installing some games)
|
||||
- Microsoft.XboxGameOverlay* (Game overlay, required for some games)
|
||||
- Microsoft.XboxGamingOverlay* (Game overlay, required for some games)
|
||||
Gaming related apps:
|
||||
- Microsoft.GamingApp (Modern Xbox Gaming App, required for installing some games)
|
||||
- Microsoft.XboxGameOverlay (Game overlay, required for some games)
|
||||
- Microsoft.XboxGamingOverlay (Game overlay, required for some games)
|
||||
- Microsoft.XboxIdentityProvider (Xbox sign-in framework, required for some games)
|
||||
- Microsoft.XboxSpeechToTextOverlay (Might be required for some games, NOTE: This app cannot be reinstalled!)
|
||||
|
||||
Developer related apps that are not removed by default:
|
||||
- Microsoft.PowerAutomateDesktop*
|
||||
- Microsoft.RemoteDesktop*
|
||||
- Windows.DevHome*
|
||||
|
||||
* Can be removed by running the script with the relevant parameter. (Please refer to the wiki for more details)
|
||||
HP apps:
|
||||
- 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
|
||||
</blockquote>
|
||||
</details>
|
||||
|
||||
|
||||
BIN
Regfiles/Combine_MMTaskbar_Always.reg
Executable file
BIN
Regfiles/Combine_MMTaskbar_Always.reg
Executable file
Binary file not shown.
BIN
Regfiles/Combine_MMTaskbar_Never.reg
Executable file
BIN
Regfiles/Combine_MMTaskbar_Never.reg
Executable file
Binary file not shown.
BIN
Regfiles/Combine_MMTaskbar_When_Full.reg
Executable file
BIN
Regfiles/Combine_MMTaskbar_When_Full.reg
Executable file
Binary file not shown.
BIN
Regfiles/Combine_Taskbar_Always.reg
Normal file
BIN
Regfiles/Combine_Taskbar_Always.reg
Normal file
Binary file not shown.
BIN
Regfiles/Combine_Taskbar_Never.reg
Normal file
BIN
Regfiles/Combine_Taskbar_Never.reg
Normal file
Binary file not shown.
BIN
Regfiles/Combine_Taskbar_When_Full.reg
Normal file
BIN
Regfiles/Combine_Taskbar_When_Full.reg
Normal file
Binary file not shown.
7
Regfiles/Disable_Click_to_Do.reg
Normal file
7
Regfiles/Disable_Click_to_Do.reg
Normal file
@@ -0,0 +1,7 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsAI]
|
||||
"DisableClickToDo"=dword:00000001
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
|
||||
"DisableClickToDo"=dword:00000001
|
||||
BIN
Regfiles/MMTaskbarMode_Active.reg
Executable file
BIN
Regfiles/MMTaskbarMode_Active.reg
Executable file
Binary file not shown.
BIN
Regfiles/MMTaskbarMode_All.reg
Executable file
BIN
Regfiles/MMTaskbarMode_All.reg
Executable file
Binary file not shown.
BIN
Regfiles/MMTaskbarMode_Main_Active.reg
Executable file
BIN
Regfiles/MMTaskbarMode_Main_Active.reg
Executable file
Binary file not shown.
BIN
Regfiles/Sysprep/Combine_Taskbar_Always.reg
Normal file
BIN
Regfiles/Sysprep/Combine_Taskbar_Always.reg
Normal file
Binary file not shown.
BIN
Regfiles/Sysprep/Combine_Taskbar_Never.reg
Normal file
BIN
Regfiles/Sysprep/Combine_Taskbar_Never.reg
Normal file
Binary file not shown.
BIN
Regfiles/Sysprep/Combine_Taskbar_When_Full.reg
Normal file
BIN
Regfiles/Sysprep/Combine_Taskbar_When_Full.reg
Normal file
Binary file not shown.
7
Regfiles/Sysprep/Disable_Click_to_Do.reg
Normal file
7
Regfiles/Sysprep/Disable_Click_to_Do.reg
Normal file
@@ -0,0 +1,7 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[hkey_users\default\Software\Policies\Microsoft\Windows\WindowsAI]
|
||||
"DisableClickToDo"=dword:00000001
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
|
||||
"DisableClickToDo"=dword:00000001
|
||||
7
Regfiles/Undo/Enable_Click_to_Do.reg
Normal file
7
Regfiles/Undo/Enable_Click_to_Do.reg
Normal file
@@ -0,0 +1,7 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsAI]
|
||||
"DisableClickToDo"=-
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
|
||||
"DisableClickToDo"=-
|
||||
6
Run.bat
6
Run.bat
@@ -5,10 +5,10 @@ set "wtScoopPath=%USERPROFILE%\scoop\apps\windows-terminal\current\wt.exe"
|
||||
|
||||
:: Launch the script in Windows Terminal if installed, otherwise use default PowerShell.
|
||||
if exist "%wtDefaultPath%" (
|
||||
PowerShell -Command "Start-Process -FilePath '%wtDefaultPath%' -ArgumentList 'PowerShell -NoProfile -ExecutionPolicy Bypass -File \"\"%~dp0Win11Debloat.ps1\"\"' -Verb RunAs"
|
||||
PowerShell -Command "Start-Process -FilePath '%wtDefaultPath%' -ArgumentList 'PowerShell -NoProfile -ExecutionPolicy Bypass -File ""%~dp0Win11Debloat.ps1""' -Verb RunAs"
|
||||
) else if exist "%wtScoopPath%" (
|
||||
PowerShell -Command "Start-Process -FilePath '%wtScoopPath%' -ArgumentList 'PowerShell -NoProfile -ExecutionPolicy Bypass -File \"\"%~dp0Win11Debloat.ps1\"\"' -Verb RunAs"
|
||||
PowerShell -Command "Start-Process -FilePath '%wtScoopPath%' -ArgumentList 'PowerShell -NoProfile -ExecutionPolicy Bypass -File ""%~dp0Win11Debloat.ps1""' -Verb RunAs"
|
||||
) else (
|
||||
echo Windows Terminal not found, using default PowerShell...
|
||||
PowerShell -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File \"\"%~dp0Win11Debloat.ps1\"\"' -Verb RunAs}"
|
||||
PowerShell -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""%~dp0Win11Debloat.ps1""' -Verb RunAs}"
|
||||
)
|
||||
|
||||
253
Win11Debloat.ps1
Normal file → Executable file
253
Win11Debloat.ps1
Normal file → Executable file
@@ -15,7 +15,6 @@ param (
|
||||
[switch]$RemoveAppsCustom,
|
||||
[switch]$RemoveGamingApps,
|
||||
[switch]$RemoveCommApps,
|
||||
[switch]$RemoveDevApps,
|
||||
[switch]$RemoveHPApps,
|
||||
[switch]$RemoveW11Outlook,
|
||||
[switch]$ForceRemoveEdge,
|
||||
@@ -37,12 +36,16 @@ param (
|
||||
[switch]$DisableTransparency,
|
||||
[switch]$DisableAnimations,
|
||||
[switch]$TaskbarAlignLeft,
|
||||
[switch]$CombineTaskbarAlways, [switch]$CombineTaskbarWhenFull, [switch]$CombineTaskbarNever,
|
||||
[switch]$CombineMMTaskbarAlways, [switch]$CombineMMTaskbarWhenFull, [switch]$CombineMMTaskbarNever,
|
||||
[switch]$MMTaskbarModeAll, [switch]$MMTaskbarModeMainActive, [switch]$MMTaskbarModeActive,
|
||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||
[switch]$HideTaskview,
|
||||
[switch]$DisableStartRecommended,
|
||||
[switch]$DisableStartPhoneLink,
|
||||
[switch]$DisableCopilot,
|
||||
[switch]$DisableRecall,
|
||||
[switch]$DisableClickToDo,
|
||||
[switch]$DisablePaintAI,
|
||||
[switch]$DisableNotepadAI,
|
||||
[switch]$DisableEdgeAI,
|
||||
@@ -63,6 +66,7 @@ param (
|
||||
[switch]$ExplorerToThisPC,
|
||||
[switch]$ExplorerToDownloads,
|
||||
[switch]$ExplorerToOneDrive,
|
||||
[switch]$NoRestartExplorer,
|
||||
[switch]$DisableOnedrive, [switch]$HideOnedrive,
|
||||
[switch]$Disable3dObjects, [switch]$Hide3dObjects,
|
||||
[switch]$DisableMusic, [switch]$HideMusic,
|
||||
@@ -580,6 +584,7 @@ function GetUserDirectory {
|
||||
$exitIfPathNotFound = $true
|
||||
)
|
||||
|
||||
try {
|
||||
$userDirectoryExists = Test-Path "$env:SystemDrive\Users\$userName"
|
||||
$userPath = "$env:SystemDrive\Users\$userName\$fileName"
|
||||
|
||||
@@ -587,12 +592,16 @@ function GetUserDirectory {
|
||||
return $userPath
|
||||
}
|
||||
|
||||
$userDirectoryExists = Test-Path $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$userName"
|
||||
$userDirectoryExists = Test-Path ($env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$userName")
|
||||
$userPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$userName\$fileName"
|
||||
|
||||
if ((Test-Path $userPath) -or ($userDirectoryExists -and (-not $exitIfPathNotFound))) {
|
||||
return $userPath
|
||||
}
|
||||
} catch {
|
||||
Write-Host "Error: Something went wrong when trying to find the user directory path for user $userName. Please ensure the user exists on this system." -ForegroundColor Red
|
||||
AwaitKeyToExit
|
||||
}
|
||||
|
||||
Write-Host "Error: Unable to find user directory path for user $userName" -ForegroundColor Red
|
||||
AwaitKeyToExit
|
||||
@@ -633,7 +642,7 @@ function RegImport {
|
||||
|
||||
# Restart the Windows Explorer process
|
||||
function RestartExplorer {
|
||||
if ($script:Params.ContainsKey("Sysprep") -or $script:Params.ContainsKey("User")) {
|
||||
if ($script:Params.ContainsKey("Sysprep") -or $script:Params.ContainsKey("User") -or $script:Params.ContainsKey("NoRestartExplorer")) {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -713,7 +722,7 @@ function ReplaceStartMenu {
|
||||
|
||||
# Change path to correct user if a user was specified
|
||||
if ($script:Params.ContainsKey("User")) {
|
||||
$startMenuBinFile = GetUserDirectory -userName "$(GetUserName)" -fileName "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start2.bin"
|
||||
$startMenuBinFile = GetUserDirectory -userName "$(GetUserName)" -fileName "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start2.bin" -exitIfPathNotFound $false
|
||||
}
|
||||
|
||||
# Check if template bin file exists, return early if it doesn't
|
||||
@@ -729,16 +738,15 @@ function ReplaceStartMenu {
|
||||
|
||||
$userName = [regex]::Match($startMenuBinFile, '(?:Users\\)([^\\]+)(?:\\AppData)').Groups[1].Value
|
||||
|
||||
# Check if bin file exists, return early if it doesn't
|
||||
if (-not (Test-Path $startMenuBinFile)) {
|
||||
Write-Host "Error: Unable to replace start menu for user $userName, original start2.bin file not found" -ForegroundColor Red
|
||||
return
|
||||
}
|
||||
|
||||
$backupBinFile = $startMenuBinFile + ".bak"
|
||||
|
||||
if (Test-Path $startMenuBinFile) {
|
||||
# Backup current start menu file
|
||||
Move-Item -Path $startMenuBinFile -Destination $backupBinFile -Force
|
||||
} else {
|
||||
Write-Host "Warning: Unable to find original start2.bin file for user $userName. No backup was created for this user!" -ForegroundColor Yellow
|
||||
New-Item -ItemType File -Path $startMenuBinFile -Force
|
||||
}
|
||||
|
||||
# Copy template file
|
||||
Copy-Item -Path $startMenuTemplate -Destination $startMenuBinFile -Force
|
||||
@@ -751,7 +759,8 @@ function ReplaceStartMenu {
|
||||
function AddParameter {
|
||||
param (
|
||||
$parameterName,
|
||||
$message
|
||||
$message,
|
||||
$addToFile = $true
|
||||
)
|
||||
|
||||
# Add key if it doesn't already exist
|
||||
@@ -759,6 +768,11 @@ function AddParameter {
|
||||
$script:Params.Add($parameterName, $true)
|
||||
}
|
||||
|
||||
if (-not $addToFile) {
|
||||
Write-Output "- $message"
|
||||
return
|
||||
}
|
||||
|
||||
# Create or clear file that stores last used settings
|
||||
if (-not (Test-Path "$PSScriptRoot/SavedSettings")) {
|
||||
$null = New-Item "$PSScriptRoot/SavedSettings"
|
||||
@@ -816,6 +830,26 @@ function PrintFromFile {
|
||||
}
|
||||
|
||||
|
||||
function PrintAppsList {
|
||||
param (
|
||||
$path,
|
||||
$printCount = $false
|
||||
)
|
||||
|
||||
if (-not (Test-Path $path)) {
|
||||
return
|
||||
}
|
||||
|
||||
$appsList = ReadAppslistFromFile $path
|
||||
|
||||
if ($printCount) {
|
||||
Write-Output "- Remove $($appsList.Count) apps:"
|
||||
}
|
||||
|
||||
Write-Host $appsList -ForegroundColor DarkGray
|
||||
}
|
||||
|
||||
|
||||
function AwaitKeyToExit {
|
||||
# Suppress prompt if Silent parameter was passed
|
||||
if (-not $Silent) {
|
||||
@@ -850,7 +884,6 @@ function CreateSystemRestorePoint {
|
||||
Enable-ComputerRestore -Drive "$env:SystemDrive"
|
||||
} catch {
|
||||
Write-Host "Error: Failed to enable System Restore: $_" -ForegroundColor Red
|
||||
Write-Output ""
|
||||
return
|
||||
}
|
||||
}
|
||||
@@ -859,9 +892,6 @@ function CreateSystemRestorePoint {
|
||||
|
||||
if (-not $enableSystemRestoreJobDone) {
|
||||
Write-Host "Error: Failed to enable system restore and create restore point, operation timed out" -ForegroundColor Red
|
||||
Write-Output ""
|
||||
Write-Output "Press any key to continue anyway..."
|
||||
$null = [System.Console]::ReadKey()
|
||||
return
|
||||
} else {
|
||||
Receive-Job $enableSystemRestoreJob
|
||||
@@ -878,7 +908,6 @@ function CreateSystemRestorePoint {
|
||||
$recentRestorePoints = Get-ComputerRestorePoint | Where-Object { (Get-Date) - [System.Management.ManagementDateTimeConverter]::ToDateTime($_.CreationTime) -le (New-TimeSpan -Hours 24) }
|
||||
} catch {
|
||||
Write-Host "Error: Unable to retrieve existing restore points: $_" -ForegroundColor Red
|
||||
Write-Output ""
|
||||
return
|
||||
}
|
||||
|
||||
@@ -898,9 +927,6 @@ function CreateSystemRestorePoint {
|
||||
|
||||
if (-not $createRestorePointJobDone) {
|
||||
Write-Host "Error: Failed to create system restore point, operation timed out" -ForegroundColor Red
|
||||
Write-Output ""
|
||||
Write-Output "Press any key to continue anyway..."
|
||||
$null = [System.Console]::ReadKey()
|
||||
} else {
|
||||
Receive-Job $createRestorePointJob
|
||||
}
|
||||
@@ -921,8 +947,8 @@ function DisplayCustomModeOptions {
|
||||
Do {
|
||||
Write-Host "Options:" -ForegroundColor Yellow
|
||||
Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow
|
||||
Write-Host " (1) Only remove the default selection of bloatware apps from 'Appslist.txt'" -ForegroundColor Yellow
|
||||
Write-Host " (2) Remove default selection of bloatware apps, as well as mail & calendar apps, developer apps and gaming apps" -ForegroundColor Yellow
|
||||
Write-Host " (1) Only remove the default selection of apps" -ForegroundColor Yellow
|
||||
Write-Host " (2) Remove the default selection of apps, as well as mail & calendar apps and gaming related apps" -ForegroundColor Yellow
|
||||
Write-Host " (3) Manually select which apps to remove" -ForegroundColor Yellow
|
||||
$RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2/3)"
|
||||
|
||||
@@ -946,13 +972,12 @@ function DisplayCustomModeOptions {
|
||||
# Select correct option based on user input
|
||||
switch ($RemoveAppsInput) {
|
||||
'1' {
|
||||
AddParameter 'RemoveApps' 'Remove default selection of bloatware apps'
|
||||
AddParameter 'RemoveApps' 'Remove the default selection of apps'
|
||||
}
|
||||
'2' {
|
||||
AddParameter 'RemoveApps' 'Remove default selection of bloatware apps'
|
||||
AddParameter 'RemoveApps' 'Remove the default selection of apps'
|
||||
AddParameter 'RemoveCommApps' 'Remove the Mail, Calendar, and People apps'
|
||||
AddParameter 'RemoveW11Outlook' 'Remove the new Outlook for Windows app'
|
||||
AddParameter 'RemoveDevApps' 'Remove developer-related apps'
|
||||
AddParameter 'RemoveGamingApps' 'Remove the Xbox App and Xbox Gamebar'
|
||||
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
|
||||
}
|
||||
@@ -998,8 +1023,8 @@ function DisplayCustomModeOptions {
|
||||
Do {
|
||||
Write-Host "Options:" -ForegroundColor Yellow
|
||||
Write-Host " (n) Don't disable any AI features" -ForegroundColor Yellow
|
||||
Write-Host " (1) Disable Microsoft Copilot and Windows Recall snapshots" -ForegroundColor Yellow
|
||||
Write-Host " (2) Disable Microsoft Copilot, Windows Recall snapshots and AI features in Microsoft Edge, Paint and Notepad" -ForegroundColor Yellow
|
||||
Write-Host " (1) Disable Microsoft Copilot, Windows Recall and Click to Do" -ForegroundColor Yellow
|
||||
Write-Host " (2) Disable Microsoft Copilot, Windows Recall, Click to Do and AI features in Microsoft Edge, Paint and Notepad" -ForegroundColor Yellow
|
||||
$DisableAIInput = Read-Host "Do you want to disable any AI features? This applies to all users (n/1/2)"
|
||||
}
|
||||
while ($DisableAIInput -ne 'n' -and $DisableAIInput -ne '0' -and $DisableAIInput -ne '1' -and $DisableAIInput -ne '2')
|
||||
@@ -1008,11 +1033,13 @@ function DisplayCustomModeOptions {
|
||||
switch ($DisableAIInput) {
|
||||
'1' {
|
||||
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
|
||||
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
|
||||
AddParameter 'DisableRecall' 'Disable Windows Recall'
|
||||
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)'
|
||||
}
|
||||
'2' {
|
||||
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
|
||||
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
|
||||
AddParameter 'DisableRecall' 'Disable Windows Recall'
|
||||
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)'
|
||||
AddParameter 'DisableEdgeAI' 'Disable AI features in Edge'
|
||||
AddParameter 'DisablePaintAI' 'Disable AI features in Paint'
|
||||
AddParameter 'DisableNotepadAI' 'Disable AI features in Notepad'
|
||||
@@ -1161,6 +1188,59 @@ function DisplayCustomModeOptions {
|
||||
AddParameter 'TaskbarAlignLeft' 'Align taskbar icons to the left'
|
||||
}
|
||||
|
||||
# Show options for combine icon on taskbar, only continue on valid input
|
||||
Do {
|
||||
Write-Output ""
|
||||
Write-Host " Options:" -ForegroundColor Yellow
|
||||
Write-Host " (n) No change" -ForegroundColor Yellow
|
||||
Write-Host " (1) Always" -ForegroundColor Yellow
|
||||
Write-Host " (2) When taskbar is full" -ForegroundColor Yellow
|
||||
Write-Host " (3) Never" -ForegroundColor Yellow
|
||||
$TbCombineTaskbar = Read-Host " Combine taskbar buttons and hide labels? (n/1/2/3)"
|
||||
}
|
||||
while ($TbCombineTaskbar -ne 'n' -and $TbCombineTaskbar -ne '0' -and $TbCombineTaskbar -ne '1' -and $TbCombineTaskbar -ne '2' -and $TbCombineTaskbar -ne '3')
|
||||
|
||||
# Select correct taskbar goup option based on user input
|
||||
switch ($TbCombineTaskbar) {
|
||||
'1' {
|
||||
AddParameter 'CombineTaskbarAlways' 'Always combine taskbar buttons and hide labels for the main display'
|
||||
AddParameter 'CombineMMTaskbarAlways' 'Always combine taskbar buttons and hide labels for secondary displays'
|
||||
}
|
||||
'2' {
|
||||
AddParameter 'CombineTaskbarWhenFull' 'Combine taskbar buttons and hide labels when taskbar is full for the main display'
|
||||
AddParameter 'CombineMMTaskbarWhenFull' 'Combine taskbar buttons and hide labels when taskbar is full for secondary displays'
|
||||
}
|
||||
'3' {
|
||||
AddParameter 'CombineTaskbarNever' 'Never combine taskbar buttons and show labels for the main display'
|
||||
AddParameter 'CombineMMTaskbarNever' 'Never combine taskbar buttons and show labels for secondary displays'
|
||||
}
|
||||
}
|
||||
|
||||
# Show options for changing on what taskbar(s) app icons are shown, only continue on valid input
|
||||
Do {
|
||||
Write-Output ""
|
||||
Write-Host " Options:" -ForegroundColor Yellow
|
||||
Write-Host " (n) No change" -ForegroundColor Yellow
|
||||
Write-Host " (1) Show app icons on all taskbars" -ForegroundColor Yellow
|
||||
Write-Host " (2) Show app icons on main taskbar and on taskbar where the windows is open" -ForegroundColor Yellow
|
||||
Write-Host " (3) Show app icons only on taskbar where the window is open" -ForegroundColor Yellow
|
||||
$TbCombineTaskbar = Read-Host " Change how to show app icons on the taskbar when using multiple monitors? (n/1/2/3)"
|
||||
}
|
||||
while ($TbCombineTaskbar -ne 'n' -and $TbCombineTaskbar -ne '0' -and $TbCombineTaskbar -ne '1' -and $TbCombineTaskbar -ne '2' -and $TbCombineTaskbar -ne '3')
|
||||
|
||||
# Select correct taskbar goup option based on user input
|
||||
switch ($TbCombineTaskbar) {
|
||||
'1' {
|
||||
AddParameter 'MMTaskbarModeAll' 'Show app icons on all taskbars'
|
||||
}
|
||||
'2' {
|
||||
AddParameter 'MMTaskbarModeMainActive' 'Show app icons on main taskbar and on taskbar where the windows is open'
|
||||
}
|
||||
'3' {
|
||||
AddParameter 'MMTaskbarModeActive' 'Show app icons only on taskbar where the window is open'
|
||||
}
|
||||
}
|
||||
|
||||
# Show options for search icon on taskbar, only continue on valid input
|
||||
Do {
|
||||
Write-Output ""
|
||||
@@ -1483,9 +1563,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
switch ($Mode) {
|
||||
# Default mode, loads defaults after confirmation
|
||||
'1' {
|
||||
if (-not $script:Params.ContainsKey('CreateRestorePoint')) {
|
||||
$script:Params.Add('CreateRestorePoint', $true)
|
||||
}
|
||||
AddParameter 'CreateRestorePoint' 'Create a system restore point' $false
|
||||
|
||||
# Show the default settings with confirmation, unless Silent parameter was passed
|
||||
if (-not $Silent) {
|
||||
@@ -1493,10 +1571,13 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
if ((-not $RunDefaults) -and (-not $RunDefaultsLite)) {
|
||||
PrintHeader 'Default Mode'
|
||||
|
||||
Write-Host "Please note: The default selection of apps includes Microsoft Teams, Spotify, Sticky Notes and more. Select option 2 to verify and change what apps are removed by the script." -ForegroundColor DarkGray
|
||||
Write-Output ""
|
||||
|
||||
Do {
|
||||
Write-Host "Options:" -ForegroundColor Yellow
|
||||
Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow
|
||||
Write-Host " (1) Only remove the default selection of bloatware apps" -ForegroundColor Yellow
|
||||
Write-Host " (1) Only remove the default selection of apps" -ForegroundColor Yellow
|
||||
Write-Host " (2) Manually select which apps to remove" -ForegroundColor Yellow
|
||||
$RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2)"
|
||||
|
||||
@@ -1529,19 +1610,29 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
# Select correct option based on user input
|
||||
switch ($RemoveAppsInput) {
|
||||
'1' {
|
||||
if (-not $script:Params.ContainsKey('RemoveApps')) {
|
||||
$script:Params.Add('RemoveApps', $true)
|
||||
}
|
||||
|
||||
Write-Output "- Remove the default selection of apps."
|
||||
AddParameter 'RemoveApps' 'Remove the default selection of apps:' $false
|
||||
PrintAppsList "$PSScriptRoot/Appslist.txt"
|
||||
}
|
||||
'2' {
|
||||
if (-not $script:Params.ContainsKey('RemoveAppsCustom')) {
|
||||
$script:Params.Add('RemoveAppsCustom', $true)
|
||||
AddParameter 'RemoveAppsCustom' "Remove $($script:SelectedApps.Count) apps:" $false
|
||||
PrintAppsList "$PSScriptRoot/CustomAppsList"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Output "- Remove your custom selection of $($script:SelectedApps.Count) apps."
|
||||
# Only add this option for Windows 10 users
|
||||
if (get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") {
|
||||
AddParameter 'Hide3dObjects' "Hide the 3D objects folder under 'This pc' in File Explorer" $false
|
||||
AddParameter 'HideChat' 'Hide the chat (meet now) icon from the taskbar' $false
|
||||
}
|
||||
|
||||
# Only add these options for Windows 11 users (build 22000+)
|
||||
if ($WinVersion -ge 22000) {
|
||||
if ($script:ModernStandbySupported) {
|
||||
AddParameter 'DisableModernStandbyNetworking' 'Disable network connectivity during Modern Standby' $false
|
||||
}
|
||||
|
||||
AddParameter 'DisableRecall' 'Disable Windows Recall' $false
|
||||
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)' $false
|
||||
}
|
||||
|
||||
PrintFromFile "$PSScriptRoot/Assets/Menus/DefaultSettings" "Default Mode" $false
|
||||
@@ -1550,7 +1641,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
Read-Host | Out-Null
|
||||
}
|
||||
|
||||
$DefaultParameterNames = 'DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableFastStartup','DisableCopilot'
|
||||
$DefaultParameterNames = 'DisableCopilot','DisableTelemetry','DisableSuggestions','DisableEdgeAds','DisableLockscreenTips','DisableBing','ShowKnownFileExt','DisableWidgets','DisableFastStartup'
|
||||
|
||||
PrintHeader 'Default Mode'
|
||||
|
||||
@@ -1560,22 +1651,6 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
$script:Params.Add($ParameterName, $true)
|
||||
}
|
||||
}
|
||||
|
||||
# Only add this option for Windows 10 users, if it doesn't already exist
|
||||
if ((get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") -and (-not $script:Params.ContainsKey('Hide3dObjects'))) {
|
||||
$script:Params.Add('Hide3dObjects', $Hide3dObjects)
|
||||
}
|
||||
|
||||
# Only add these options for Windows 11 users (build 22000+), if it doesn't already exist
|
||||
if ($WinVersion -ge 22000) {
|
||||
if (-not $script:Params.ContainsKey('DisableRecall')) {
|
||||
$script:Params.Add('DisableRecall', $true)
|
||||
}
|
||||
|
||||
if ($script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) {
|
||||
$script:Params.Add('DisableModernStandbyNetworking', $true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Custom mode, show & add options based on user input
|
||||
@@ -1623,19 +1698,17 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
$parameterName = $line.Substring(0, $line.IndexOf('#'))
|
||||
|
||||
# Print parameter description and add parameter to Params list
|
||||
if ($parameterName -eq "RemoveAppsCustom") {
|
||||
if (-not (Test-Path "$PSScriptRoot/CustomAppsList")) {
|
||||
# Apps file does not exist, skip
|
||||
continue
|
||||
switch ($parameterName) {
|
||||
'RemoveApps' {
|
||||
PrintAppsList "$PSScriptRoot/Appslist.txt" $true
|
||||
}
|
||||
|
||||
$appsList = ReadAppslistFromFile "$PSScriptRoot/CustomAppsList"
|
||||
Write-Output "- Remove $($appsList.Count) apps:"
|
||||
Write-Host $appsList -ForegroundColor DarkGray
|
||||
'RemoveAppsCustom' {
|
||||
PrintAppsList "$PSScriptRoot/CustomAppsList" $true
|
||||
}
|
||||
else {
|
||||
default {
|
||||
Write-Output $line.Substring(($line.IndexOf('#') + 1), ($line.Length - $line.IndexOf('#') - 1))
|
||||
}
|
||||
}
|
||||
|
||||
if (-not $script:Params.ContainsKey($parameterName)) {
|
||||
$script:Params.Add($parameterName, $true)
|
||||
@@ -1702,12 +1775,6 @@ switch ($script:Params.Keys) {
|
||||
RemoveApps $appsList
|
||||
continue
|
||||
}
|
||||
'RemoveDevApps' {
|
||||
$appsList = 'Microsoft.PowerAutomateDesktop', 'Microsoft.RemoteDesktop', 'Windows.DevHome'
|
||||
Write-Output "> Removing developer-related related apps..."
|
||||
RemoveApps $appsList
|
||||
continue
|
||||
}
|
||||
'RemoveGamingApps' {
|
||||
$appsList = 'Microsoft.GamingApp', 'Microsoft.XboxGameOverlay', 'Microsoft.XboxGamingOverlay'
|
||||
Write-Output "> Removing gaming related apps..."
|
||||
@@ -1773,7 +1840,11 @@ switch ($script:Params.Keys) {
|
||||
continue
|
||||
}
|
||||
'DisableRecall' {
|
||||
RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg"
|
||||
RegImport "> Disabling Windows Recall..." "Disable_AI_Recall.reg"
|
||||
continue
|
||||
}
|
||||
'DisableClickToDo' {
|
||||
RegImport "> Disabling Click to Do..." "Disable_Click_to_Do.reg"
|
||||
continue
|
||||
}
|
||||
'DisableEdgeAI' {
|
||||
@@ -1852,6 +1923,42 @@ switch ($script:Params.Keys) {
|
||||
RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg"
|
||||
continue
|
||||
}
|
||||
'CombineTaskbarAlways' {
|
||||
RegImport "> Setting the taskbar on the main display to always combine buttons and hide labels..." "Combine_Taskbar_Always.reg"
|
||||
continue
|
||||
}
|
||||
'CombineTaskbarWhenFull' {
|
||||
RegImport "> Setting the taskbar on the main display to only combine buttons and hide labels when the taskbar is full..." "Combine_Taskbar_When_Full.reg"
|
||||
continue
|
||||
}
|
||||
'CombineTaskbarNever' {
|
||||
RegImport "> Setting the taskbar on the main display to never combine buttons or hide labels..." "Combine_Taskbar_Never.reg"
|
||||
continue
|
||||
}
|
||||
'CombineMMTaskbarAlways' {
|
||||
RegImport "> Setting the taskbar on secondary displays to always combine buttons and hide labels..." "Combine_MMTaskbar_Always.reg"
|
||||
continue
|
||||
}
|
||||
'CombineMMTaskbarWhenFull' {
|
||||
RegImport "> Setting the taskbar on secondary displays to only combine buttons and hide labels when the taskbar is full..." "Combine_MMTaskbar_When_Full.reg"
|
||||
continue
|
||||
}
|
||||
'CombineMMTaskbarNever' {
|
||||
RegImport "> Setting the taskbar on secondary displays to never combine buttons or hide labels..." "Combine_MMTaskbar_Never.reg"
|
||||
continue
|
||||
}
|
||||
'MMTaskbarModeAll' {
|
||||
RegImport "> Setting the taskbar to only show app icons on main taskbar..." "MMTaskbarMode_All.reg"
|
||||
continue
|
||||
}
|
||||
'MMTaskbarModeMainActive' {
|
||||
RegImport "> Setting the taskbar to show app icons on all taskbars..." "MMTaskbarMode_Main_Active.reg"
|
||||
continue
|
||||
}
|
||||
'MMTaskbarModeActive' {
|
||||
RegImport "> Setting the taskbar to only show app icons on the taskbar where the window is open..." "MMTaskbarMode_Active.reg"
|
||||
continue
|
||||
}
|
||||
'HideSearchTb' {
|
||||
RegImport "> Hiding the search icon from the taskbar..." "Hide_Search_Taskbar.reg"
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user