mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Compare commits
45 Commits
2025.05.19
...
2025.09.08
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
260895618d | ||
|
|
a662273414 | ||
|
|
6c4b401a21 | ||
|
|
75f71972b3 | ||
|
|
c3de7803ae | ||
|
|
8ce501511f | ||
|
|
a65548b9b7 | ||
|
|
98b9348b70 | ||
|
|
b100cf15f2 | ||
|
|
b6dc5c0147 | ||
|
|
a68c0a53fb | ||
|
|
31b13bf861 | ||
|
|
62e95376a6 | ||
|
|
c881858f32 | ||
|
|
cc3fc90592 | ||
|
|
70ebe29f70 | ||
|
|
74ffa9618c | ||
|
|
1cf461940d | ||
|
|
9c92f30160 | ||
|
|
49233234fa | ||
|
|
f5057625d8 | ||
|
|
41b0006430 | ||
|
|
1a170a2db1 | ||
|
|
a6a7232709 | ||
|
|
3f22b8d22d | ||
|
|
1c7c7f734f | ||
|
|
1729831af9 | ||
|
|
a2095b2b60 | ||
|
|
d7c47a587c | ||
|
|
c5702f7096 | ||
|
|
352e6db5a1 | ||
|
|
34addd3425 | ||
|
|
4165f9940d | ||
|
|
8bc12a5a85 | ||
|
|
67d529c22b | ||
|
|
26ebc7d91f | ||
|
|
355ae22da8 | ||
|
|
a3851e3dbb | ||
|
|
0aa146ac3e | ||
|
|
44703765fb | ||
|
|
c324483c7b | ||
|
|
6c4b791d79 | ||
|
|
6eccf15d88 | ||
|
|
df9f00c726 | ||
|
|
1e7d212c10 |
27
.github/ISSUE_TEMPLATE/bug_report.md
vendored
27
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -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
79
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal 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
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal 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
|
||||||
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -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.
|
|
||||||
46
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
46
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal 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
|
||||||
274
Appslist.txt
274
Appslist.txt
@@ -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 #
|
# 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. #
|
# KEEP installed by default. #
|
||||||
# -------------------------------------------------------------------------------------------------------------- #
|
# -------------------------------------------------------------------------------------------------------------- #
|
||||||
Clipchamp.Clipchamp
|
Clipchamp.Clipchamp # Video editor from Microsoft
|
||||||
Microsoft.3DBuilder
|
Microsoft.3DBuilder # Basic 3D modeling software
|
||||||
Microsoft.549981C3F5F10 #Cortana app
|
Microsoft.549981C3F5F10 # Cortana app (Voice assistant)
|
||||||
Microsoft.BingFinance
|
Microsoft.BingFinance # Finance news and tracking via Bing (Discontinued)
|
||||||
Microsoft.BingFoodAndDrink
|
Microsoft.BingFoodAndDrink # Recipes and food news via Bing (Discontinued)
|
||||||
Microsoft.BingHealthAndFitness
|
Microsoft.BingHealthAndFitness # Health and fitness tracking/news via Bing (Discontinued)
|
||||||
Microsoft.BingNews
|
Microsoft.BingNews # News aggregator via Bing (Replaced by Microsoft News/Start)
|
||||||
Microsoft.BingSports
|
Microsoft.BingSports # Sports news and scores via Bing (Discontinued)
|
||||||
Microsoft.BingTranslator
|
Microsoft.BingTranslator # Translation service via Bing
|
||||||
Microsoft.BingTravel
|
Microsoft.BingTravel # Travel planning and news via Bing (Discontinued)
|
||||||
Microsoft.BingWeather
|
Microsoft.BingWeather # Weather forecast via Bing
|
||||||
Microsoft.Copilot
|
Microsoft.Copilot # AI assistant integrated into Windows
|
||||||
Microsoft.Getstarted # Cannot be uninstalled in Windows 11
|
Microsoft.Getstarted # Tips and introductory guide for Windows (Cannot be uninstalled in Windows 11)
|
||||||
Microsoft.Messaging
|
Microsoft.Messaging # Messaging app, often integrates with Skype (Largely deprecated)
|
||||||
Microsoft.Microsoft3DViewer
|
Microsoft.Microsoft3DViewer # Viewer for 3D models
|
||||||
Microsoft.MicrosoftJournal
|
Microsoft.MicrosoftJournal # Digital note-taking app optimized for pen input
|
||||||
Microsoft.MicrosoftOfficeHub
|
Microsoft.MicrosoftOfficeHub # Hub to access Microsoft Office apps and documents (Precursor to Microsoft 365 app)
|
||||||
Microsoft.MicrosoftPowerBIForWindows
|
Microsoft.MicrosoftPowerBIForWindows # Business analytics service client
|
||||||
Microsoft.MicrosoftSolitaireCollection
|
Microsoft.MicrosoftSolitaireCollection # Collection of solitaire card games
|
||||||
Microsoft.MicrosoftStickyNotes
|
Microsoft.MicrosoftStickyNotes # Digital sticky notes app
|
||||||
Microsoft.MixedReality.Portal
|
Microsoft.MixedReality.Portal # Portal for Windows Mixed Reality headsets
|
||||||
Microsoft.NetworkSpeedTest
|
Microsoft.NetworkSpeedTest # Internet connection speed test utility
|
||||||
Microsoft.News
|
Microsoft.News # News aggregator (Replaced Bing News, now part of Microsoft Start)
|
||||||
Microsoft.Office.OneNote
|
Microsoft.Office.OneNote # Digital note-taking app (Universal Windows Platform version)
|
||||||
Microsoft.Office.Sway
|
Microsoft.Office.Sway # Presentation and storytelling app
|
||||||
Microsoft.OneConnect
|
Microsoft.OneConnect # Mobile Operator management app (Replaced by Mobile Plans)
|
||||||
Microsoft.Print3D
|
Microsoft.Print3D # 3D printing preparation software
|
||||||
Microsoft.SkypeApp
|
Microsoft.SkypeApp # Skype communication app (Universal Windows Platform version)
|
||||||
Microsoft.Todos
|
Microsoft.Todos # To-do list and task management app
|
||||||
Microsoft.WindowsAlarms
|
Microsoft.WindowsAlarms # Alarms & Clock app
|
||||||
Microsoft.WindowsFeedbackHub
|
Microsoft.WindowsFeedbackHub # App for providing feedback to Microsoft on Windows
|
||||||
Microsoft.WindowsMaps
|
Microsoft.WindowsMaps # Mapping and navigation app
|
||||||
Microsoft.WindowsSoundRecorder
|
Microsoft.WindowsSoundRecorder # Basic audio recording app
|
||||||
Microsoft.XboxApp # Old Xbox Console Companion App, no longer supported
|
Microsoft.XboxApp # Old Xbox Console Companion App, no longer supported
|
||||||
Microsoft.ZuneVideo
|
Microsoft.ZuneVideo # Movies & TV app for renting/buying/playing video content (Rebranded as "Films & TV")
|
||||||
MicrosoftCorporationII.MicrosoftFamily # Family Safety App
|
MicrosoftCorporationII.MicrosoftFamily # Family Safety App for managing family accounts and settings
|
||||||
MicrosoftCorporationII.QuickAssist
|
MicrosoftCorporationII.QuickAssist # Remote assistance tool
|
||||||
MicrosoftTeams # Old MS Teams personal (MS Store)
|
MicrosoftTeams # Old MS Teams personal (MS Store version)
|
||||||
MSTeams # New MS Teams app
|
MSTeams # New MS Teams app (Work/School or Personal)
|
||||||
|
|
||||||
ACGMediaPlayer
|
ACGMediaPlayer # Media player app
|
||||||
ActiproSoftwareLLC
|
ActiproSoftwareLLC # Potentially UI controls or software components, often bundled by OEMs
|
||||||
AdobeSystemsIncorporated.AdobePhotoshopExpress
|
AdobeSystemsIncorporated.AdobePhotoshopExpress # Basic photo editing app from Adobe
|
||||||
Amazon.com.Amazon
|
Amazon.com.Amazon # Amazon shopping app
|
||||||
AmazonVideo.PrimeVideo
|
AmazonVideo.PrimeVideo # Amazon Prime Video streaming service app
|
||||||
Asphalt8Airborne
|
Asphalt8Airborne # Racing game
|
||||||
AutodeskSketchBook
|
AutodeskSketchBook # Digital drawing and sketching app
|
||||||
CaesarsSlotsFreeCasino
|
CaesarsSlotsFreeCasino # Casino slot machine game
|
||||||
COOKINGFEVER
|
COOKINGFEVER # Restaurant simulation game
|
||||||
CyberLinkMediaSuiteEssentials
|
CyberLinkMediaSuiteEssentials # Multimedia software suite (often preinstalled by OEMs)
|
||||||
DisneyMagicKingdoms
|
DisneyMagicKingdoms # Disney theme park building game
|
||||||
Disney
|
Disney # General Disney content app (may vary by region/OEM, often Disney+)
|
||||||
DrawboardPDF
|
DrawboardPDF # PDF viewing and annotation app, often focused on pen input
|
||||||
Duolingo-LearnLanguagesforFree
|
Duolingo-LearnLanguagesforFree # Language learning app
|
||||||
EclipseManager
|
EclipseManager # Often related to specific OEM software or utilities (e.g., for managing screen settings)
|
||||||
Facebook
|
Facebook # Facebook social media app
|
||||||
FarmVille2CountryEscape
|
FarmVille2CountryEscape # Farming simulation game
|
||||||
fitbit
|
fitbit # Fitbit activity tracker companion app
|
||||||
Flipboard
|
Flipboard # News and social network aggregator styled as a magazine
|
||||||
HiddenCity
|
HiddenCity # Hidden object puzzle adventure game
|
||||||
HULULLC.HULUPLUS
|
HULULLC.HULUPLUS # Hulu streaming service app
|
||||||
iHeartRadio
|
iHeartRadio # Internet radio streaming app
|
||||||
Instagram
|
Instagram # Instagram social media app
|
||||||
king.com.BubbleWitch3Saga
|
king.com.BubbleWitch3Saga # Puzzle game from King
|
||||||
king.com.CandyCrushSaga
|
king.com.CandyCrushSaga # Puzzle game from King
|
||||||
king.com.CandyCrushSodaSaga
|
king.com.CandyCrushSodaSaga # Puzzle game from King
|
||||||
LinkedInforWindows
|
LinkedInforWindows # LinkedIn professional networking app
|
||||||
MarchofEmpires
|
MarchofEmpires # Strategy game
|
||||||
Netflix
|
Netflix # Netflix streaming service app
|
||||||
NYTCrossword
|
NYTCrossword # New York Times crossword puzzle app
|
||||||
OneCalendar
|
OneCalendar # Calendar aggregation app
|
||||||
PandoraMediaInc
|
PandoraMediaInc # Pandora music streaming app
|
||||||
PhototasticCollage
|
PhototasticCollage # Photo collage creation app
|
||||||
PicsArt-PhotoStudio
|
PicsArt-PhotoStudio # Photo editing and creative app
|
||||||
Plex
|
Plex # Media server and player app
|
||||||
PolarrPhotoEditorAcademicEdition
|
PolarrPhotoEditorAcademicEdition # Photo editing app (Academic Edition)
|
||||||
Royal Revolt
|
Royal Revolt # Tower defense / strategy game
|
||||||
Shazam
|
Shazam # Music identification app
|
||||||
Sidia.LiveWallpaper
|
Sidia.LiveWallpaper # Live wallpaper app
|
||||||
SlingTV
|
SlingTV # Live TV streaming service app
|
||||||
Spotify
|
Spotify # Spotify music streaming app
|
||||||
TikTok
|
TikTok # TikTok short-form video app
|
||||||
TuneInRadio
|
TuneInRadio # Internet radio streaming app
|
||||||
Twitter
|
Twitter # Twitter (now X) social media app
|
||||||
Viber
|
Viber # Messaging and calling app
|
||||||
WinZipUniversal
|
WinZipUniversal # File compression and extraction utility (Universal Windows Platform version)
|
||||||
Wunderlist
|
Wunderlist # To-do list app (Acquired by Microsoft, functionality moved to Microsoft To Do)
|
||||||
XING
|
XING # Professional networking platform popular in German-speaking countries
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -99,61 +99,53 @@ XING
|
|||||||
# want to UNINSTALL by default. #
|
# want to UNINSTALL by default. #
|
||||||
# ------------------------------------------------------------------------------------------------------------- #
|
# ------------------------------------------------------------------------------------------------------------- #
|
||||||
#Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search)
|
#Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search)
|
||||||
#Microsoft.Copilot # New Microsoft Copilot app
|
#Microsoft.Copilot # New Microsoft Copilot app (AI assistant)
|
||||||
#Microsoft.Edge # Edge browser (Can only be uninstalled in European Economic Area)
|
#Microsoft.Edge # Edge browser (Can only be uninstalled in European Economic Area)
|
||||||
#Microsoft.GetHelp # Required for some Windows 11 Troubleshooters
|
|
||||||
#Microsoft.MSPaint # Paint 3D
|
|
||||||
#Microsoft.OneDrive # OneDrive consumer
|
|
||||||
#Microsoft.Paint # Classic Paint
|
|
||||||
#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.WindowsStore # Microsoft Store, WARNING: This app cannot be reinstalled!
|
|
||||||
#Microsoft.WindowsTerminal # New default terminal app in windows 11
|
|
||||||
#Microsoft.Xbox.TCUI # UI framework, seems to be required for MS store, photos and certain games
|
|
||||||
#Microsoft.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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------------------------------------------------- #
|
|
||||||
# The apps below this line will NOT be uninstalled by default, unless selected during custom mode app selection #
|
|
||||||
# or when launching the script with the specific parameters found in the README.md. Remove the # character in #
|
|
||||||
# front of any app you want to UNINSTALL by default. #
|
|
||||||
# --------------------------------------------------------------------------------------------------------------- #
|
|
||||||
#Microsoft.GamingApp # Modern Xbox Gaming App, required for installing some PC games
|
#Microsoft.GamingApp # Modern Xbox Gaming App, required for installing some PC games
|
||||||
|
#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.OutlookForWindows # New mail app: Outlook for Windows
|
||||||
#Microsoft.People # Required for & included with Mail & Calendar
|
#Microsoft.Paint # Classic Paint (Traditional 2D paint application)
|
||||||
#Microsoft.PowerAutomateDesktop
|
#Microsoft.People # Required for & included with Mail & Calendar (Contacts management)
|
||||||
#Microsoft.RemoteDesktop
|
#Microsoft.PowerAutomateDesktop # Desktop automation tool (RPA)
|
||||||
#Microsoft.Windows.DevHome
|
#Microsoft.RemoteDesktop # Remote Desktop client app
|
||||||
#Microsoft.windowscommunicationsapps # Mail & Calendar
|
#Microsoft.ScreenSketch # Snipping Tool (Screenshot and annotation tool)
|
||||||
#Microsoft.XboxGameOverlay # Game overlay, required/useful for some games
|
#Microsoft.StartExperiencesApp # This app powers Windows Widgets My Feed
|
||||||
#Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games
|
#Microsoft.Whiteboard # Digital collaborative whiteboard app
|
||||||
#AD2F1837.HPAIExperienceCenter
|
#Microsoft.Windows.DevHome # Developer dashboard and tool configuration utility
|
||||||
#AD2F1837.HPConnectedMusic
|
#Microsoft.Windows.Photos # Default photo viewing and basic editing app
|
||||||
#AD2F1837.HPConnectedPhotopoweredbySnapfish
|
#Microsoft.WindowsCalculator # Calculator app
|
||||||
#AD2F1837.HPDesktopSupportUtilities
|
#Microsoft.WindowsCamera # Camera app for using built-in or connected cameras
|
||||||
#AD2F1837.HPEasyClean
|
#Microsoft.windowscommunicationsapps # Mail & Calendar app suite
|
||||||
#AD2F1837.HPFileViewer
|
#Microsoft.WindowsNotepad # Notepad text editor app
|
||||||
#AD2F1837.HPJumpStarts
|
#Microsoft.WindowsStore # Microsoft Store, WARNING: This app cannot be reinstalled easily if removed!
|
||||||
#AD2F1837.HPPCHardwareDiagnosticsWindows
|
#Microsoft.WindowsTerminal # New default terminal app in windows 11 (Command Prompt, PowerShell, WSL)
|
||||||
#AD2F1837.HPPowerManager
|
#Microsoft.Xbox.TCUI # UI framework, seems to be required for MS store, photos and certain games
|
||||||
#AD2F1837.HPPrinterControl
|
#Microsoft.XboxGameOverlay # Game overlay, required/useful for some games (Part of Xbox Game Bar)
|
||||||
#AD2F1837.HPPrivacySettings
|
#Microsoft.XboxGamingOverlay # Game overlay, required/useful for some games (Part of Xbox Game Bar)
|
||||||
#AD2F1837.HPQuickDrop
|
#Microsoft.XboxIdentityProvider # Xbox sign-in framework, required for some games and Xbox services
|
||||||
#AD2F1837.HPQuickTouch
|
#Microsoft.XboxSpeechToTextOverlay # Might be required for some games, WARNING: This app cannot be reinstalled easily! (Accessibility feature)
|
||||||
#AD2F1837.HPRegistration
|
#Microsoft.YourPhone # Phone link (Connects Android/iOS phone to PC)
|
||||||
#AD2F1837.HPSupportAssistant
|
#Microsoft.ZuneMusic # Modern Media Player (Replaced Groove Music, plays local audio/video)
|
||||||
#AD2F1837.HPSureShieldAI
|
#MicrosoftWindows.CrossDevice # Phone integration within File Explorer, Camera and more (Part of Phone Link features)
|
||||||
#AD2F1837.HPSystemInformation
|
#AD2F1837.HPAIExperienceCenter # HP OEM software, AI-enhanced features and support
|
||||||
#AD2F1837.HPWelcome
|
#AD2F1837.HPConnectedMusic # HP OEM software for music (Potentially discontinued)
|
||||||
#AD2F1837.HPWorkWell
|
#AD2F1837.HPConnectedPhotopoweredbySnapfish # HP OEM software for photos, integrated with Snapfish (Potentially discontinued)
|
||||||
#AD2F1837.myHP
|
#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
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
Win11Debloat will make the following changes:
|
Win11Debloat will make the following changes:
|
||||||
- Remove the default selection of apps, the list can be found in the 'Appslist.txt' file.
|
- 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 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 tips, tricks, suggestions and ads in start, settings, notifications and more.
|
||||||
- Disable Microsoft Copilot. (Windows 11 build 22621+)
|
- Disable ads 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. (W11 only)
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- 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.
|
- Show file extensions for known file types.
|
||||||
- Disable the widget service & hide the icon from the taskbar.
|
- 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.
|
||||||
- Hide the 3D objects folder in Windows Explorer. (Windows 10 only)
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Win11Debloat is a simple, easy to use and lightweight PowerShell script that can remove
|
Win11Debloat is a lightweight and easy to use PowerShell script that allows you to quickly
|
||||||
pre-installed Windows bloatware apps, disable telemetry and declutter the experience by
|
declutter and improve your Windows experience. It can remove pre-installed bloatware apps,
|
||||||
disabling or removing intrusive interface elements, ads and more. No need to go through
|
disable telemetry, remove intrusive interface elements and much more.
|
||||||
all the settings yourself, or remove apps one by one.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------
|
||||||
All Features
|
All Features
|
||||||
@@ -13,12 +12,23 @@ App Removal
|
|||||||
Telemetry, Tracking & Suggested Content
|
Telemetry, Tracking & Suggested Content
|
||||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
||||||
- Disable tips, tricks, suggestions & ads across Windows.
|
- Disable tips, tricks, suggestions & ads across Windows.
|
||||||
|
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||||
- Disable the 'Windows Spotlight' desktop background option.
|
- Disable the 'Windows Spotlight' desktop background option.
|
||||||
|
|
||||||
Bing, Copilot & More
|
Bing Web Search, Copilot & AI Features
|
||||||
- Disable & remove Bing web search & Cortana from Windows search.
|
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||||
- Disable & remove Microsoft Copilot. (W11 only)
|
- Disable & remove Microsoft Copilot. (W11 only)
|
||||||
- Disable Windows Recall snapshots. (W11 only)
|
- Disable Windows Recall snapshots. (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
|
File Explorer
|
||||||
- Change the default location that File Explorer opens to.
|
- Change the default location that File Explorer opens to.
|
||||||
@@ -28,24 +38,23 @@ File Explorer
|
|||||||
- Hide the 3D objects, music or OneDrive folder from the File Explorer sidepanel. (W10 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 duplicate removable drive entries from the File Explorer sidepanel.
|
||||||
|
|
||||||
Taskbar & Start
|
Taskbar
|
||||||
- Align taskbar icons to the left. (W11 only)
|
- Align taskbar icons to the left. (W11 only)
|
||||||
- Hide or change the search icon/box on the taskbar. (W11 only)
|
- Hide or change the search icon/box on the taskbar. (W11 only)
|
||||||
- Hide the taskview button from the taskbar. (W11 only)
|
- Hide the taskview button from the taskbar. (W11 only)
|
||||||
- Disable the widgets service & hide icon from the taskbar.
|
- Disable widgets on the taskbar & lockscreen.
|
||||||
- Hide the chat (meet now) icon from the taskbar.
|
- Hide the chat (meet now) icon from the taskbar.
|
||||||
- Disable & hide the recommended section in the start menu. (W11 only)
|
|
||||||
- Enable the 'End Task' option in the taskbar right click menu. (W11 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
|
Start
|
||||||
- Restore the old Windows 10 style context menu. (W11 only)
|
- Disable the recommended section in the start menu. (W11 only)
|
||||||
- Hide the 'Include in library', 'Give access to' & 'Share' options from the context menu. (W10 only)
|
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
||||||
|
|
||||||
Other
|
Other
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- 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 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.
|
- 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.
|
- Sysprep mode to apply changes to the Windows Default user profile.
|
||||||
|
|
||||||
@@ -54,15 +63,16 @@ Other
|
|||||||
-------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------
|
||||||
The default mode applies the changes that are recommended for most users. This includes:
|
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.
|
- 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 telemetry, diagnostic data, app-launch tracking & targeted ads.
|
||||||
- Disable & remove Bing web search & Cortana from Windows search.
|
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more.
|
||||||
- Disable tips, tricks, suggestions & ads across Windows.
|
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||||
- Disable Microsoft Copilot. (W11 only)
|
- 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. (W11 only)
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- Disable Fast Start-up to ensure a full shutdown.
|
||||||
- Show file extensions for known file types.
|
- Show file extensions for known file types.
|
||||||
|
- Hide the 3D objects folder in Windows Explorer. (W10 only)
|
||||||
- Disable the widget service & hide the icon from the taskbar.
|
- Disable the widget service & hide the icon from the taskbar.
|
||||||
- Hide the Chat (meet now) 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)
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
20
Get.ps1
20
Get.ps1
@@ -19,22 +19,34 @@ param (
|
|||||||
[switch]$DisableDVR,
|
[switch]$DisableDVR,
|
||||||
[switch]$DisableTelemetry,
|
[switch]$DisableTelemetry,
|
||||||
[switch]$DisableFastStartup,
|
[switch]$DisableFastStartup,
|
||||||
|
[switch]$DisableModernStandbyNetworking,
|
||||||
[switch]$DisableBingSearches, [switch]$DisableBing,
|
[switch]$DisableBingSearches, [switch]$DisableBing,
|
||||||
[switch]$DisableDesktopSpotlight,
|
[switch]$DisableDesktopSpotlight,
|
||||||
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
||||||
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
||||||
|
[switch]$DisableEdgeAds,
|
||||||
|
[switch]$DisableSettings365Ads,
|
||||||
|
[switch]$DisableSettingsHome,
|
||||||
[switch]$ShowHiddenFolders,
|
[switch]$ShowHiddenFolders,
|
||||||
[switch]$ShowKnownFileExt,
|
[switch]$ShowKnownFileExt,
|
||||||
[switch]$HideDupliDrive,
|
[switch]$HideDupliDrive,
|
||||||
|
[switch]$EnableDarkMode,
|
||||||
|
[switch]$DisableTransparency,
|
||||||
|
[switch]$DisableAnimations,
|
||||||
[switch]$TaskbarAlignLeft,
|
[switch]$TaskbarAlignLeft,
|
||||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||||
[switch]$HideTaskview,
|
[switch]$HideTaskview,
|
||||||
[switch]$DisableStartRecommended,
|
[switch]$DisableStartRecommended,
|
||||||
|
[switch]$DisableStartPhoneLink,
|
||||||
[switch]$DisableCopilot,
|
[switch]$DisableCopilot,
|
||||||
[switch]$DisableRecall,
|
[switch]$DisableRecall,
|
||||||
|
[switch]$DisablePaintAI,
|
||||||
|
[switch]$DisableNotepadAI,
|
||||||
|
[switch]$DisableEdgeAI,
|
||||||
[switch]$DisableWidgets, [switch]$HideWidgets,
|
[switch]$DisableWidgets, [switch]$HideWidgets,
|
||||||
[switch]$DisableChat, [switch]$HideChat,
|
[switch]$DisableChat, [switch]$HideChat,
|
||||||
[switch]$EnableEndTask,
|
[switch]$EnableEndTask,
|
||||||
|
[switch]$EnableLastActiveClick,
|
||||||
[switch]$ClearStart,
|
[switch]$ClearStart,
|
||||||
[string]$ReplaceStart,
|
[string]$ReplaceStart,
|
||||||
[switch]$ClearStartAllUsers,
|
[switch]$ClearStartAllUsers,
|
||||||
@@ -58,7 +70,7 @@ param (
|
|||||||
|
|
||||||
# Show error if current powershell environment does not have LanguageMode set to FullLanguage
|
# Show error if current powershell environment does not have LanguageMode set to FullLanguage
|
||||||
if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
|
if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
|
||||||
Write-Host "Error: Win11Debloat is unable to run on your system. Powershell execution is restricted by security policies" -ForegroundColor Red
|
Write-Host "Error: Win11Debloat is unable to run on your system. PowerShell execution is restricted by security policies" -ForegroundColor Red
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
Write-Output "Press enter to exit..."
|
Write-Output "Press enter to exit..."
|
||||||
Read-Host | Out-Null
|
Read-Host | Out-Null
|
||||||
@@ -73,7 +85,7 @@ Write-Output "------------------------------------------------------------------
|
|||||||
Write-Output "> Downloading Win11Debloat..."
|
Write-Output "> Downloading Win11Debloat..."
|
||||||
|
|
||||||
# Download latest version of Win11Debloat from github as zip archive
|
# Download latest version of Win11Debloat from github as zip archive
|
||||||
Invoke-WebRequest https://github.com/Raphire/Win11Debloat/zipball/master -OutFile "$env:TEMP/win11debloat-temp.zip"
|
Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.09.08 -OutFile "$env:TEMP/win11debloat.zip"
|
||||||
|
|
||||||
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
|
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
|
||||||
if (Test-Path "$env:TEMP/Win11Debloat") {
|
if (Test-Path "$env:TEMP/Win11Debloat") {
|
||||||
@@ -86,10 +98,10 @@ Write-Output ""
|
|||||||
Write-Output "> Unpacking..."
|
Write-Output "> Unpacking..."
|
||||||
|
|
||||||
# Unzip archive to Win11Debloat folder
|
# 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 archive
|
||||||
Remove-Item "$env:TEMP/win11debloat-temp.zip"
|
Remove-Item "$env:TEMP/win11debloat.zip"
|
||||||
|
|
||||||
# Move files
|
# Move files
|
||||||
Get-ChildItem -Path "$env:TEMP/Win11Debloat/Raphire-Win11Debloat-*" -Recurse | Move-Item -Destination "$env:TEMP/Win11Debloat"
|
Get-ChildItem -Path "$env:TEMP/Win11Debloat/Raphire-Win11Debloat-*" -Recurse | Move-Item -Destination "$env:TEMP/Win11Debloat"
|
||||||
|
|||||||
65
README.md
65
README.md
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
# Win11Debloat
|
# Win11Debloat
|
||||||
|
|
||||||
|
[](https://github.com/Raphire/Win11Debloat/releases/latest)
|
||||||
[](https://github.com/Raphire/Win11Debloat/discussions)
|
[](https://github.com/Raphire/Win11Debloat/discussions)
|
||||||
[](https://github.com/Raphire/Win11Debloat/wiki/)
|
[](https://github.com/Raphire/Win11Debloat/wiki/)
|
||||||
|
|
||||||
@@ -46,14 +47,14 @@ Download & run the script automatically via PowerShell.
|
|||||||
3. Wait for the script to automatically download Win11Debloat.
|
3. Wait for the script to automatically download Win11Debloat.
|
||||||
4. Carefully read through and follow the on-screen instructions.
|
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
|
### Traditional method
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Manually download & run the script.</summary><br/>
|
<summary>Manually download & run the script.</summary><br/>
|
||||||
|
|
||||||
1. [Download the latest version of the script](https://github.com/Raphire/Win11Debloat/zipball/master), and extract the .ZIP file to your desired location.
|
1. [Download the latest version of the script](https://github.com/Raphire/Win11Debloat/releases/latest), and extract the .ZIP file to your desired location.
|
||||||
2. Navigate to the Win11Debloat folder
|
2. Navigate to the Win11Debloat folder
|
||||||
3. Double click the `Run.bat` file to start the script. NOTE: If the console window immediately closes and nothing happens, try the advanced method below.
|
3. Double click the `Run.bat` file to start the script. NOTE: If the console window immediately closes and nothing happens, try the advanced method below.
|
||||||
4. Accept the Windows UAC prompt to run the script as administrator, this is required for the script to function.
|
4. Accept the Windows UAC prompt to run the script as administrator, this is required for the script to function.
|
||||||
@@ -65,7 +66,7 @@ This method supports parameters to customize the behaviour of the script. Please
|
|||||||
<details>
|
<details>
|
||||||
<summary>Manually download the script & run the script via PowerShell. Recommended for advanced users.</summary><br/>
|
<summary>Manually download the script & run the script via PowerShell. Recommended for advanced users.</summary><br/>
|
||||||
|
|
||||||
1. [Download the latest version of the script](https://github.com/Raphire/Win11Debloat/zipball/master), and extract the .ZIP file to your desired location.
|
1. [Download the latest version of the script](https://github.com/Raphire/Win11Debloat/releases/latest), and extract the .ZIP file to your desired location.
|
||||||
2. Open PowerShell or Terminal as an administrator.
|
2. Open PowerShell or Terminal as an administrator.
|
||||||
3. Temporarily enable PowerShell execution by entering the following command:
|
3. Temporarily enable PowerShell execution by entering the following command:
|
||||||
|
|
||||||
@@ -82,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.
|
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>
|
</details>
|
||||||
|
|
||||||
## Features
|
## 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]
|
> [!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).
|
> 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).
|
||||||
@@ -95,19 +96,32 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
|||||||
#### App Removal
|
#### App Removal
|
||||||
|
|
||||||
- Remove a wide variety of preinstalled apps. Click [here](https://github.com/Raphire/Win11Debloat/wiki/App-Removal) for more info.
|
- 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
|
#### Telemetry, Tracking & Suggested Content
|
||||||
|
|
||||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
- 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 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.
|
- 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 Bing web search, Bing AI and Cortana from Windows search.
|
||||||
- Disable & remove Microsoft Copilot. (W11 only)
|
- Disable & remove Microsoft Copilot. (W11 only)
|
||||||
- Disable Windows Recall snapshots. (W11 only)
|
- 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)
|
||||||
|
|
||||||
|
#### 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
|
#### File Explorer
|
||||||
|
|
||||||
@@ -118,47 +132,49 @@ 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 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.
|
- 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)
|
- Align taskbar icons to the left. (W11 only)
|
||||||
- Hide or change the search icon/box on the taskbar. (W11 only)
|
- Hide or change the search icon/box on the taskbar. (W11 only)
|
||||||
- Hide the taskview button from the taskbar. (W11 only)
|
- Hide the taskview button from the taskbar. (W11 only)
|
||||||
- Disable the widgets service & hide icon from the taskbar.
|
- Disable widgets on the taskbar & lockscreen.
|
||||||
- Hide the chat (meet now) icon from the taskbar.
|
- Hide the chat (meet now) icon from the taskbar.
|
||||||
- Disable & hide the recommended section in the start menu. (W11 only)
|
|
||||||
- Enable the 'End Task' option in the taskbar right click menu. (W11 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)
|
- Disable the recommended section in the start menu. (W11 only)
|
||||||
- Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only)
|
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
||||||
|
|
||||||
#### Other
|
#### Other
|
||||||
|
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- 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 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.
|
- 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.
|
- [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
|
### Default Settings
|
||||||
|
|
||||||
The default mode 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 offers a 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. 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` parameter. Example:
|
||||||
|
|
||||||
<details>
|
```Powershell
|
||||||
<summary>Click to expand</summary>
|
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults
|
||||||
|
```
|
||||||
|
|
||||||
#### Default mode applies the following changes:
|
#### Changes included in the default mode
|
||||||
- Remove the default selection of bloatware apps. (See below for full list)
|
- Remove the default selection of bloatware apps. (See below for full list)
|
||||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
- 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 and ads in start, settings, notifications, File Explorer, and on the lockscreen.
|
||||||
- Disable & remove Bing web search & Cortana from Windows search.
|
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||||
- Disable Microsoft Copilot. (W11 only)
|
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||||
|
- Disable & remove Microsoft Copilot. (W11 only)
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- 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.
|
- Show file extensions for known file types.
|
||||||
- Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only)
|
- Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only)
|
||||||
- Disable the widget service & hide the icon from the taskbar.
|
- Disable widgets on the taskbar & lockscreen.
|
||||||
- Hide the Chat (meet now) icon from the taskbar.
|
- Hide the Chat (meet now) icon from the taskbar.
|
||||||
|
|
||||||
#### Apps that ARE removed as part of the default mode
|
#### Apps that ARE removed as part of the default mode
|
||||||
@@ -326,10 +342,9 @@ The default mode allows you to quickly and easily apply the changes that are rec
|
|||||||
- Microsoft.RemoteDesktop*
|
- Microsoft.RemoteDesktop*
|
||||||
- Windows.DevHome*
|
- Windows.DevHome*
|
||||||
|
|
||||||
* Can be removed by running the script with the relevant parameter. (See parameters section below)
|
* Can be removed by running the script with the relevant parameter. (Please refer to the wiki for more details)
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</details>
|
</details>
|
||||||
</details>
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
@@ -8,3 +8,6 @@ Windows Registry Editor Version 5.00
|
|||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
|
||||||
"AllowRecallEnablement"=dword:00000000
|
"AllowRecallEnablement"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
|
||||||
|
"TurnOffSavingSnapshots"=dword:00000001
|
||||||
4
Regfiles/Disable_Animations.reg
Normal file
4
Regfiles/Disable_Animations.reg
Normal 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
|
||||||
Binary file not shown.
11
Regfiles/Disable_Edge_AI_Features.reg
Normal file
11
Regfiles/Disable_Edge_AI_Features.reg
Normal 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
|
||||||
BIN
Regfiles/Disable_Edge_Ads_And_Suggestions.reg
Normal file
BIN
Regfiles/Disable_Edge_Ads_And_Suggestions.reg
Normal file
Binary file not shown.
5
Regfiles/Disable_Modern_Standby_Networking.reg
Normal file
5
Regfiles/Disable_Modern_Standby_Networking.reg
Normal 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
|
||||||
4
Regfiles/Disable_Notepad_AI_Features.reg
Normal file
4
Regfiles/Disable_Notepad_AI_Features.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
|
||||||
|
"DisableAIFeatures"=dword:00000001
|
||||||
8
Regfiles/Disable_Paint_AI_Features.reg
Normal file
8
Regfiles/Disable_Paint_AI_Features.reg
Normal 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
|
||||||
5
Regfiles/Disable_Phone_Link_In_Start.reg
Normal file
5
Regfiles/Disable_Phone_Link_In_Start.reg
Normal 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
|
||||||
5
Regfiles/Disable_Settings_365_Ads.reg
Normal file
5
Regfiles/Disable_Settings_365_Ads.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Disable MS 365 Ads in Settings Home
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
|
||||||
|
"DisableConsumerAccountStateContent"=dword:00000001
|
||||||
4
Regfiles/Disable_Settings_Home.reg
Normal file
4
Regfiles/Disable_Settings_Home.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
|
||||||
|
"SettingsPageVisibility"="hide:home"
|
||||||
Binary file not shown.
4
Regfiles/Disable_Transparency.reg
Normal file
4
Regfiles/Disable_Transparency.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"EnableTransparency"=dword:00000000
|
||||||
Binary file not shown.
5
Regfiles/Enable_Dark_Mode.reg
Normal file
5
Regfiles/Enable_Dark_Mode.reg
Normal 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
|
||||||
16
Regfiles/Enable_Last_Active_Click.reg
Normal file
16
Regfiles/Enable_Last_Active_Click.reg
Normal 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
|
||||||
4
Regfiles/Sysprep/Disable_Animations.reg
Normal file
4
Regfiles/Sysprep/Disable_Animations.reg
Normal 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
|
||||||
Binary file not shown.
11
Regfiles/Sysprep/Disable_Edge_AI_Features.reg
Normal file
11
Regfiles/Sysprep/Disable_Edge_AI_Features.reg
Normal 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
|
||||||
BIN
Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg
Normal file
BIN
Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg
Normal file
Binary file not shown.
5
Regfiles/Sysprep/Disable_Modern_Standby_Networking.reg
Normal file
5
Regfiles/Sysprep/Disable_Modern_Standby_Networking.reg
Normal 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
|
||||||
4
Regfiles/Sysprep/Disable_Notepad_AI_Features.reg
Normal file
4
Regfiles/Sysprep/Disable_Notepad_AI_Features.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
|
||||||
|
"DisableAIFeatures"=dword:00000001
|
||||||
8
Regfiles/Sysprep/Disable_Paint_AI_Features.reg
Normal file
8
Regfiles/Sysprep/Disable_Paint_AI_Features.reg
Normal 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
|
||||||
5
Regfiles/Sysprep/Disable_Phone_Link_In_Start.reg
Normal file
5
Regfiles/Sysprep/Disable_Phone_Link_In_Start.reg
Normal 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
|
||||||
5
Regfiles/Sysprep/Disable_Settings_365_Ads.reg
Normal file
5
Regfiles/Sysprep/Disable_Settings_365_Ads.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Disable MS 365 Ads in Settings Home
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
|
||||||
|
"DisableConsumerAccountStateContent"=dword:00000001
|
||||||
4
Regfiles/Sysprep/Disable_Settings_Home.reg
Normal file
4
Regfiles/Sysprep/Disable_Settings_Home.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
|
||||||
|
"SettingsPageVisibility"="hide:home"
|
||||||
Binary file not shown.
Binary file not shown.
4
Regfiles/Sysprep/Disable_Transparency.reg
Normal file
4
Regfiles/Sysprep/Disable_Transparency.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"EnableTransparency"=dword:00000000
|
||||||
Binary file not shown.
9
Regfiles/Sysprep/Enable_Dark_Mode.reg
Normal file
9
Regfiles/Sysprep/Enable_Dark_Mode.reg
Normal 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"
|
||||||
16
Regfiles/Sysprep/Enable_Last_Active_Click.reg
Normal file
16
Regfiles/Sysprep/Enable_Last_Active_Click.reg
Normal 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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8
Regfiles/Undo/Disable_Last_Active_Click.reg
Normal file
8
Regfiles/Undo/Disable_Last_Active_Click.reg
Normal 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"=-
|
||||||
4
Regfiles/Undo/Enable_Animations.reg
Normal file
4
Regfiles/Undo/Enable_Animations.reg
Normal 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
|
||||||
Binary file not shown.
11
Regfiles/Undo/Enable_Edge_AI_Features.reg
Normal file
11
Regfiles/Undo/Enable_Edge_AI_Features.reg
Normal 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"=-
|
||||||
BIN
Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg
Normal file
BIN
Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg
Normal file
Binary file not shown.
5
Regfiles/Undo/Enable_Light_Mode.reg
Normal file
5
Regfiles/Undo/Enable_Light_Mode.reg
Normal 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
|
||||||
5
Regfiles/Undo/Enable_Modern_Standby_Networking.reg
Normal file
5
Regfiles/Undo/Enable_Modern_Standby_Networking.reg
Normal 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
|
||||||
4
Regfiles/Undo/Enable_Notepad_AI_Features.reg
Normal file
4
Regfiles/Undo/Enable_Notepad_AI_Features.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
|
||||||
|
"DisableAIFeatures"=-
|
||||||
8
Regfiles/Undo/Enable_Paint_AI_Features.reg
Normal file
8
Regfiles/Undo/Enable_Paint_AI_Features.reg
Normal 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"=-
|
||||||
5
Regfiles/Undo/Enable_Phone_Link_In_Start.reg
Normal file
5
Regfiles/Undo/Enable_Phone_Link_In_Start.reg
Normal 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
|
||||||
5
Regfiles/Undo/Enable_Settings_365_Ads.reg
Normal file
5
Regfiles/Undo/Enable_Settings_365_Ads.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Enable MS 365 Ads in Settings Home
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
|
||||||
|
"DisableConsumerAccountStateContent"=-
|
||||||
4
Regfiles/Undo/Enable_Settings_Home.reg
Normal file
4
Regfiles/Undo/Enable_Settings_Home.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
|
||||||
|
"SettingsPageVisibility"=-
|
||||||
Binary file not shown.
4
Regfiles/Undo/Enable_Transparency.reg
Normal file
4
Regfiles/Undo/Enable_Transparency.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
||||||
|
"EnableTransparency"=dword:00000001
|
||||||
Binary file not shown.
Binary file not shown.
15
Run.bat
15
Run.bat
@@ -1 +1,14 @@
|
|||||||
PowerShell -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""%~dp0Win11Debloat.ps1""' -Verb RunAs}"
|
@echo off
|
||||||
|
:: Set Windows Terminal installation paths. (Default and Scoop installation)
|
||||||
|
set "wtDefaultPath=%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe"
|
||||||
|
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"
|
||||||
|
) else if exist "%wtScoopPath%" (
|
||||||
|
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}"
|
||||||
|
)
|
||||||
|
|||||||
307
Win11Debloat.ps1
307
Win11Debloat.ps1
@@ -21,22 +21,34 @@ param (
|
|||||||
[switch]$DisableDVR,
|
[switch]$DisableDVR,
|
||||||
[switch]$DisableTelemetry,
|
[switch]$DisableTelemetry,
|
||||||
[switch]$DisableFastStartup,
|
[switch]$DisableFastStartup,
|
||||||
|
[switch]$DisableModernStandbyNetworking,
|
||||||
[switch]$DisableBingSearches, [switch]$DisableBing,
|
[switch]$DisableBingSearches, [switch]$DisableBing,
|
||||||
[switch]$DisableDesktopSpotlight,
|
[switch]$DisableDesktopSpotlight,
|
||||||
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
||||||
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
||||||
|
[switch]$DisableEdgeAds,
|
||||||
|
[switch]$DisableSettings365Ads,
|
||||||
|
[switch]$DisableSettingsHome,
|
||||||
[switch]$ShowHiddenFolders,
|
[switch]$ShowHiddenFolders,
|
||||||
[switch]$ShowKnownFileExt,
|
[switch]$ShowKnownFileExt,
|
||||||
[switch]$HideDupliDrive,
|
[switch]$HideDupliDrive,
|
||||||
|
[switch]$EnableDarkMode,
|
||||||
|
[switch]$DisableTransparency,
|
||||||
|
[switch]$DisableAnimations,
|
||||||
[switch]$TaskbarAlignLeft,
|
[switch]$TaskbarAlignLeft,
|
||||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||||
[switch]$HideTaskview,
|
[switch]$HideTaskview,
|
||||||
[switch]$DisableStartRecommended,
|
[switch]$DisableStartRecommended,
|
||||||
|
[switch]$DisableStartPhoneLink,
|
||||||
[switch]$DisableCopilot,
|
[switch]$DisableCopilot,
|
||||||
[switch]$DisableRecall,
|
[switch]$DisableRecall,
|
||||||
|
[switch]$DisablePaintAI,
|
||||||
|
[switch]$DisableNotepadAI,
|
||||||
|
[switch]$DisableEdgeAI,
|
||||||
[switch]$DisableWidgets, [switch]$HideWidgets,
|
[switch]$DisableWidgets, [switch]$HideWidgets,
|
||||||
[switch]$DisableChat, [switch]$HideChat,
|
[switch]$DisableChat, [switch]$HideChat,
|
||||||
[switch]$EnableEndTask,
|
[switch]$EnableEndTask,
|
||||||
|
[switch]$EnableLastActiveClick,
|
||||||
[switch]$ClearStart,
|
[switch]$ClearStart,
|
||||||
[string]$ReplaceStart,
|
[string]$ReplaceStart,
|
||||||
[switch]$ClearStartAllUsers,
|
[switch]$ClearStartAllUsers,
|
||||||
@@ -530,6 +542,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
|
# Import & execute regfile
|
||||||
function RegImport {
|
function RegImport {
|
||||||
param (
|
param (
|
||||||
@@ -540,14 +608,14 @@ function RegImport {
|
|||||||
Write-Output $message
|
Write-Output $message
|
||||||
|
|
||||||
if ($script:Params.ContainsKey("Sysprep")) {
|
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 load "HKU\Default" $defaultUserPath | Out-Null
|
||||||
reg import "$PSScriptRoot\Regfiles\Sysprep\$path"
|
reg import "$PSScriptRoot\Regfiles\Sysprep\$path"
|
||||||
reg unload "HKU\Default" | Out-Null
|
reg unload "HKU\Default" | Out-Null
|
||||||
}
|
}
|
||||||
elseif ($script:Params.ContainsKey("User")) {
|
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 load "HKU\Default" $userPath | Out-Null
|
||||||
reg import "$PSScriptRoot\Regfiles\Sysprep\$path"
|
reg import "$PSScriptRoot\Regfiles\Sysprep\$path"
|
||||||
@@ -578,8 +646,12 @@ function RestartExplorer {
|
|||||||
Write-Host "Warning: The Sticky Keys setting changes will only take effect after a reboot" -ForegroundColor Yellow
|
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.
|
# Only restart if the powershell process matches the OS architecture.
|
||||||
# Restarting explorer from a 32bit Powershell window will fail on a 64bit OS
|
# Restarting explorer from a 32bit PowerShell window will fail on a 64bit OS
|
||||||
if ([Environment]::Is64BitProcess -eq [Environment]::Is64BitOperatingSystem) {
|
if ([Environment]::Is64BitProcess -eq [Environment]::Is64BitOperatingSystem) {
|
||||||
Stop-Process -processName: Explorer -Force
|
Stop-Process -processName: Explorer -Force
|
||||||
}
|
}
|
||||||
@@ -593,7 +665,7 @@ function RestartExplorer {
|
|||||||
# Credit: https://lazyadmin.nl/win-11/customize-windows-11-start-menu-layout/
|
# Credit: https://lazyadmin.nl/win-11/customize-windows-11-start-menu-layout/
|
||||||
function ReplaceStartMenuForAllUsers {
|
function ReplaceStartMenuForAllUsers {
|
||||||
param (
|
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..."
|
Write-Output "> Removing all pinned apps from the start menu for all users..."
|
||||||
@@ -606,16 +678,16 @@ function ReplaceStartMenuForAllUsers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Get path to start menu file for all users
|
# 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
|
$usersStartMenuPaths = get-childitem -path $userPathString
|
||||||
|
|
||||||
# Go through all users and replace the start menu file
|
# Go through all users and replace the start menu file
|
||||||
ForEach ($startMenuPath in $usersStartMenuPaths) {
|
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
|
# 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
|
# Create folder if it doesn't exist
|
||||||
if (-not (Test-Path $defaultStartMenuPath)) {
|
if (-not (Test-Path $defaultStartMenuPath)) {
|
||||||
@@ -634,13 +706,13 @@ function ReplaceStartMenuForAllUsers {
|
|||||||
# Credit: https://lazyadmin.nl/win-11/customize-windows-11-start-menu-layout/
|
# Credit: https://lazyadmin.nl/win-11/customize-windows-11-start-menu-layout/
|
||||||
function ReplaceStartMenu {
|
function ReplaceStartMenu {
|
||||||
param (
|
param (
|
||||||
$startMenuTemplate = "$PSScriptRoot/Start/start2.bin",
|
$startMenuTemplate = "$PSScriptRoot/Assets/Start/start2.bin",
|
||||||
$startMenuBinFile = "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start2.bin"
|
$startMenuBinFile = "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start2.bin"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Change path to correct user if a user was specified
|
# Change path to correct user if a user was specified
|
||||||
if ($script:Params.ContainsKey("User")) {
|
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
|
# Check if template bin file exists, return early if it doesn't
|
||||||
@@ -654,9 +726,11 @@ function ReplaceStartMenu {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$userName = [regex]::Match($startMenuBinFile, '(?:Users\\)([^\\]+)(?:\\AppData)').Groups[1].Value
|
||||||
|
|
||||||
# Check if bin file exists, return early if it doesn't
|
# Check if bin file exists, return early if it doesn't
|
||||||
if (-not (Test-Path $startMenuBinFile)) {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -668,7 +742,7 @@ function ReplaceStartMenu {
|
|||||||
# Copy template file
|
# Copy template file
|
||||||
Copy-Item -Path $startMenuTemplate -Destination $startMenuBinFile -Force
|
Copy-Item -Path $startMenuTemplate -Destination $startMenuBinFile -Force
|
||||||
|
|
||||||
Write-Output "Replaced start menu for user $(GetUserName)"
|
Write-Output "Replaced start menu for user $userName"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -767,6 +841,7 @@ function CreateSystemRestorePoint {
|
|||||||
|
|
||||||
if ($SysRestore.RPSessionInterval -eq 0) {
|
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') {
|
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 {
|
try {
|
||||||
Enable-ComputerRestore -Drive "$env:SystemDrive"
|
Enable-ComputerRestore -Drive "$env:SystemDrive"
|
||||||
} catch {
|
} catch {
|
||||||
@@ -774,12 +849,26 @@ function CreateSystemRestorePoint {
|
|||||||
Write-Output ""
|
Write-Output ""
|
||||||
return
|
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
|
||||||
|
Write-Output ""
|
||||||
|
Write-Output "Press any key to continue anyway..."
|
||||||
|
$null = [System.Console]::ReadKey()
|
||||||
|
return
|
||||||
|
} else {
|
||||||
|
Receive-Job $enableSystemRestoreJob
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$createRestorePointJob = Start-Job {
|
||||||
# Find existing restore points that are less than 24 hours old
|
# Find existing restore points that are less than 24 hours old
|
||||||
try {
|
try {
|
||||||
$recentRestorePoints = Get-ComputerRestorePoint | Where-Object { (Get-Date) - [System.Management.ManagementDateTimeConverter]::ToDateTime($_.CreationTime) -le (New-TimeSpan -Hours 24) }
|
$recentRestorePoints = Get-ComputerRestorePoint | Where-Object { (Get-Date) - [System.Management.ManagementDateTimeConverter]::ToDateTime($_.CreationTime) -le (New-TimeSpan -Hours 24) }
|
||||||
@@ -799,6 +888,18 @@ function CreateSystemRestorePoint {
|
|||||||
} else {
|
} else {
|
||||||
Write-Host "A recent restore point already exists, no new restore point was created." -ForegroundColor Yellow
|
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
|
||||||
|
Write-Output ""
|
||||||
|
Write-Output "Press any key to continue anyway..."
|
||||||
|
$null = [System.Console]::ReadKey()
|
||||||
|
} else {
|
||||||
|
Receive-Job $createRestorePointJob
|
||||||
|
}
|
||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
}
|
}
|
||||||
@@ -818,8 +919,8 @@ function DisplayCustomModeOptions {
|
|||||||
Write-Host " (n) Don't remove any apps" -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 " (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 " (2) Remove default selection of bloatware apps, as well 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
|
Write-Host " (3) Manually select which apps to remove" -ForegroundColor Yellow
|
||||||
$RemoveAppsInput = Read-Host "Remove any pre-installed apps? (n/1/2/3)"
|
$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
|
# Show app selection form if user entered option 3
|
||||||
if ($RemoveAppsInput -eq '3') {
|
if ($RemoveAppsInput -eq '3') {
|
||||||
@@ -858,7 +959,7 @@ function DisplayCustomModeOptions {
|
|||||||
|
|
||||||
Write-Output ""
|
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'
|
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -872,26 +973,66 @@ function DisplayCustomModeOptions {
|
|||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|
||||||
if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer, desktop 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 'DisableSuggestions' 'Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer'
|
||||||
AddParameter 'DisableDesktopSpotlight' 'Disable the Windows Spotlight desktop background option.'
|
AddParameter 'DisableEdgeAds' 'Disable ads 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'
|
AddParameter 'DisableLockscreenTips' 'Disable tips & tricks on the lockscreen'
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|
||||||
if ($( Read-Host -Prompt "Disable & remove bing web search, bing AI & cortana in Windows search? (y/n)" ) -eq 'y') {
|
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 & cortana in Windows search'
|
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
|
# Only show this option for Windows 11 users running build 22621 or later
|
||||||
if ($WinVersion -ge 22621) {
|
if ($WinVersion -ge 22621) {
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|
||||||
if ($( Read-Host -Prompt "Disable & remove Microsoft Copilot and Windows Recall snapshots? This applies to all users (y/n)" ) -eq 'y') {
|
# Show options for disabling/removing AI features, only continue on valid input
|
||||||
AddParameter 'DisableCopilot' 'Disable and remove Microsoft Copilot'
|
Do {
|
||||||
AddParameter 'DisableRecall' 'Disable and remove Windows Recall snapshots'
|
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
|
||||||
|
$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 snapshots'
|
||||||
|
}
|
||||||
|
'2' {
|
||||||
|
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
|
||||||
|
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
|
||||||
|
AddParameter 'DisableEdgeAI' 'Disable AI features in Edge'
|
||||||
|
AddParameter 'DisablePaintAI' 'Disable AI features in Paint'
|
||||||
|
AddParameter 'DisableNotepadAI' 'Disable AI features in Notepad'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Output ""
|
||||||
|
|
||||||
|
if ($( Read-Host -Prompt "Disable Windows Spotlight background on desktop? (y/n)" ) -eq 'y') {
|
||||||
|
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
|
# Only show this option for Windows 11 users running build 22000 or later
|
||||||
@@ -920,10 +1061,19 @@ function DisplayCustomModeOptions {
|
|||||||
|
|
||||||
Write-Output ""
|
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'
|
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
|
# 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')) {
|
if ((get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") -or $script:Params.ContainsKey('RevertContextMenu')) {
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
@@ -984,8 +1134,14 @@ function DisplayCustomModeOptions {
|
|||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|
||||||
if ($( Read-Host -Prompt " Disable & hide the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') {
|
if ($( Read-Host -Prompt " Disable 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.'
|
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.'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1039,8 +1195,8 @@ function DisplayCustomModeOptions {
|
|||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|
||||||
if ($( Read-Host -Prompt " Disable the widgets service and hide the icon from the taskbar? (y/n)" ) -eq 'y') {
|
if ($( Read-Host -Prompt " Disable the widgets service to remove widgets on the taskbar & lockscreen? (y/n)" ) -eq 'y') {
|
||||||
AddParameter 'DisableWidgets' 'Disable the widget service & hide the widget (news and interests) icon from the taskbar'
|
AddParameter 'DisableWidgets' 'Disable widgets on the taskbar & lockscreen'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Only show this options for Windows users running build 22621 or earlier
|
# Only show this options for Windows users running build 22621 or earlier
|
||||||
@@ -1060,6 +1216,11 @@ function DisplayCustomModeOptions {
|
|||||||
AddParameter 'EnableEndTask' "Enable the 'End Task' option in the taskbar right click menu"
|
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 ""
|
Write-Output ""
|
||||||
@@ -1194,6 +1355,9 @@ else {
|
|||||||
# Get current Windows build version to compare against features
|
# Get current Windows build version to compare against features
|
||||||
$WinVersion = Get-ItemPropertyValue 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' CurrentBuild
|
$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:Params = $PSBoundParameters
|
||||||
$script:FirstSelection = $true
|
$script:FirstSelection = $true
|
||||||
$SPParams = 'WhatIf', 'Confirm', 'Verbose', 'Silent', 'Sysprep', 'Debug', 'User', 'CreateRestorePoint', 'LogPath'
|
$SPParams = 'WhatIf', 'Confirm', 'Verbose', 'Silent', 'Sysprep', 'Debug', 'User', 'CreateRestorePoint', 'LogPath'
|
||||||
@@ -1220,15 +1384,9 @@ else {
|
|||||||
$ProgressPreference = 'Continue'
|
$ProgressPreference = 'Continue'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Make sure all requirements for Sysprep are met, if Sysprep is enabled
|
|
||||||
if ($script:Params.ContainsKey("Sysprep")) {
|
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
|
# Exit script if run in Sysprep mode on Windows 10
|
||||||
if ($WinVersion -lt 22000) {
|
if ($WinVersion -lt 22000) {
|
||||||
Write-Host "Error: Win11Debloat Sysprep mode is not supported on Windows 10" -ForegroundColor Red
|
Write-Host "Error: Win11Debloat Sysprep mode is not supported on Windows 10" -ForegroundColor Red
|
||||||
@@ -1238,13 +1396,7 @@ if ($script:Params.ContainsKey("Sysprep")) {
|
|||||||
|
|
||||||
# Make sure all requirements for User mode are met, if User is specified
|
# Make sure all requirements for User mode are met, if User is specified
|
||||||
if ($script:Params.ContainsKey("User")) {
|
if ($script:Params.ContainsKey("User")) {
|
||||||
$userPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$($script:Params.Item("User"))\NTUSER.DAT"
|
$userPath = GetUserDirectory -userName $script:Params.Item("User")
|
||||||
|
|
||||||
# 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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Remove SavedSettings file if it exists and is empty
|
# Remove SavedSettings file if it exists and is empty
|
||||||
@@ -1335,7 +1487,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
|
|||||||
Read-Host | Out-Null
|
Read-Host | Out-Null
|
||||||
}
|
}
|
||||||
|
|
||||||
$DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup'
|
$DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup'
|
||||||
|
|
||||||
PrintHeader 'Default Mode'
|
PrintHeader 'Default Mode'
|
||||||
|
|
||||||
@@ -1350,6 +1502,11 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
|
|||||||
if ((get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") -and (-not $script:Params.ContainsKey('Hide3dObjects'))) {
|
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)
|
$script:Params.Add('Hide3dObjects', $Hide3dObjects)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Only add this option for Windows 11 users (build 22000+), if it doesn't already exist
|
||||||
|
if (($WinVersion -ge 22000) -and $script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) {
|
||||||
|
$script:Params.Add('DisableModernStandbyNetworking', $true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Custom mode, show & add options based on user input
|
# Custom mode, show & add options based on user input
|
||||||
@@ -1510,26 +1667,38 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Disabling tips, tricks, suggestions and ads across Windows..." "Disable_Windows_Suggestions.reg"
|
RegImport "> Disabling tips, tricks, suggestions and ads across Windows..." "Disable_Windows_Suggestions.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
'DisableDesktopSpotlight' {
|
'DisableEdgeAds' {
|
||||||
RegImport "> Disabling the 'Windows Spotlight' desktop background option..." "Disable_Desktop_Spotlight.reg"
|
RegImport "> Disabling ads and the MSN news feed in Microsoft Edge..." "Disable_Edge_Ads_And_Suggestions.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
{$_ -in "DisableLockscrTips", "DisableLockscreenTips"} {
|
{$_ -in "DisableLockscrTips", "DisableLockscreenTips"} {
|
||||||
RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg"
|
RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'DisableDesktopSpotlight' {
|
||||||
|
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"} {
|
{$_ -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'
|
$appsList = 'Microsoft.BingSearch'
|
||||||
RemoveApps $appsList
|
RemoveApps $appsList
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
'DisableCopilot' {
|
'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'
|
$appsList = 'Microsoft.Copilot'
|
||||||
RemoveApps $appsList
|
RemoveApps $appsList
|
||||||
continue
|
continue
|
||||||
@@ -1538,6 +1707,18 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg"
|
RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg"
|
||||||
continue
|
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' {
|
'RevertContextMenu' {
|
||||||
RegImport "> Restoring the old Windows 10 style context menu..." "Disable_Show_More_Options_Context_Menu.reg"
|
RegImport "> Restoring the old Windows 10 style context menu..." "Disable_Show_More_Options_Context_Menu.reg"
|
||||||
continue
|
continue
|
||||||
@@ -1554,6 +1735,10 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Disabling Fast Start-up..." "Disable_Fast_Startup.reg"
|
RegImport "> Disabling Fast Start-up..." "Disable_Fast_Startup.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'DisableModernStandbyNetworking' {
|
||||||
|
RegImport "> Disabling network connectivity during Modern Standby..." "Disable_Modern_Standby_Networking.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
'ClearStart' {
|
'ClearStart' {
|
||||||
Write-Output "> Removing all pinned apps from the start menu for user $(GetUserName)..."
|
Write-Output "> Removing all pinned apps from the start menu for user $(GetUserName)..."
|
||||||
ReplaceStartMenu
|
ReplaceStartMenu
|
||||||
@@ -1575,7 +1760,23 @@ switch ($script:Params.Keys) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
'DisableStartRecommended' {
|
'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
|
continue
|
||||||
}
|
}
|
||||||
'TaskbarAlignLeft' {
|
'TaskbarAlignLeft' {
|
||||||
@@ -1603,7 +1804,11 @@ switch ($script:Params.Keys) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
{$_ -in "HideWidgets", "DisableWidgets"} {
|
{$_ -in "HideWidgets", "DisableWidgets"} {
|
||||||
RegImport "> Disabling the widget service and hiding the widget icon from the taskbar..." "Disable_Widgets_Taskbar.reg"
|
RegImport "> Disabling widgets on the taskbar & lockscreen..." "Disable_Widgets_Service.reg"
|
||||||
|
|
||||||
|
# Also remove the app package for Widgets
|
||||||
|
$appsList = 'Microsoft.StartExperiencesApp'
|
||||||
|
RemoveApps $appsList
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
{$_ -in "HideChat", "DisableChat"} {
|
{$_ -in "HideChat", "DisableChat"} {
|
||||||
@@ -1614,6 +1819,10 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Enabling the 'End Task' option in the taskbar right click menu..." "Enable_End_Task.reg"
|
RegImport "> Enabling the 'End Task' option in the taskbar right click menu..." "Enable_End_Task.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'EnableLastActiveClick' {
|
||||||
|
RegImport "> Enabling the 'Last Active Click' behavior in the taskbar app area..." "Enable_Last_Active_Click.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
'ExplorerToHome' {
|
'ExplorerToHome' {
|
||||||
RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg"
|
RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg"
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user