0% found this document useful (0 votes)
90 views

'GitHub - Raphire_Win11Debloat_ A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, r_' - github.com

Win11Debloat is a lightweight PowerShell script designed to remove pre-installed bloatware from Windows 10 and 11, disable telemetry, and enhance user experience by decluttering the interface. It offers features for both regular users and system administrators, allowing for customizable app removal and privacy adjustments. The script can be run in various modes, including default and silent, with options to revert changes and reinstall apps as needed.

Uploaded by

figuerolab
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views

'GitHub - Raphire_Win11Debloat_ A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, r_' - github.com

Win11Debloat is a lightweight PowerShell script designed to remove pre-installed bloatware from Windows 10 and 11, disable telemetry, and enhance user experience by decluttering the interface. It offers features for both regular users and system administrators, allowing for customizable app removal and privacy adjustments. The script can be run in various modes, including default and silent, with options to revert changes and reinstall apps as needed.

Uploaded by

figuerolab
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Product Solutions Resources Open Source Enterprise Pricing Search or jump to...

Sign in Sign up

Raphire / Win11Debloat Public Sponsor Notifications Fork 535 Star 12.6k

Code Issues 16 Pull requests 2 Discussions Actions Security Insights

master 1 Branch 0 Tags Code About

A simple, easy to use PowerShell script to


Raphire CrossDevice (Mobile device integration) can now be selected for removal a6ffbdf · 129 Commits remove pre-installed apps from Windows,
disable telemetry, remove Bing from
.github Added issue templates Windows search as well as perform
various other changes to declutter and
Assets Added menu to readme
improve your Windows experience. This
Menus Updated README.md and script info screens script works for both Windows 10 and
Windows 11.
Regfiles Added option to hide the 'Home' section from the File Explorer
windows privacy powershell
Start Added option to clear pinned apps in the start menu #7 ( )
interactive tweaks optimize
windows-10 ps1 cleanup windows10
.gitignore Improved app removal process, added support for removing more

bloatware automated powershell-script


Appslist.txt CrossDevice (Mobile device integration) can now be selected for
debloat registry-tweaks windows-11

Get.ps1 Added option to hide the 'Home' section from the File Explorer debloater bloatware-removal windows11
windows-11-debloat
LICENSE Merge branch 'master' of https://github.com/Raphire/Win10Debloat
Readme
README.md CrossDevice (Mobile device integration) can now be selected for
MIT license
Run.bat Fixed crash if the file path contained a space #15
( ) Activity
12.6k stars
Win11Debloat.ps1 Added warning before removing Microsoft Store
87 watching
535 forks
README MIT license
Report repository

Sponsor this project


Win11Debloat
Raphire Jeffrey
Win11Debloat is a simple, easy to use and lightweight PowerShell script that can remove pre-installed Windows
bloatware apps, disable telemetry and declutter the experience by disabling or removing intrusive interface elements, ko-fi.com/ raphire
ads and more. No need to painstakingly go through all the settings yourself or remove apps one by one. Learn more about GitHub Sponsors
Win11Debloat makes the process quick and easy!

The script also includes many features that system administrators will enjoy. Such as support for Windows Audit Contributors 6

mode and the ability to run the script without requiring user input during runtime.

Languages

PowerShell 99.7% Batchfile 0.3%

Did this script help you? Please consider buying me a cup of coffee to support my work

Features
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 .

App Removal

Remove a wide variety of bloatware apps.


Remove all pinned apps from start for the current user, or for all existing & new users. (Windows 11 only)

Telemetry, Tracking & Suggested Content

Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen.

Bing Web Search, Copilot & More

Disable & remove Bing web search & Cortana from Windows search.
Disable & remove Windows Copilot. (Windows 11 only)
Disable Windows Recall snapshots. (Windows 11 only)

File Explorer

Show hidden files, folders and drives.


Show file extensions for known file types.
Hide the Home or Gallery section from the File Explorer navigation pane. (Windows 11 only)
Hide the 3D objects, music or OneDrive folder from the File Explorer navigation pane. (Windows 10 only)
Hide duplicate removable drive entries from the File Explorer navigation pane, so only the entry under 'This PC'
remains.

Taskbar

Align taskbar icons to the left. (Windows 11 only)


