56 Commits

Author SHA1 Message Date
Raphire
c52338648d Update Get.ps1 to new release 2025-09-27 14:41:45 +02:00
Raphire
d8e86a43f5 Merge branch 'master' of https://github.com/Raphire/Win11Debloat 2025-09-27 14:36:38 +02:00
Raphire
cf982af87c Change order of Default Mode parameters 2025-09-27 14:36:37 +02:00
Andrea Boero
a368b4a8ba Added an option to choose combine mode for Taskbar buttons (#329) 2025-09-27 14:34:01 +02:00
Raphire
7c9e25d891 Default Mode Improvements
- Added Click to Do to default
- Default mode now shows a list of apps that are slated to be removed
- Default mode changes summary now only shows the changes it will actually apply
2025-09-27 14:19:41 +02:00
Raphire
58d47c77cc Remove prompts after system restore creation errors 2025-09-22 21:41:24 +02:00
Raphire
7004fa3b31 Add option to disable Click to Do (AI image/text analysis feature) 2025-09-17 23:33:52 +02:00
tylerhekman
899edfc9c6 Removed escaped double quotes that caused incorrect parsing for paths with spaces (#322) 2025-09-14 12:18:58 +02:00
Raphire
f9f7ba828c Update README.md 2025-09-14 00:02:29 +02:00
Raphire
02cb390ac6 Create restore point before removing apps in Default mode 2025-09-13 23:41:25 +02:00
Raphire
4e4bf0d553 Added option to not remove any apps, or remove your custom selection of apps in Default mode 2025-09-13 23:36:38 +02:00
Raphire
bdf55ed6ba Only include Recall in defaults for Windows 11 2025-09-12 22:24:38 +02:00
Raphire
b0fed2afaf Only include Recall in defaults for Windows 11 2025-09-12 22:23:24 +02:00
Raphire
b9594f2671 Include Disable Recall with default mode 2025-09-12 21:03:14 +02:00
Raphire
4719d80dd9 Update appslist in README.md 2025-09-12 19:20:11 +02:00
Raphire
83f7fc7398 Update appslist in README.md 2025-09-12 19:19:35 +02:00
Raphire
cf1b43dd3f Update appslist in README.md 2025-09-12 19:09:08 +02:00
Raphire
15a520e219 Add Undo file for MS Edge telemetry policies 2025-09-12 00:34:55 +02:00
Raphire
a38c78824e Add description of new policy keys 2025-09-12 00:18:58 +02:00
Raphire
0ba9d1d7c3 Added extra policies to disable telemetry and diagnostic data in Microsoft Edge 2025-09-12 00:17:09 +02:00
Raphire
9b502a49c4 Added extra policies to disable more suggested content in Microsoft Edge 2025-09-12 00:08:15 +02:00
Raphire
260895618d Update Get.ps1 to new release 2025-09-08 20:38:39 +02:00
Raphire
a662273414 Fix issue with clearing/replacing start for default user when directory doesn't exist yet #314 2025-09-08 19:54:13 +02:00
Raphire
6c4b401a21 Update Get.ps1 to new release 2025-09-07 19:26:51 +02:00
Raphire
75f71972b3 Update wording around DisableWidgets feature #302
To clarify this feature also disables widgets on the lockscreen.
2025-09-07 19:13:51 +02:00
Raphire
c3de7803ae Fix dark mode not applying correctly in Sysprep mode 2025-09-07 17:51:25 +02:00
Raphire
8ce501511f Fix script not using correct user directory paths when run as system account #310 2025-09-07 15:04:29 +02:00
Jeffrey
a65548b9b7 Properly check if Modern Standby is supported (#298)
Using `powercfg /a` output instead of checking for battery
2025-08-22 17:50:47 +02:00
Sashank
98b9348b70 Add DisableBackupNotifications parameter (#297) 2025-08-20 20:15:50 +02:00
Sashank
b100cf15f2 Add Disable Modern Standby networking to prevent battery drain (#288) 2025-08-19 19:54:28 +02:00
Raphire
b6dc5c0147 Update README.md 2025-08-16 02:17:47 +02:00
Raphire
a68c0a53fb Fix system restore actions not being printed 2025-08-16 02:03:53 +02:00
Raphire
31b13bf861 Update Get.ps1 to new release 2025-08-16 01:52:04 +02:00
Raphire
62e95376a6 Add time-out to System Restore Point creation #289 2025-08-16 01:37:43 +02:00
Raphire
c881858f32 Add option to disable ads, newsfeed and AI in MS Edge 2025-08-16 01:36:00 +02:00
Raphire
cc3fc90592 Add missing key from Disable Paint AI Sysprep/Undo files 2025-08-16 00:04:53 +02:00
Raphire
70ebe29f70 Update Get.ps1 to new release 2025-08-01 21:54:26 +02:00
Raphire
74ffa9618c Update README.md 2025-08-01 21:46:21 +02:00
Raphire
1cf461940d Add option to disable AI features in Paint & Notepad 2025-08-01 21:21:38 +02:00
Connor Shugg
9c92f30160 Add "Last Active Click" Taskbar Behaviour Option (#280) 2025-07-30 21:30:51 +02:00
Raphire
49233234fa Update README.md and script info screens 2025-06-17 23:08:36 +02:00
Jeffrey
f5057625d8 Update README.md 2025-06-17 23:03:11 +02:00
Alex
41b0006430 Updated app descriptions (#260)
Updated the app descriptions that were not already included in the `Appslist.txt` file.
2025-06-16 23:52:48 +02:00
Raphire
1a170a2db1 Update Get.ps1 to new release 2025-06-12 22:05:44 +02:00
Raphire
a6a7232709 Update README.md 2025-06-12 21:56:26 +02:00
Raphire
3f22b8d22d Add options to enable dark mode, disable transparency & animations 2025-06-12 21:50:57 +02:00
Raphire
1c7c7f734f Update wording in custom mode app removal section 2025-06-12 21:05:23 +02:00
Raphire
1729831af9 Update issue templates 2025-06-11 23:43:16 +02:00
Raphire
a2095b2b60 Added option to disable start menu mobile devices integration 2025-06-11 22:04:17 +02:00
Raphire
d7c47a587c Update issue templates 2025-06-11 21:39:06 +02:00
Raphire
c5702f7096 Clean up / fix wording for custom mode options 2025-06-11 12:33:14 +02:00
Raphire
352e6db5a1 Tidying up README, script info screens, etc. 2025-06-11 12:16:55 +02:00
Raphire
34addd3425 Fix some settings not being set immediately when run as other user (#255) 2025-06-11 11:56:52 +02:00
Raphire
4165f9940d Update Get.ps1 to new release 2025-06-11 00:07:25 +02:00
Raphire
8bc12a5a85 Fixed bug with clearing start for all users 2025-06-11 00:05:10 +02:00
Raphire
67d529c22b Move Disable start recommended option in feature list 2025-06-08 23:12:42 +02:00
71 changed files with 1168 additions and 522 deletions

View File

@@ -1,27 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Open '...'
2. Select '....'
3. Wait for '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.

79
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,79 @@
name: "🐞 Bug report"
description: "Report an issue you encountered"
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
# 🐞 **Bug report**
Thanks for taking the time to fill out this bug report! Please provide as much information as possible in your report to help us understand and resolve the issue.
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Please confirm the following before posting your issue.
options:
- label: I have searched for existing issues/discussions and didn't find any similar ones.
required: true
- label: I haven't used any other scripts, tools or programs that might have caused this issue.
required: false
- type: input
id: windows_version
attributes:
label: Windows version
description: What version of Windows are you using?
placeholder: e.g. Windows 11 24H2 (26100.4202)
validations:
required: true
- type: input
id: script_setting
attributes:
label: Script mode/options
description: What mode/options did you use with the script?
placeholder: e.g. "Default mode", "Custom mode with options X, Y, Z"
validations:
required: true
- type: textarea
id: issue_description
attributes:
label: Describe the issue
description: Provide a clear and detailed description of the issue.
placeholder: e.g. "When I ran the script I expected [...], but instead [...]. This caused [...]."
validations:
required: true
- type: textarea
id: steps_to_reproduce
attributes:
label: Steps to reproduce
description: How can the behaviour be reproduced? Please provide detailed steps.
placeholder: |
1. Open '...'
2. Select '...'
3. Wait for '...'
4. Etc.
validations:
required: true
- type: textarea
id: error_logs
attributes:
label: Error output
description: "Include any relevant logs or error messages. Logs can be found in `%temp%/Win11Debloat` or the root folder of the script. Please keep in mind that logs may contain personal information such as usernames and the name of your PC, so review them before submitting."
placeholder: Include any relevant logs or error messages.
validations:
required: false
- type: textarea
id: additional_context
attributes:
label: Additional context
description: Add any other context about the problem here.
placeholder: e.g. Screenshots, links to related discussions, etc.
validations:
required: false

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Open a discussion
url: https://github.com/Raphire/Win11Debloat/discussions
about: Discuss anything that is not a bug report or feature request

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,46 @@
name: "💡 Feature request"
description: "Suggest a new feature or improvement"
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
# 💡 **Feature request**
Thanks for taking the time to suggest a feature for Win11Debloat! Please include as much detail as possible to help us understand and evaluate your suggestion.
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Please confirm the following before posting your issue.
options:
- label: I have searched for existing issues/discussions and didn't find any similar ones.
required: true
- type: textarea
id: description
attributes:
label: Describe the feature or improvement
description: Provide a clear and concise description of your suggested feature or improvement. Explain why you think this feature is needed and how it would benefit users.
placeholder: Describe the feature or improvement.
validations:
required: true
- type: textarea
id: examples
attributes:
label: Examples
description: Provide examples of how the feature could work or be implemented.
placeholder: e.g. Code snippets, mockups, or links to other implementations of similar features.
validations:
required: false
- type: textarea
id: additional_context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
placeholder: e.g. Screenshots, links to related discussions, etc.
validations:
required: false

View File

@@ -2,94 +2,94 @@
# The apps below this line WILL be uninstalled by default. Add a # character in front of any app you want to #
# KEEP installed by default. #
# -------------------------------------------------------------------------------------------------------------- #
Clipchamp.Clipchamp
Microsoft.3DBuilder
Microsoft.549981C3F5F10 #Cortana app
Microsoft.BingFinance
Microsoft.BingFoodAndDrink
Microsoft.BingHealthAndFitness
Microsoft.BingNews
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
Microsoft.Office.Sway
Microsoft.OneConnect
Microsoft.Print3D
Microsoft.SkypeApp
Microsoft.Todos
Microsoft.WindowsAlarms
Microsoft.WindowsFeedbackHub
Microsoft.WindowsMaps
Microsoft.WindowsSoundRecorder
Clipchamp.Clipchamp # Video editor from Microsoft
Microsoft.3DBuilder # Basic 3D modeling software
Microsoft.549981C3F5F10 # Cortana app (Voice assistant)
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, 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.Print3D # 3D printing preparation software
Microsoft.SkypeApp # Skype communication app (Universal Windows Platform version)
Microsoft.Todos # To-do list and task management app
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 # Family Safety App
MicrosoftCorporationII.QuickAssist
MicrosoftTeams # Old MS Teams personal (MS Store)
MSTeams # New MS Teams app
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 MS Teams personal (MS Store version)
MSTeams # New MS Teams app (Work/School or Personal)
ACGMediaPlayer
ActiproSoftwareLLC
AdobeSystemsIncorporated.AdobePhotoshopExpress
Amazon.com.Amazon
AmazonVideo.PrimeVideo
Asphalt8Airborne
AutodeskSketchBook
CaesarsSlotsFreeCasino
COOKINGFEVER
CyberLinkMediaSuiteEssentials
DisneyMagicKingdoms
Disney
DrawboardPDF
Duolingo-LearnLanguagesforFree
EclipseManager
Facebook
FarmVille2CountryEscape
fitbit
Flipboard
HiddenCity
HULULLC.HULUPLUS
iHeartRadio
Instagram
king.com.BubbleWitch3Saga
king.com.CandyCrushSaga
king.com.CandyCrushSodaSaga
LinkedInforWindows
MarchofEmpires
Netflix
NYTCrossword
OneCalendar
PandoraMediaInc
PhototasticCollage
PicsArt-PhotoStudio
Plex
PolarrPhotoEditorAcademicEdition
Royal Revolt
Shazam
Sidia.LiveWallpaper
SlingTV
Spotify
TikTok
TuneInRadio
Twitter
Viber
WinZipUniversal
Wunderlist
XING
ACGMediaPlayer # Media player app
ActiproSoftwareLLC # Potentially UI controls or software components, often bundled by OEMs
AdobeSystemsIncorporated.AdobePhotoshopExpress # Basic photo editing app from Adobe
Amazon.com.Amazon # Amazon shopping app
AmazonVideo.PrimeVideo # Amazon Prime Video streaming service app
Asphalt8Airborne # Racing game
AutodeskSketchBook # Digital drawing and sketching app
CaesarsSlotsFreeCasino # Casino slot machine game
COOKINGFEVER # Restaurant simulation game
CyberLinkMediaSuiteEssentials # Multimedia software suite (often preinstalled by OEMs)
DisneyMagicKingdoms # Disney theme park building game
Disney # General Disney content app (may vary by region/OEM, often Disney+)
DrawboardPDF # PDF viewing and annotation app, often focused on pen input
Duolingo-LearnLanguagesforFree # Language learning app
EclipseManager # Often related to specific OEM software or utilities (e.g., for managing screen settings)
Facebook # Facebook social media app
FarmVille2CountryEscape # Farming simulation game
fitbit # Fitbit activity tracker companion app
Flipboard # News and social network aggregator styled as a magazine
HiddenCity # Hidden object puzzle adventure game
HULULLC.HULUPLUS # Hulu streaming service app
iHeartRadio # Internet radio streaming app
Instagram # Instagram social media app
king.com.BubbleWitch3Saga # Puzzle game from King
king.com.CandyCrushSaga # Puzzle game from King
king.com.CandyCrushSodaSaga # Puzzle game from King
LinkedInforWindows # LinkedIn professional networking app
MarchofEmpires # Strategy game
Netflix # Netflix streaming service app
NYTCrossword # New York Times crossword puzzle app
OneCalendar # Calendar aggregation app
PandoraMediaInc # Pandora music streaming app
PhototasticCollage # Photo collage creation app
PicsArt-PhotoStudio # Photo editing and creative app
Plex # Media server and player app
PolarrPhotoEditorAcademicEdition # Photo editing app (Academic Edition)
Royal Revolt # Tower defense / strategy game
Shazam # Music identification app
Sidia.LiveWallpaper # Live wallpaper app
SlingTV # Live TV streaming service app
Spotify # Spotify music streaming app
TikTok # TikTok short-form video app
TuneInRadio # Internet radio streaming app
Twitter # Twitter (now X) social media app
Viber # Messaging and calling app
WinZipUniversal # File compression and extraction utility (Universal Windows Platform version)
Wunderlist # To-do list app (Acquired by Microsoft, functionality moved to Microsoft To Do)
XING # Professional networking platform popular in German-speaking countries
@@ -99,53 +99,53 @@ XING
# want to UNINSTALL by default. #
# ------------------------------------------------------------------------------------------------------------- #
#Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search)
#Microsoft.Copilot # New Microsoft Copilot app
#Microsoft.Copilot # New Microsoft Copilot app (AI assistant)
#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.MSPaint # Paint 3D
#Microsoft.OneDrive # OneDrive consumer
#Microsoft.GetHelp # Required for some Windows 11 Troubleshooters and support interactions
#Microsoft.MSPaint # Paint 3D (Modern paint application with 3D features)
#Microsoft.OneDrive # OneDrive consumer cloud storage client
#Microsoft.OutlookForWindows # New mail app: Outlook for Windows
#Microsoft.Paint # Classic Paint
#Microsoft.People # Required for & included with Mail & Calendar
#Microsoft.PowerAutomateDesktop
#Microsoft.RemoteDesktop
#Microsoft.ScreenSketch # Snipping Tool
#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 # Only preinstalled on devices with touchscreen and/or pen support
#Microsoft.Windows.DevHome
#Microsoft.Windows.Photos
#Microsoft.WindowsCalculator
#Microsoft.WindowsCamera
#Microsoft.windowscommunicationsapps # Mail & Calendar
#Microsoft.WindowsNotepad
#Microsoft.WindowsStore # Microsoft Store, WARNING: This app cannot be reinstalled!
#Microsoft.WindowsTerminal # New default terminal app in windows 11
#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
#Microsoft.windowscommunicationsapps # Mail & Calendar app suite
#Microsoft.WindowsNotepad # Notepad text editor app
#Microsoft.WindowsStore # Microsoft Store, WARNING: This app cannot be reinstalled easily if removed!
#Microsoft.WindowsTerminal # New default terminal app in windows 11 (Command Prompt, PowerShell, WSL)
#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.XboxSpeechToTextOverlay # Might be required for some games, WARNING: This app cannot be reinstalled!
#Microsoft.YourPhone # Phone link
#Microsoft.ZuneMusic # Modern Media Player
#MicrosoftWindows.CrossDevice # Phone integration within File Explorer, Camera and more
#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
#Microsoft.XboxGameOverlay # Game overlay, required/useful for some games (Part of Xbox Game Bar)
#Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games (Part of Xbox Game Bar)
#Microsoft.XboxIdentityProvider # Xbox sign-in framework, required for some games and Xbox services
#Microsoft.XboxSpeechToTextOverlay # Might be required for some games, WARNING: This app cannot be reinstalled easily! (Accessibility feature)
#Microsoft.YourPhone # Phone link (Connects Android/iOS phone to PC)
#Microsoft.ZuneMusic # Modern Media Player (Replaced Groove Music, plays local audio/video)
#MicrosoftWindows.CrossDevice # Phone integration within File Explorer, Camera and more (Part of Phone Link features)
#AD2F1837.HPAIExperienceCenter # HP OEM software, AI-enhanced features and support
#AD2F1837.HPConnectedMusic # HP OEM software for music (Potentially discontinued)
#AD2F1837.HPConnectedPhotopoweredbySnapfish # HP OEM software for photos, integrated with Snapfish (Potentially discontinued)
#AD2F1837.HPDesktopSupportUtilities # HP OEM software providing desktop support tools
#AD2F1837.HPEasyClean # HP OEM software for system cleaning or optimization
#AD2F1837.HPFileViewer # HP OEM software for viewing specific file types
#AD2F1837.HPJumpStarts # HP OEM software for tutorials, app discovery, or quick access to HP features
#AD2F1837.HPPCHardwareDiagnosticsWindows # HP OEM software for PC hardware diagnostics
#AD2F1837.HPPowerManager # HP OEM software for managing power settings and battery
#AD2F1837.HPPrinterControl # HP OEM software for managing HP printers
#AD2F1837.HPPrivacySettings # HP OEM software for managing privacy settings
#AD2F1837.HPQuickDrop # HP OEM software for quick file transfer between devices
#AD2F1837.HPQuickTouch # HP OEM software, possibly for touch-specific shortcuts or controls
#AD2F1837.HPRegistration # HP OEM software for product registration
#AD2F1837.HPSupportAssistant # HP OEM software for support, updates, and troubleshooting
#AD2F1837.HPSureShieldAI # HP OEM security software, likely AI-based threat protection
#AD2F1837.HPSystemInformation # HP OEM software for displaying system information
#AD2F1837.HPWelcome # HP OEM software providing a welcome experience or initial setup help
#AD2F1837.HPWorkWell # HP OEM software focused on well-being, possibly with break reminders or ergonomic tips
#AD2F1837.myHP # HP OEM central hub app for device info, support, and services

View File

@@ -1,14 +1,11 @@
Win11Debloat will make the following changes:
- Remove the default selection of apps, the list can be found in the 'Appslist.txt' file.
- Disable telemetry, diagnostic data, app-launch tracking & targeted ads.
- Disable & remove Bing search & Cortana in Windows search.
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper)
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more.
- Disable Microsoft Copilot. (Windows 11 build 22621+)
- Disable Fast Start-up to ensure a full shutdown.
- Show file extensions for known file types.
- Disable the widget service & hide the icon from the taskbar.
- Hide the Chat (meet now) icon from the taskbar.
- Hide the 3D objects folder in Windows Explorer. (Windows 10 only)
- 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

View File

@@ -1,7 +1,6 @@
Win11Debloat is a simple, easy to use and lightweight PowerShell script that can remove
pre-installed Windows bloatware apps, disable telemetry and declutter the experience by
disabling or removing intrusive interface elements, ads and more. No need to go through
all the settings yourself, or remove apps one by one.
Win11Debloat is a lightweight and easy to use PowerShell script that allows you to quickly
declutter and improve your Windows experience. It can remove pre-installed bloatware apps,
disable telemetry, remove intrusive interface elements and much more.
-------------------------------------------------------------------------------------------
All Features
@@ -13,12 +12,25 @@ App Removal
Telemetry, Tracking & Suggested Content
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
- 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, Copilot & More
- Disable & remove Bing web search & Cortana from Windows search.
- Disable & remove Microsoft Copilot. (W11 only)
- Disable Windows Recall snapshots. (W11 only)
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. (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.
- Disable transparency, animations and visual effects.
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
- Disable the Sticky Keys keyboard shortcut. (W11 only)
- Restore the old Windows 10 style context menu. (W11 only)
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
File Explorer
- Change the default location that File Explorer opens to.
@@ -28,24 +40,24 @@ File Explorer
- 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.
Taskbar & Start
Taskbar
- Align taskbar icons to the left. (W11 only)
- Choose combine mode for taskbar buttons and labels. (W11 only)
- Hide or change the search icon/box on the taskbar. (W11 only)
- Hide the taskview button from the taskbar. (W11 only)
- Disable the widgets service & hide icon from the taskbar.
- Hide the chat (meet now) icon from the taskbar.
- Disable & hide the recommended section in the start menu. (W11 only)
- Disable widgets on the taskbar & lockscreen.
- 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.
Context menu
- Restore the old Windows 10 style context menu. (W11 only)
- Hide the 'Include in library', 'Give access to' & 'Share' options from the context menu. (W10 only)
Start
- Disable the recommended section in the start menu. (W11 only)
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
Other
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
- Disable Fast Start-up to ensure a full shutdown.
- Disable the Sticky Keys keyboard shortcut. (W11 only)
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
- Option to apply changes to a different user, instead of the currently logged in user.
- Sysprep mode to apply changes to the Windows Default user profile.
@@ -53,16 +65,20 @@ Other
Default mode
-------------------------------------------------------------------------------------------
The default mode applies the changes that are recommended for most users. This includes:
- Remove the default selection of apps, the list can be found in the 'Appslist.txt' file.
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
- Disable & remove Bing web search & Cortana from Windows search.
- Disable tips, tricks, suggestions & ads across Windows.
- Disable Microsoft Copilot. (W11 only)
- 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 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. (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.
- Disable the widget service & hide the icon from the taskbar.
- Hide the Chat (meet now) icon from the taskbar.
- Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only)
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
- 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. (W10 only)

21
Get.ps1
View File

@@ -6,7 +6,8 @@ param (
[string]$User,
[switch]$CreateRestorePoint,
[switch]$RunAppsListGenerator, [switch]$RunAppConfigurator,
[switch]$RunDefaults, [switch]$RunWin11Defaults,
[switch]$RunDefaults,
[switch]$RunDefaultsLite,
[switch]$RunSavedSettings,
[switch]$RemoveApps,
[switch]$RemoveAppsCustom,
@@ -19,24 +20,36 @@ param (
[switch]$DisableDVR,
[switch]$DisableTelemetry,
[switch]$DisableFastStartup,
[switch]$DisableModernStandbyNetworking,
[switch]$DisableBingSearches, [switch]$DisableBing,
[switch]$DisableDesktopSpotlight,
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
[switch]$DisableEdgeAds,
[switch]$DisableSettings365Ads,
[switch]$DisableSettingsHome,
[switch]$ShowHiddenFolders,
[switch]$ShowKnownFileExt,
[switch]$HideDupliDrive,
[switch]$EnableDarkMode,
[switch]$DisableTransparency,
[switch]$DisableAnimations,
[switch]$TaskbarAlignLeft,
[switch]$CombineTaskbarAlways, [switch]$CombineTaskbarWhenFull, [switch]$CombineTaskbarNever,
[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,
[switch]$DisableWidgets, [switch]$HideWidgets,
[switch]$DisableChat, [switch]$HideChat,
[switch]$EnableEndTask,
[switch]$EnableLastActiveClick,
[switch]$ClearStart,
[string]$ReplaceStart,
[switch]$ClearStartAllUsers,
@@ -75,7 +88,7 @@ Write-Output "------------------------------------------------------------------
Write-Output "> Downloading Win11Debloat..."
# Download latest version of Win11Debloat from github as zip archive
Invoke-WebRequest https://github.com/Raphire/Win11Debloat/zipball/2025.05.26 -OutFile "$env:TEMP/win11debloat-temp.zip"
Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.09.27 -OutFile "$env:TEMP/win11debloat.zip"
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
if (Test-Path "$env:TEMP/Win11Debloat") {
@@ -88,10 +101,10 @@ Write-Output ""
Write-Output "> Unpacking..."
# Unzip archive to Win11Debloat folder
Expand-Archive "$env:TEMP/win11debloat-temp.zip" "$env:TEMP/Win11Debloat"
Expand-Archive "$env:TEMP/win11debloat.zip" "$env:TEMP/Win11Debloat"
# Remove archive
Remove-Item "$env:TEMP/win11debloat-temp.zip"
Remove-Item "$env:TEMP/win11debloat.zip"
# Move files
Get-ChildItem -Path "$env:TEMP/Win11Debloat/Raphire-Win11Debloat-*" -Recurse | Move-Item -Destination "$env:TEMP/Win11Debloat"

112
README.md
View File

@@ -47,7 +47,7 @@ Download & run the script automatically via PowerShell.
3. Wait for the script to automatically download Win11Debloat.
4. Carefully read through and follow the on-screen instructions.
This method supports parameters to customize the behaviour of the script. Please click [here](https://github.com/Raphire/Win11Debloat/wiki/How-To-Use#parameters) for more information.
This method supports command-line parameters to customize the behaviour of the script. Please click [here](https://github.com/Raphire/Win11Debloat/wiki/How-To-Use#parameters) for more information.
### Traditional method
@@ -83,12 +83,12 @@ This method supports parameters to customize the behaviour of the script. Please
6. Carefully read through and follow the on-screen instructions.
This method supports parameters to customize the behaviour of the script. Please click [here](https://github.com/Raphire/Win11Debloat/wiki/How-To-Use#parameters) for more information.
This method supports command-line parameters to customize the behaviour of the script. Please click [here](https://github.com/Raphire/Win11Debloat/wiki/How-To-Use#parameters) for more information.
</details>
## Features
Below is an overview of the key features and functionality offered by Win11Debloat. For more information about which of these features are included in the default mode please click [here](#default-settings).
Below is an overview of the key features and functionality offered by Win11Debloat. For more information about what features are included in the default mode please refer to [this section](#default-settings) below.
> [!Tip]
> All of the changes made by Win11Debloat can easily be reverted and almost all of the apps can be reinstalled through the Microsoft Store. A full guide on how to revert changes can be found [here](https://github.com/Raphire/Win11Debloat/wiki/Reverting-Changes).
@@ -96,19 +96,33 @@ Below is an overview of the key features and functionality offered by Win11Deblo
#### App Removal
- Remove a wide variety of preinstalled apps. Click [here](https://github.com/Raphire/Win11Debloat/wiki/App-Removal) for more info.
- Remove or replace all pinned apps from start for the current user, or for all existing & new users. (Windows 11 only)
- Remove or replace all pinned apps from start for the current user, or for all existing & new users. (W11 only)
#### 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 the 'Windows Spotlight' desktop background option.
#### Bing Web Search, Copilot & More
#### Bing Web Search, Copilot & AI Features
- Disable & remove Bing web search & Cortana from Windows search.
- Disable & remove Microsoft Copilot. (W11 only)
- Disable Windows Recall snapshots. (W11 only)
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot.
- 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.
- Disable transparency, animations and visual effects.
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
- Disable the Sticky Keys keyboard shortcut. (W11 only)
- Restore the old Windows 10 style context menu. (W11 only)
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
#### File Explorer
@@ -119,53 +133,61 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- 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, so only the entry under 'This PC' remains.
#### Taskbar & Start
#### Taskbar
- Align taskbar icons to the left. (W11 only)
- Choose combine mode for taskbar buttons and labels. (W11 only)
- Hide or change the search icon/box on the taskbar. (W11 only)
- Hide the taskview button from the taskbar. (W11 only)
- Disable the widgets service & hide icon from the taskbar.
- Hide the chat (meet now) icon from the taskbar.
- Disable & hide the recommended section in the start menu. (W11 only)
- Disable widgets on the taskbar & lockscreen.
- 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.
#### Context Menu
#### Start
- Restore the old Windows 10 style context menu. (W11 only)
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
- Disable the recommended section in the start menu. (W11 only)
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
#### Other
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
- Disable Fast Start-up to ensure a full shutdown.
- Disable the Sticky Keys keyboard shortcut. (W11 only)
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
- Option to [apply changes to a different user](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#running-as-another-user), instead of the currently logged in user.
- [Sysprep mode](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#sysprep-mode) to apply changes to the Windows Default user profile. Afterwards, all new users will have the changes automatically applied to them.
### Default Settings
Win11Debloat offers a 1-click default mode that allows you to quickly and easily apply the changes that are recommended for most people. This includes uninstalling apps that most would consider bloatware, removing many annoying distractions and disabling telemetry and tracking. Expand the section below for more information.
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:
```Powershell
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults
```
#### 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 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. (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. (W10 only)
#### Apps that ARE removed by default
These apps are uninstalled when you opt to remove the default selection of apps.
<details>
<summary>Click to expand</summary>
#### Default mode applies the following changes:
- Remove the default selection of bloatware apps. (See below for full list)
- 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 & remove Bing web search & Cortana from Windows search.
- Disable Microsoft Copilot. (W11 only)
- Disable Fast Start-up to ensure a full shutdown.
- Show file extensions for known file types.
- Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only)
- Disable the widget service & hide the icon from the taskbar.
- Hide the Chat (meet now) icon from the taskbar.
#### Apps that ARE removed as part of the default mode
<details>
<summary>Click to expand</summary>
<blockquote>
Microsoft bloat:
@@ -197,6 +219,7 @@ Win11Debloat offers a 1-click default mode that allows you to quickly and easily
- Microsoft.Office.Sway
- Microsoft.OneConnect
- Microsoft.Print3D
- Microsoft.StartExperiencesApp** (Widgets app)
- Microsoft.SkypeApp
- Microsoft.Todos
- Microsoft.WindowsAlarms
@@ -206,6 +229,7 @@ Win11Debloat offers a 1-click default mode that allows you to quickly and easily
- Microsoft.XboxApp (Old Xbox Console Companion App, no longer supported)
- Microsoft.ZuneVideo
- MicrosoftCorporationII.MicrosoftFamily (Microsoft Family Safety)
- MicrosoftCorporationII.QuickAssist (Remote assistance tool)
- MicrosoftTeams (Old personal version of MS Teams from the MS Store)
- MSTeams (New MS Teams app)
@@ -222,7 +246,6 @@ Win11Debloat offers a 1-click default mode that allows you to quickly and easily
- CyberLinkMediaSuiteEssentials
- DisneyMagicKingdoms
- Disney
- Dolby
- DrawboardPDF
- Duolingo-LearnLanguagesforFree
- EclipseManager
@@ -251,7 +274,6 @@ Win11Debloat offers a 1-click default mode that allows you to quickly and easily
- Shazam
- Sidia.LiveWallpaper
- SlingTV
- Speed Test
- Spotify
- TikTok
- TuneInRadio
@@ -261,13 +283,16 @@ Win11Debloat offers a 1-click default mode that allows you to quickly and easily
- Wunderlist
- XING
* App is removed when disabling Bing in Windows search.
</blockquote>
</details>
* 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
<details>
These apps will not be removed by Win11Debloat unless explicitly selected by the user.
<details>
<summary>Click to expand</summary>
<blockquote>
@@ -328,8 +353,7 @@ Win11Debloat offers a 1-click default mode that allows you to quickly and easily
- Windows.DevHome*
* Can be removed by running the script with the relevant parameter. (Please refer to the wiki for more details)
</blockquote>
</details>
</blockquote>
</details>
## License

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -8,3 +8,6 @@ Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"AllowRecallEnablement"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"TurnOffSavingSnapshots"=dword:00000001

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"UserPreferencesMask"=hex:90,12,07,80,10,00,00,00

View 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

View File

@@ -0,0 +1,11 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"CopilotCDPPageContext"=dword:00000000
"CopilotPageContext"=dword:00000000
"HubsSidebarEnabled"=dword:00000000
"EdgeEntraCopilotPageContext"=dword:00000000
"EdgeHistoryAISearchEnabled"=dword:00000000
"ComposeInlineEnabled"=dword:00000000
"GenAILocalFoundationalModelSettings"=dword:00000001
"NewTabPageBingChatEnabled"=dword:00000000

Binary file not shown.

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\f15576e8-98b7-4186-b944-eafa664402d9]
"ACSettingIndex"=dword:00000000
"DCSettingIndex"=dword:00000000

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
"DisableAIFeatures"=dword:00000001

View File

@@ -0,0 +1,8 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableCocreator"=dword:00000001
"DisableGenerativeFill"=dword:00000001
"DisableImageCreator"=dword:00000001
"DisableGenerativeErase"=dword:00000001
"DisableRemoveBackground"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Disable Show mobile device in Start
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start\Companions\Microsoft.YourPhone_8wekyb3d8bbwe]
"IsEnabled"=dword:00000000

Binary file not shown.

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"EnableTransparency"=dword:00000000

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
"SystemUsesLightTheme"=dword:00000000

View File

@@ -0,0 +1,16 @@
Windows Registry Editor Version 5.00
; When clicking the icon of a a running application in the taskbar (that
; currently has multiple windows open), typically a pop-up will appear showing
; the multiple windows, and you'll have to click a second time to select the
; window you want to focus on.
;
; This registry hack instead turns the icon click into a "focus on the last
; active window" action. You can click it repeatedly to cycle focus through all
; the windows open for that application.
;
; With this enabled, the pop-up window display will still show if you hover
; your mouse over the taskbar icon.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"LastActiveClick"=dword:00000001

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[hkey_users\default\Control Panel\Desktop]
"UserPreferencesMask"=hex:90,12,07,80,10,00,00,00

View 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

View File

@@ -0,0 +1,11 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"CopilotCDPPageContext"=dword:00000000
"CopilotPageContext"=dword:00000000
"HubsSidebarEnabled"=dword:00000000
"EdgeEntraCopilotPageContext"=dword:00000000
"EdgeHistoryAISearchEnabled"=dword:00000000
"ComposeInlineEnabled"=dword:00000000
"GenAILocalFoundationalModelSettings"=dword:00000001
"NewTabPageBingChatEnabled"=dword:00000000

Binary file not shown.

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\f15576e8-98b7-4186-b944-eafa664402d9]
"ACSettingIndex"=dword:00000000
"DCSettingIndex"=dword:00000000

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
"DisableAIFeatures"=dword:00000001

View File

@@ -0,0 +1,8 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableCocreator"=dword:00000001
"DisableGenerativeFill"=dword:00000001
"DisableImageCreator"=dword:00000001
"DisableGenerativeErase"=dword:00000001
"DisableRemoveBackground"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Disable Show mobile device in Start
[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Start\Companions\Microsoft.YourPhone_8wekyb3d8bbwe]
"IsEnabled"=dword:00000000

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"EnableTransparency"=dword:00000000

View File

@@ -0,0 +1,9 @@
Windows Registry Editor Version 5.00
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
"SystemUsesLightTheme"=dword:00000000
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"AppsUseLightTheme"="reg add HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f"
"SystemUsesLightTheme"="reg add HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f"

View File

@@ -0,0 +1,16 @@
Windows Registry Editor Version 5.00
; When clicking the icon of a a running application in the taskbar (that
; currently has multiple windows open), typically a pop-up will appear showing
; the multiple windows, and you'll have to click a second time to select the
; window you want to focus on.
;
; This registry hack instead turns the icon click into a "focus on the last
; active window" action. You can click it repeatedly to cycle focus through all
; the windows open for that application.
;
; With this enabled, the pop-up window display will still show if you hover
; your mouse over the taskbar icon.
[HKEY_USERS\default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"LastActiveClick"=dword:00000001

Binary file not shown.

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
; Allow personalization of ads, Microsoft Edge, search, news and other Microsoft services by sending browsing history, favorites and collections, usage and other browsing data to Microsoft
; Allow sending required and optional diagnostic data about browser usage
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"PersonalizationReportingEnabled"=-
"DiagnosticData"=-

View File

@@ -0,0 +1,8 @@
Windows Registry Editor Version 5.00
; This disables the last-active-click action for the taskbar.
; (Please see the `Enable_Last_Active_Click.reg` file for an
; explanation of what this undoes.)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"LastActiveClick"=-

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"UserPreferencesMask"=hex:9e,1e,07,80,12,00,00,00

View 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"=-

View File

@@ -0,0 +1,11 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"CopilotCDPPageContext"=-
"CopilotPageContext"=-
"HubsSidebarEnabled"=-
"EdgeEntraCopilotPageContext"=-
"EdgeHistoryAISearchEnabled"=-
"ComposeInlineEnabled"=-
"GenAILocalFoundationalModelSettings"=-
"NewTabPageBingChatEnabled"=-

Binary file not shown.

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000001
"SystemUsesLightTheme"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\f15576e8-98b7-4186-b944-eafa664402d9]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
"DisableAIFeatures"=-

View File

@@ -0,0 +1,8 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableCocreator"=-
"DisableGenerativeFill"=-
"DisableImageCreator"=-
"DisableGenerativeErase"=-
"DisableRemoveBackground"=-

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Enable Show mobile device in Start
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start\Companions\Microsoft.YourPhone_8wekyb3d8bbwe]
"IsEnabled"=dword:00000001

Binary file not shown.

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"EnableTransparency"=dword:00000001

View File

@@ -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}"
)

View File

@@ -8,7 +8,8 @@ param (
[string]$User,
[switch]$CreateRestorePoint,
[switch]$RunAppsListGenerator, [switch]$RunAppConfigurator,
[switch]$RunDefaults, [switch]$RunWin11Defaults,
[switch]$RunDefaults,
[switch]$RunDefaultsLite,
[switch]$RunSavedSettings,
[switch]$RemoveApps,
[switch]$RemoveAppsCustom,
@@ -21,24 +22,36 @@ param (
[switch]$DisableDVR,
[switch]$DisableTelemetry,
[switch]$DisableFastStartup,
[switch]$DisableModernStandbyNetworking,
[switch]$DisableBingSearches, [switch]$DisableBing,
[switch]$DisableDesktopSpotlight,
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
[switch]$DisableEdgeAds,
[switch]$DisableSettings365Ads,
[switch]$DisableSettingsHome,
[switch]$ShowHiddenFolders,
[switch]$ShowKnownFileExt,
[switch]$HideDupliDrive,
[switch]$EnableDarkMode,
[switch]$DisableTransparency,
[switch]$DisableAnimations,
[switch]$TaskbarAlignLeft,
[switch]$CombineTaskbarAlways, [switch]$CombineTaskbarWhenFull, [switch]$CombineTaskbarNever,
[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,
[switch]$DisableWidgets, [switch]$HideWidgets,
[switch]$DisableChat, [switch]$HideChat,
[switch]$EnableEndTask,
[switch]$EnableLastActiveClick,
[switch]$ClearStart,
[string]$ReplaceStart,
[switch]$ClearStartAllUsers,
@@ -457,7 +470,7 @@ function ForceRemoveEdge {
$hklm = [Microsoft.Win32.RegistryKey]::OpenBaseKey([Microsoft.Win32.RegistryHive]::LocalMachine, $regView)
$hklm.CreateSubKey('SOFTWARE\Microsoft\EdgeUpdateDev').SetValue('AllowUninstall', '')
# Create stub (Creating this somehow allows uninstalling edge)
# Create stub (Creating this somehow allows uninstalling Edge)
$edgeStub = "$env:SystemRoot\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe"
New-Item $edgeStub -ItemType Directory | Out-Null
New-Item "$edgeStub\MicrosoftEdge.exe" | Out-Null
@@ -490,7 +503,7 @@ function ForceRemoveEdge {
Write-Output "Cleaning up registry..."
# Remove ms edge from autostart
# Remove MS Edge from autostart
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "MicrosoftEdgeAutoLaunch_A9F6DCE4ABADF4F51CF45CD7129E3C6C" /f *>$null
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "Microsoft Edge Update" /f *>$null
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "MicrosoftEdgeAutoLaunch_A9F6DCE4ABADF4F51CF45CD7129E3C6C" /f *>$null
@@ -532,6 +545,62 @@ function Strip-Progress {
}
# Check if this machine supports S0 Modern Standby power state. Returns true if S0 Modern Standby is supported, false otherwise.
function CheckModernStandbySupport {
$count = 0
try {
switch -Regex (powercfg /a) {
':' {
$count += 1
}
'(.*S0.{1,}\))' {
if ($count -eq 1) {
return $true
}
}
}
}
catch {
Write-Host "Error: Unable to check for S0 Modern Standby support, powercfg command failed" -ForegroundColor Red
Write-Host ""
Write-Host "Press any key to continue..."
$null = [System.Console]::ReadKey()
return $true
}
return $false
}
# Returns the directory path of the specified user, exits script if user path can't be found
function GetUserDirectory {
param (
$userName,
$fileName = "",
$exitIfPathNotFound = $true
)
$userDirectoryExists = Test-Path "$env:SystemDrive\Users\$userName"
$userPath = "$env:SystemDrive\Users\$userName\$fileName"
if ((Test-Path $userPath) -or ($userDirectoryExists -and (-not $exitIfPathNotFound))) {
return $userPath
}
$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
}
Write-Host "Error: Unable to find user directory path for user $userName" -ForegroundColor Red
AwaitKeyToExit
}
# Import & execute regfile
function RegImport {
param (
@@ -542,14 +611,14 @@ function RegImport {
Write-Output $message
if ($script:Params.ContainsKey("Sysprep")) {
$defaultUserPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), '\Default\NTUSER.DAT'
$defaultUserPath = GetUserDirectory -userName "Default" -fileName "NTUSER.DAT"
reg load "HKU\Default" $defaultUserPath | Out-Null
reg import "$PSScriptRoot\Regfiles\Sysprep\$path"
reg unload "HKU\Default" | Out-Null
}
elseif ($script:Params.ContainsKey("User")) {
$userPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$($script:Params.Item("User"))\NTUSER.DAT"
$userPath = GetUserDirectory -userName $script:Params.Item("User") -fileName "NTUSER.DAT"
reg load "HKU\Default" $userPath | Out-Null
reg import "$PSScriptRoot\Regfiles\Sysprep\$path"
@@ -580,6 +649,10 @@ function RestartExplorer {
Write-Host "Warning: The Sticky Keys setting changes will only take effect after a reboot" -ForegroundColor Yellow
}
if ($script:Params.ContainsKey("DisableAnimations")) {
Write-Host "Warning: Animations will only be disabled after a reboot" -ForegroundColor Yellow
}
# Only restart if the powershell process matches the OS architecture.
# Restarting explorer from a 32bit PowerShell window will fail on a 64bit OS
if ([Environment]::Is64BitProcess -eq [Environment]::Is64BitOperatingSystem) {
@@ -595,7 +668,7 @@ function RestartExplorer {
# Credit: https://lazyadmin.nl/win-11/customize-windows-11-start-menu-layout/
function ReplaceStartMenuForAllUsers {
param (
$startMenuTemplate = "$PSScriptRoot/Start/start2.bin"
$startMenuTemplate = "$PSScriptRoot/Assets/Start/start2.bin"
)
Write-Output "> Removing all pinned apps from the start menu for all users..."
@@ -608,16 +681,16 @@ function ReplaceStartMenuForAllUsers {
}
# Get path to start menu file for all users
$userPathString = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\*\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState"
$userPathString = GetUserDirectory -userName "*" -fileName "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState"
$usersStartMenuPaths = get-childitem -path $userPathString
# Go through all users and replace the start menu file
ForEach ($startMenuPath in $usersStartMenuPaths) {
ReplaceStartMenu "$($startMenuPath.Fullname)\start2.bin" $startMenuTemplate
ReplaceStartMenu $startMenuTemplate "$($startMenuPath.Fullname)\start2.bin"
}
# Also replace the start menu file for the default user profile
$defaultStartMenuPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), '\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState'
$defaultStartMenuPath = GetUserDirectory -userName "Default" -fileName "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState" -exitIfPathNotFound $false
# Create folder if it doesn't exist
if (-not (Test-Path $defaultStartMenuPath)) {
@@ -636,13 +709,13 @@ function ReplaceStartMenuForAllUsers {
# Credit: https://lazyadmin.nl/win-11/customize-windows-11-start-menu-layout/
function ReplaceStartMenu {
param (
$startMenuTemplate = "$PSScriptRoot/Start/start2.bin",
$startMenuTemplate = "$PSScriptRoot/Assets/Start/start2.bin",
$startMenuBinFile = "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start2.bin"
)
# Change path to correct user if a user was specified
if ($script:Params.ContainsKey("User")) {
$startMenuBinFile = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$(GetUserName)\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"
}
# Check if template bin file exists, return early if it doesn't
@@ -656,9 +729,11 @@ function ReplaceStartMenu {
return
}
$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 $(GetUserName), original start2.bin file not found" -ForegroundColor Red
Write-Host "Error: Unable to replace start menu for user $userName, original start2.bin file not found" -ForegroundColor Red
return
}
@@ -670,7 +745,7 @@ function ReplaceStartMenu {
# Copy template file
Copy-Item -Path $startMenuTemplate -Destination $startMenuBinFile -Force
Write-Output "Replaced start menu for user $(GetUserName)"
Write-Output "Replaced start menu for user $userName"
}
@@ -678,7 +753,8 @@ function ReplaceStartMenu {
function AddParameter {
param (
$parameterName,
$message
$message,
$addToFile = $true
)
# Add key if it doesn't already exist
@@ -686,6 +762,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"
@@ -726,12 +807,15 @@ function PrintHeader {
function PrintFromFile {
param (
$path,
$title
$title,
$printHeader = $true
)
if ($printHeader) {
Clear-Host
PrintHeader $title
}
# Get & print script menu from file
Foreach ($line in (Get-Content -Path $path )) {
@@ -740,6 +824,20 @@ function PrintFromFile {
}
function PrintAppsList {
param (
$path
)
if (-not (Test-Path $path)) {
return
}
$appsList = ReadAppslistFromFile $path
Write-Host $appsList -ForegroundColor DarkGray
}
function AwaitKeyToExit {
# Suppress prompt if Silent parameter was passed
if (-not $Silent) {
@@ -769,25 +867,35 @@ function CreateSystemRestorePoint {
if ($SysRestore.RPSessionInterval -eq 0) {
if ($Silent -or $( Read-Host -Prompt "System restore is disabled, would you like to enable it and create a restore point? (y/n)") -eq 'y') {
$enableSystemRestoreJob = Start-Job {
try {
Enable-ComputerRestore -Drive "$env:SystemDrive"
} catch {
Write-Host "Error: Failed to enable System Restore: $_" -ForegroundColor Red
Write-Output ""
return
}
}
$enableSystemRestoreJobDone = $enableSystemRestoreJob | Wait-Job -TimeOut 20
if (-not $enableSystemRestoreJobDone) {
Write-Host "Error: Failed to enable system restore and create restore point, operation timed out" -ForegroundColor Red
return
} else {
Receive-Job $enableSystemRestoreJob
}
} else {
Write-Output ""
return
}
}
$createRestorePointJob = Start-Job {
# Find existing restore points that are less than 24 hours old
try {
$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
}
@@ -801,6 +909,15 @@ function CreateSystemRestorePoint {
} else {
Write-Host "A recent restore point already exists, no new restore point was created." -ForegroundColor Yellow
}
}
$createRestorePointJobDone = $createRestorePointJob | Wait-Job -TimeOut 20
if (-not $createRestorePointJobDone) {
Write-Host "Error: Failed to create system restore point, operation timed out" -ForegroundColor Red
} else {
Receive-Job $createRestorePointJob
}
Write-Output ""
}
@@ -818,10 +935,10 @@ 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, aswell as mail & calendar apps, developer apps and gaming apps" -ForegroundColor Yellow
Write-Host " (3) Select which apps to remove and which to keep" -ForegroundColor Yellow
$RemoveAppsInput = Read-Host "Remove any pre-installed apps? (n/1/2/3)"
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, developer apps and gaming 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)"
# Show app selection form if user entered option 3
if ($RemoveAppsInput -eq '3') {
@@ -843,10 +960,10 @@ 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'
@@ -860,7 +977,7 @@ function DisplayCustomModeOptions {
Write-Output ""
if ($( Read-Host -Prompt "Disable Xbox game/screen recording? Also stops gaming overlay popups (y/n)" ) -eq 'y') {
if ($( Read-Host -Prompt "Disable Xbox game/screen recording? This also stops gaming overlay popups (y/n)" ) -eq 'y') {
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
}
}
@@ -874,25 +991,48 @@ function DisplayCustomModeOptions {
Write-Output ""
if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer and lockscreen? (y/n)" ) -eq 'y') {
if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer, lockscreen and Edge? (y/n)" ) -eq 'y') {
AddParameter 'DisableSuggestions' 'Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer'
AddParameter 'DisableEdgeAds' 'Disable ads, suggestions and the MSN news feed in Microsoft Edge'
AddParameter 'DisableSettings365Ads' 'Disable Microsoft 365 ads in Settings Home'
AddParameter 'DisableLockscreenTips' 'Disable tips & tricks on the lockscreen'
}
Write-Output ""
if ($( Read-Host -Prompt "Disable & remove bing web search, bing AI & cortana in Windows search? (y/n)" ) -eq 'y') {
AddParameter 'DisableBing' 'Disable & remove bing web search, bing AI & cortana in Windows search'
if ($( Read-Host -Prompt "Disable & remove Bing web search, Bing AI and Cortana from Windows search? (y/n)" ) -eq 'y') {
AddParameter 'DisableBing' 'Disable & remove Bing web search, Bing AI and Cortana from Windows search'
}
# Only show this option for Windows 11 users running build 22621 or later
if ($WinVersion -ge 22621) {
Write-Output ""
if ($( Read-Host -Prompt "Disable & remove Microsoft Copilot and Windows Recall snapshots? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableCopilot' 'Disable and remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable and remove Windows Recall snapshots'
# Show options for disabling/removing AI features, only continue on valid input
Do {
Write-Host "Options:" -ForegroundColor Yellow
Write-Host " (n) Don't disable any AI features" -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')
# Select correct option based on user input
switch ($DisableAIInput) {
'1' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
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'
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'
}
}
}
@@ -902,6 +1042,19 @@ function DisplayCustomModeOptions {
AddParameter 'DisableDesktopSpotlight' 'Disable the Windows Spotlight desktop background option.'
}
Write-Output ""
if ($( Read-Host -Prompt "Enable dark mode for system and apps? (y/n)" ) -eq 'y') {
AddParameter 'EnableDarkMode' 'Enable dark mode for system and apps'
}
Write-Output ""
if ($( Read-Host -Prompt "Disable transparency, animations and visual effects? (y/n)" ) -eq 'y') {
AddParameter 'DisableTransparency' 'Disable transparency effects'
AddParameter 'DisableAnimations' 'Disable animations and visual effects'
}
# Only show this option for Windows 11 users running build 22000 or later
if ($WinVersion -ge 22000) {
Write-Output ""
@@ -928,10 +1081,19 @@ function DisplayCustomModeOptions {
Write-Output ""
if ($( Read-Host -Prompt "Disable Fast Start-up? (y/n)" ) -eq 'y') {
if ($( Read-Host -Prompt "Disable Fast Start-up? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableFastStartup' 'Disable Fast Start-up'
}
# Only show this option for Windows 11 users running build 22000 or later, and if the machine has at least one battery
if (($WinVersion -ge 22000) -and $script:ModernStandbySupported) {
Write-Output ""
if ($( Read-Host -Prompt "Disable network connectivity during Modern Standby? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableModernStandbyNetworking' 'Disable network connectivity during Modern Standby'
}
}
# Only show option for disabling context menu items for Windows 10 users or if the user opted to restore the Windows 10 context menu
if ((get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") -or $script:Params.ContainsKey('RevertContextMenu')) {
Write-Output ""
@@ -992,8 +1154,14 @@ function DisplayCustomModeOptions {
Write-Output ""
if ($( Read-Host -Prompt " Disable & hide the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableStartRecommended' 'Disable & hide the recommended section in the start menu.'
if ($( Read-Host -Prompt " Disable the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableStartRecommended' 'Disable the recommended section in the start menu.'
}
Write-Output ""
if ($( Read-Host -Prompt " Disable the Phone Link mobile devices integration in the start menu? (y/n)" ) -eq 'y') {
AddParameter 'DisableStartPhoneLink' 'Disable the Phone Link mobile devices integration in the start menu.'
}
}
}
@@ -1009,6 +1177,31 @@ 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'
}
'2' {
AddParameter 'CombineTaskbarWhenFull' 'Combine taskbar buttons and hide labels when taskbar is full'
}
'3' {
AddParameter 'CombineTaskbarNever' 'Never combine taskbar buttons and show labels'
}
}
# Show options for search icon on taskbar, only continue on valid input
Do {
Write-Output ""
@@ -1047,8 +1240,8 @@ function DisplayCustomModeOptions {
Write-Output ""
if ($( Read-Host -Prompt " Disable the widgets service and hide the icon from the taskbar? (y/n)" ) -eq 'y') {
AddParameter 'DisableWidgets' 'Disable the widget service & hide the widget (news and interests) icon from the taskbar'
if ($( Read-Host -Prompt " Disable the widgets service to remove widgets on the taskbar & lockscreen? (y/n)" ) -eq 'y') {
AddParameter 'DisableWidgets' 'Disable widgets on the taskbar & lockscreen'
}
# Only show this options for Windows users running build 22621 or earlier
@@ -1068,6 +1261,11 @@ function DisplayCustomModeOptions {
AddParameter 'EnableEndTask' "Enable the 'End Task' option in the taskbar right click menu"
}
}
Write-Output ""
if ($( Read-Host -Prompt " Enable the 'Last Active Click' behavior in the taskbar app area? (y/n)" ) -eq 'y') {
AddParameter 'EnableLastActiveClick' "Enable the 'Last Active Click' behavior in the taskbar app area"
}
}
Write-Output ""
@@ -1202,6 +1400,9 @@ else {
# Get current Windows build version to compare against features
$WinVersion = Get-ItemPropertyValue 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' CurrentBuild
# Check if the machine supports Modern Standby, this is used to determine if the DisableModernStandbyNetworking option can be used
$script:ModernStandbySupported = CheckModernStandbySupport
$script:Params = $PSBoundParameters
$script:FirstSelection = $true
$SPParams = 'WhatIf', 'Confirm', 'Verbose', 'Silent', 'Sysprep', 'Debug', 'User', 'CreateRestorePoint', 'LogPath'
@@ -1228,15 +1429,9 @@ else {
$ProgressPreference = 'Continue'
}
# Make sure all requirements for Sysprep are met, if Sysprep is enabled
if ($script:Params.ContainsKey("Sysprep")) {
$defaultUserPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), '\Default\NTUSER.DAT'
$defaultUserPath = GetUserDirectory -userName "Default"
# Exit script if default user directory or NTUSER.DAT file cannot be found
if (-not (Test-Path "$defaultUserPath")) {
Write-Host "Error: Unable to start Win11Debloat in Sysprep mode, cannot find default user folder at '$defaultUserPath'" -ForegroundColor Red
AwaitKeyToExit
}
# Exit script if run in Sysprep mode on Windows 10
if ($WinVersion -lt 22000) {
Write-Host "Error: Win11Debloat Sysprep mode is not supported on Windows 10" -ForegroundColor Red
@@ -1246,13 +1441,7 @@ if ($script:Params.ContainsKey("Sysprep")) {
# Make sure all requirements for User mode are met, if User is specified
if ($script:Params.ContainsKey("User")) {
$userPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$($script:Params.Item("User"))\NTUSER.DAT"
# Exit script if user directory or NTUSER.DAT file cannot be found
if (-not (Test-Path "$userPath")) {
Write-Host "Error: Unable to run Win11Debloat for user $($script:Params.Item("User")), cannot find user data at '$userPath'" -ForegroundColor Red
AwaitKeyToExit
}
$userPath = GetUserDirectory -userName $script:Params.Item("User")
}
# Remove SavedSettings file if it exists and is empty
@@ -1279,8 +1468,8 @@ if ($RunAppConfigurator -or $RunAppsListGenerator) {
}
# Change script execution based on provided parameters or user input
if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunSavedSettings -or ($SPParamCount -eq $script:Params.Count)) {
if ($RunDefaults -or $RunWin11Defaults) {
if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSavedSettings -or ($SPParamCount -eq $script:Params.Count)) {
if ($RunDefaults -or $RunDefaultsLite) {
$Mode = '1'
}
elseif ($RunSavedSettings) {
@@ -1335,15 +1524,82 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
switch ($Mode) {
# Default mode, loads defaults after confirmation
'1' {
AddParameter 'CreateRestorePoint' 'Create a system restore point' $false
# Show the default settings with confirmation, unless Silent parameter was passed
if (-not $Silent) {
PrintFromFile "$PSScriptRoot/Assets/Menus/DefaultSettings" "Default Mode"
# Show options for app removal
if ((-not $RunDefaults) -and (-not $RunDefaultsLite)) {
PrintHeader 'Default Mode'
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 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)"
# Show app selection form if user entered option 3
if ($RemoveAppsInput -eq '2') {
$result = ShowAppSelectionForm
if ($result -ne [System.Windows.Forms.DialogResult]::OK) {
# User cancelled or closed app selection, show error and change RemoveAppsInput so the menu will be shown again
Write-Output ""
Write-Host "Cancelled application selection, please try again" -ForegroundColor Red
$RemoveAppsInput = 'c'
}
Write-Output ""
}
}
while ($RemoveAppsInput -ne 'n' -and $RemoveAppsInput -ne '0' -and $RemoveAppsInput -ne '1' -and $RemoveAppsInput -ne '2')
} elseif ($RunDefaultsLite) {
$RemoveAppsInput = '0'
} else {
$RemoveAppsInput = '1'
}
PrintHeader 'Default Mode'
Write-Output "Win11Debloat will make the following changes:"
# Select correct option based on user input
switch ($RemoveAppsInput) {
'1' {
AddParameter 'RemoveApps' 'Remove the default selection of apps:' $false
PrintAppsList "$PSScriptRoot/Appslist.txt"
}
'2' {
AddParameter 'RemoveAppsCustom' 'Remove $($script:SelectedApps.Count) apps:' $false
PrintAppsList "$PSScriptRoot/CustomAppsList"
}
}
# 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
Write-Output "Press enter to execute the script or press CTRL+C to quit..."
Read-Host | Out-Null
}
$DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup'
$DefaultParameterNames = 'DisableCopilot','DisableTelemetry','DisableSuggestions','DisableEdgeAds','DisableLockscreenTips','DisableBing','ShowKnownFileExt','DisableWidgets','DisableFastStartup'
PrintHeader 'Default Mode'
@@ -1353,11 +1609,6 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
$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)
}
}
# Custom mode, show & add options based on user input
@@ -1406,14 +1657,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
# 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
}
$appsList = ReadAppslistFromFile "$PSScriptRoot/CustomAppsList"
Write-Output "- Remove $($appsList.Count) apps:"
Write-Host $appsList -ForegroundColor DarkGray
PrintAppsList "$PSScriptRoot/CustomAppsList"
}
else {
Write-Output $line.Substring(($line.IndexOf('#') + 1), ($line.Length - $line.IndexOf('#') - 1))
@@ -1518,8 +1762,8 @@ switch ($script:Params.Keys) {
RegImport "> Disabling tips, tricks, suggestions and ads across Windows..." "Disable_Windows_Suggestions.reg"
continue
}
'DisableSettings365Ads' {
RegImport "> Disabling Microsoft 365 ads in Settings Home..." "Disable_Settings_365_Ads.reg"
'DisableEdgeAds' {
RegImport "> Disabling ads, suggestions and the MSN news feed in Microsoft Edge..." "Disable_Edge_Ads_And_Suggestions.reg"
continue
}
{$_ -in "DisableLockscrTips", "DisableLockscreenTips"} {
@@ -1530,28 +1774,48 @@ switch ($script:Params.Keys) {
RegImport "> Disabling the 'Windows Spotlight' desktop background option..." "Disable_Desktop_Spotlight.reg"
continue
}
'DisableSettings365Ads' {
RegImport "> Disabling Microsoft 365 ads in Settings Home..." "Disable_Settings_365_Ads.reg"
continue
}
'DisableSettingsHome' {
RegImport "> Disabling the Settings Home page..." "Disable_Settings_Home.reg"
continue
}
{$_ -in "DisableBingSearches", "DisableBing"} {
RegImport "> Disabling bing web search, bing AI & cortana in Windows search..." "Disable_Bing_Cortana_In_Search.reg"
RegImport "> Disabling Bing web search, Bing AI and Cortana from Windows search..." "Disable_Bing_Cortana_In_Search.reg"
# Also remove the app package for bing search
# Also remove the app package for Bing search
$appsList = 'Microsoft.BingSearch'
RemoveApps $appsList
continue
}
'DisableCopilot' {
RegImport "> Disabling & removing Microsoft Copilot..." "Disable_Copilot.reg"
RegImport "> Disabling Microsoft Copilot..." "Disable_Copilot.reg"
# Also remove the app package for copilot
# Also remove the app package for Copilot
$appsList = 'Microsoft.Copilot'
RemoveApps $appsList
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' {
RegImport "> Disabling AI features in Microsoft Edge..." "Disable_Edge_AI_Features.reg"
continue
}
'DisablePaintAI' {
RegImport "> Disabling AI features in Paint..." "Disable_Paint_AI_Features.reg"
continue
}
'DisableNotepadAI' {
RegImport "> Disabling AI features in Notepad..." "Disable_Notepad_AI_Features.reg"
continue
}
'RevertContextMenu' {
@@ -1570,6 +1834,10 @@ switch ($script:Params.Keys) {
RegImport "> Disabling Fast Start-up..." "Disable_Fast_Startup.reg"
continue
}
'DisableModernStandbyNetworking' {
RegImport "> Disabling network connectivity during Modern Standby..." "Disable_Modern_Standby_Networking.reg"
continue
}
'ClearStart' {
Write-Output "> Removing all pinned apps from the start menu for user $(GetUserName)..."
ReplaceStartMenu
@@ -1591,13 +1859,41 @@ switch ($script:Params.Keys) {
continue
}
'DisableStartRecommended' {
RegImport "> Disabling and hiding the start menu recommended section..." "Disable_Start_Recommended.reg"
RegImport "> Disabling the start menu recommended section..." "Disable_Start_Recommended.reg"
continue
}
'DisableStartPhoneLink' {
RegImport "> Disabling the Phone Link mobile devices integration in the start menu..." "Disable_Phone_Link_In_Start.reg"
continue
}
'EnableDarkMode' {
RegImport "> Enabling dark mode for system and apps..." "Enable_Dark_Mode.reg"
continue
}
'DisableTransparency' {
RegImport "> Disabling transparency effects..." "Disable_Transparency.reg"
continue
}
'DisableAnimations' {
RegImport "> Disabling animations and visual effects..." "Disable_Animations.reg"
continue
}
'TaskbarAlignLeft' {
RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg"
continue
}
'CombineTaskbarAlways' {
RegImport "> Setting the taskbar to always combine buttons and hide labels..." "Combine_Taskbar_Never.reg"
continue
}
'CombineTaskbarWhenFull' {
RegImport "> Setting the taskbar to only combine buttons and hide labels when the taskbar is full..." "Combine_Taskbar_When_Full.reg"
continue
}
'CombineTaskbarNever' {
RegImport "> Setting the taskbar to never combine buttons or hide labels..." "Combine_Taskbar_Never.reg"
continue
}
'HideSearchTb' {
RegImport "> Hiding the search icon from the taskbar..." "Hide_Search_Taskbar.reg"
continue
@@ -1619,7 +1915,7 @@ switch ($script:Params.Keys) {
continue
}
{$_ -in "HideWidgets", "DisableWidgets"} {
RegImport "> Disabling the widget service and hiding the widget icon from the taskbar..." "Disable_Widgets_Taskbar.reg"
RegImport "> Disabling widgets on the taskbar & lockscreen..." "Disable_Widgets_Service.reg"
# Also remove the app package for Widgets
$appsList = 'Microsoft.StartExperiencesApp'
@@ -1634,6 +1930,10 @@ switch ($script:Params.Keys) {
RegImport "> Enabling the 'End Task' option in the taskbar right click menu..." "Enable_End_Task.reg"
continue
}
'EnableLastActiveClick' {
RegImport "> Enabling the 'Last Active Click' behavior in the taskbar app area..." "Enable_Last_Active_Click.reg"
continue
}
'ExplorerToHome' {
RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg"
continue