Hide or change the search icon/box on the taskbar. (Windows 11 only)
Hide the taskview button from the taskbar. (Windows 11 only)
Disable the widgets service & hide icon from the taskbar.
Hide the chat (meet now) icon from the taskbar.

Context Menu

Restore the old Windows 10 style context menu. (Windows 11 only)


Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (Windows 10 only)

Other

Disable Xbox game/screen recording. (Also stops gaming overlay popups)


Sysprep mode to apply changes to the Windows Default user profile.
Default Mode
The default mode applies the changes that are recommended for most users, expand the section below for more info.

Click to expand
Default mode applies the following changes:
Usage
- Remove the default selection of bloatware apps. (See below for full list)
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
- Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer,
Warning
- Disable & remove Bing web search & Cortana from Windows search.
- Disable Windows Copilot. (Windows 11 only)
Great care went into making sure this script does not unintentionally break any OS functionality, but use at your
- Show file extensions for known file types.
own- Hide
risk! the 3D objects folder under 'This pc' from File Explorer. (Windows 10 only)
- Disable the widget service & hide the icon from the taskbar.
- Hide the Chat (meet now) icon from the taskbar.
Quick method
Download & run the script automatically via PowerShell. All traces of the script are removed automatically after
execution.
Apps that ARE removed by default
Open
Click PowerShell as an administrator.
to expand
Copy and paste the code below into PowerShell, press enter to run the script:
Microsoft bloat:
Apps that are NOT removed by default
- Clipchamp.Clipchamp
Click to- Microsoft.3DBuilder
& ([ scriptblock
expand ]::Create((irm " https://win11debloat.raphi.re/ " )))
- Microsoft.549981C3F5F10 (Cortana app)
-General Microsoft.BingFinance
apps that are not removed by default:
Wait-- for the script to automatically
Microsoft.BingFoodAndDrink
Microsoft.Edge download
(Edge browser, Win11Debloat.
only removeable in the EEA)
A new-- Microsoft.GetHelp Microsoft.BingHealthAndFitness
PowerShell window (Required will open showing
for some theWindows
Win11Debloat menu. Select either the default or custom mode
11 Troubleshooters)
-- Microsoft.BingNews Microsoft.MSPaint (Paint 3D)
to continue.
-- Microsoft.OutlookForWindows*
Microsoft.BingSearch* (Bing web (Newsearch
mail app)in Windows)
Carefully
-- Microsoft.OneDrive read through and (OneDrive
Microsoft.BingSports follow the consumer)
on-screen instructions.
-- Microsoft.BingTranslator
Microsoft.Paint (Classic Paint)
This method -- Microsoft.People* supports parameters
Microsoft.BingTravel . To
(Required use forparameters
& included simplywithrun Mail
the script as explained above, but add the
& Calendar)
parameters -- Microsoft.ScreenSketch
Microsoft.BingWeather
at the end with spaces in(Snipping between. Example:
Tool)
-- Microsoft.Getstarted
Microsoft.Whiteboard (Cannot be uninstalled
(Only preinstalled in Windows
on devices with 11)
touchscreen and/or pen support)
-- Microsoft.Windows.Photos
Microsoft.Messaging
& ([ scriptblock ]::Create((irm " https://win11debloat.raphi.re/ " ))) - RunDefaults - Silent
-- Microsoft.WindowsCalculator
Microsoft.Microsoft3DViewer
-- Microsoft.MicrosoftJournal
Microsoft.WindowsCamera
-- Microsoft.windowscommunicationsapps*
Microsoft.MicrosoftOfficeHub (Mail & Calendar)
Traditional method -- Microsoft.WindowsStore
Microsoft.MicrosoftPowerBIForWindows (Microsoft Store, NOTE: This app cannot be reinstalled!)
-- Microsoft.MicrosoftSolitaireCollection
Microsoft.WindowsTerminal (New default terminal app in Windows 11)
Manually-- download Microsoft.MicrosoftStickyNotes
& run the script.
Microsoft.YourPhone (Phone Link)
-- Microsoft.Xbox.TCUI
Microsoft.MixedReality.Portal (UI framework, removing this may break MS store, photos and certain
Download -- Microsoft.NetworkSpeedTest
the latest version (Modern
Microsoft.ZuneMusic of the scriptMedia, and extract the .ZIP file to your desired location.
Player)
- MicrosoftWindows.CrossDevice
- Microsoft.News (Phone integration within File Explorer, Camera and more)
Navigate to the Win11Debloat folder
- Microsoft.Office.OneNote (Discontinued UWP version only, does not remove new MS365 versions)
Double clickrelated
- Microsoft.Office.Sway
Gaming the Run.bat
apps that file toarestartnottheremoved
script. NOTE: If the console window immediately closes and nothing
by default:
happens, -- Microsoft.GamingApp*
Microsoft.OneConnect
try the advanced method (Modernbelow. Xbox Gaming App, required for installing some games)
-- Microsoft.Print3D
Microsoft.XboxGameOverlay* (Game overlay, required for some games)
Accept the Windows UAC prompt to run the script as administrator, this is required for the script to function.
-- Microsoft.XboxGamingOverlay*
Microsoft.SkypeApp (Game overlay, required for some games)
A new PowerShell window will now open (Xbox
-- Microsoft.XboxIdentityProvider
Microsoft.Todos showing the Win11Debloat
sign-in menu. Select
framework, required for either
some the default or custom
games)
mode - Microsoft.WindowsAlarms
to continue.
- Microsoft.XboxSpeechToTextOverlay (Might be required for some games, NOTE: This app cannot
- Microsoft.WindowsFeedbackHub
Carefully read through and follow the on-screen instructions.
- Microsoft.WindowsMaps
Developer related apps that are not removed by default:
-- Microsoft.WindowsSoundRecorder
Microsoft.PowerAutomateDesktop*
Advanced method -- Microsoft.RemoteDesktop*
Microsoft.XboxApp (Old Xbox Console Companion App, no longer supported)
-- Windows.DevHome*
Microsoft.ZuneVideo
Manually- MicrosoftCorporationII.MicrosoftFamily
download the script & run the script via PowerShell. (Microsoft Only Family Safety) for advanced users.
recommended
*- Can
MicrosoftTeams
be removed by (Oldrunning
personal the version
script withof MS theTeams from the
relevant MS Store)(See parameters section
parameter.
Download - MSTeams the (New
latest MSversion
Teams of app)
the script , and extract the .ZIP file to your desired location.
Open PowerShell
Third as an administrator.
party bloat:
Temporarily enable PowerShell execution by entering the following command:
- ACGMediaPlayer
- ActiproSoftwareLLC
- AdobeSystemsIncorporated.AdobePhotoshopExpress
Set-ExecutionPolicy
- Amazon.com.Amazon Unrestricted - Scope Process
- AmazonVideo.PrimeVideo
- Asphalt8Airborne
In PowerShell, navigate to the directory where the files were extracted. Example: cd c:\Win11Debloat
- AutodeskSketchBook
Now- CaesarsSlotsFreeCasino
run the script by entering the following command:
- COOKINGFEVER
- CyberLinkMediaSuiteEssentials
.\Win11Debloat.ps1
- DisneyMagicKingdoms
- Disney
- Dolby
The- Win11Debloat
DrawboardPDF
menu will now open. Select either the default or custom setup to continue.
Carefully read through and follow the on-screen instructions.
- Duolingo-LearnLanguagesforFree
- EclipseManager
This method supports parameters . To use parameters simply run the script as explained above, but add the
- Facebook
- FarmVille2CountryEscape
parameters at the end with spaces in between. Example:
- fitbit
- Flipboard
.\Win11Debloat.ps1
- HiddenCity - RemoveApps - DisableBing - Silent
- HULULLC.HULUPLUS
- iHeartRadio
Parameters
- Instagram
- king.com.BubbleWitch3Saga
The quick and advanced usage methods support switch parameters. A table of
- king.com.CandyCrushSaga all the supported parameters and what
they do - canking.com.CandyCrushSodaSaga
be found below.
- LinkedInforWindows
- MarchofEmpires
Parameter
- Netflix Description
- NYTCrossword
- OneCalendar Suppresses all interactive prompts, so the script will run without requiring any
-Silent
- PandoraMediaInc user input.
- PhototasticCollage
- PicsArt-PhotoStudio Run the script in Sysprep mode. All changes will be applied to the Windows
-Sysprep
- Plex default user profile and will only affect new user accounts.
- PolarrPhotoEditorAcademicEdition
-RunDefaults
- Royal Revolt Run the script with the default settings.
- Shazam
- -RemoveApps
Sidia.LiveWallpaper Remove the default selection of bloatware apps.
- SlingTV
- Speed Test
Remove all apps specified in the 'CustomAppsList' file. IMPORTANT: You can
-RemoveAppsCustom
- Spotify generate your custom list by running the script with the -RunAppConfigurator
- TikTok parameter. No apps will be removed if this file does not exist!
- TuneInRadio
- Twitter Run the app configurator to generate a list of apps to remove, the list is saved
-RunAppConfigurator
- Viber to the 'CustomAppsList' file. Running the script with the -RemoveAppsCustom
- WinZipUniversal parameter will remove the selected apps.
- Wunderlist
- XING
-RemoveCommApps Remove the Mail, Calendar, and People apps.

-RemoveW11Outlook
* App is removed when Remove Bing
disabling the new
in Outlook
Windows for Windows app.
search.

Remove developer-related apps such as Remote Desktop, DevHome and Power


-RemoveDevApps
Automate.

-RemoveGamingApps Remove the Xbox App and Xbox Gamebar.

Forcefully remove Microsoft Edge, this option leaves Core, WebView and Update
-ForceRemoveEdge
components installed for compatibility. NOT RECOMMENDED!

-DisableDVR Disable Xbox game/screen recording feature & stop gaming overlay popups.

Remove all pinned apps from start for the current user (Windows 11 update
-ClearStart
22H2 or later only)

Remove all pinned apps from start for all existing and new users. (Windows 11
-ClearStartAllUsers
update 22H2 or later only)

-DisableTelemetry Disable telemetry, diagnostic data & targeted ads.

-DisableBing Disable & remove Bing web search, Bing AI & Cortana in Windows search.
Disable tips, tricks, suggestions and ads in start, settings, notifications and File
-DisableSuggestions
Explorer.

-DisableLockscreenTips Disable tips & tricks on the lockscreen.

-RevertContextMenu Restore the old Windows 10 style context menu. (Windows 11 only)

-ShowHiddenFolders Show hidden files, folders and drives.

-ShowKnownFileExt Show file extensions for known file types.

Hide duplicate removable drive entries from the File Explorer navigation pane,
-HideDupliDrive
so only the entry under 'This PC' remains.

-TaskbarAlignLeft Align taskbar icons to the left. (Windows 11 only)

-HideSearchTb Hide search icon from the taskbar. (Windows 11 only)

-ShowSearchIconTb Show search icon on the taskbar. (Windows 11 only)

-ShowSearchLabelTb Show search icon with label on the taskbar. (Windows 11 only)

-ShowSearchBoxTb Show search box on the taskbar. (Windows 11 only)

-HideTaskview Hide the taskview button from the taskbar. (Windows 11 only)

-HideChat Hide the chat (meet now) icon from the taskbar.

Disable the widget service & hide the widget (news and interests) icon from the
-DisableWidgets
taskbar.

-DisableCopilot Disable and remove Windows Copilot. (Windows 11 only)

-DisableRecall Disable Windows Recall snapshots. (Windows 11 only)

Hide the home section from the File Explorer navigation pane and add a toggle
-HideHome
in the File Explorer folder options. (Windows 11 only)

Hide the gallery section from the File Explorer navigation pane and add a toggle
-HideGallery
in the File Explorer folder options. (Windows 11 only)

Hide the OneDrive folder from the File Explorer navigation pane. (Windows 10
-HideOnedrive
only)

-Hide3dObjects Hide the 3D objects folder under 'This pc' in File Explorer. (Windows 10 only)

-HideMusic Hide the music folder under 'This pc' in File Explorer. (Windows 10 only)

-HideIncludeInLibrary Hide the 'Include in library' option in the context menu. (Windows 10 only)

-HideGiveAccessTo Hide the 'Give access to' option in the context menu. (Windows 10 only)

-HideShare Hide the 'Share' option in the context menu. (Windows 10 only)

© 2024 GitHub, Inc. Terms Privacy Security Status Docs Contact Manage cookies Do not share my personal information

You might also like