Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SimonCropp/WinDebloat

Open more actions menu

Repository files navigation

WinDebloat

Build status NuGet Status

A dotnet tool that removes the bloat in Windows 11

Warning

This tool makes changes to the Registry. Consider doing a backup before using.

See Milestones for release notes.

Requirements

Install WinDebloat

dotnet tool install -g WinDebloat

Usage

WinDebloat

Including/Excluding items

Ids are case insensitive.

Ids for each item are listed below.

Including items

Optional items can be included by using the --include argument:

WinDebloat --include Paint

See Optional Items Removed / Disabled

Including all Optional items

WinDebloat --include-all

Excluding items

Items can be excluded by using the --exclude argument:

WinDebloat --exclude AdvertiserId Xbox

Items DeBloated

Default Items Removed / Disabled

3D Viewer

Id to exclude: 3DViewer

Uninstalls 3D Viewer using winget.

Command to manually apply:

winget uninstall --name "3D Viewer" --exact --all-versions

Notes:

Advertiser Id

Id to exclude: AdvertiserId

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo"`
                 -Name "Enabled"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo"`
                 -Name "Enabled"`
                 -Type "DWord"`
                 -Value "1"

Notes:

Bing Desktop Visual Search

Id to exclude: BingDesktopVisualSearch

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "ShowVisualSearchDesktopIcon"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "ShowVisualSearchDesktopIcon"`
                 -Type "DWord"`
                 -Value "1"

Notes:

Bing Wallpaper Context Menu

Id to exclude: BingWallpaperContextMenu

.SpotlightLearnMore

Command to manually apply:
New-Item -Path "Registry::HKCU\Software\Classes\DesktopBackground\Shell\.SpotlightLearnMore" -Value ""
Command to manually revert:
Remove-Item -Path "Registry::HKCU\Software\Classes\DesktopBackground\Shell\.SpotlightLearnMore"
Notes:
  • Removes "Explore background" or "Learn about this background" from desktop right-click context menu
  • This context menu item opens Microsoft Bing's spotlight page
  • Eleven Forum: Remove Explore Background

.SpotlightNextImage

Command to manually apply:
New-Item -Path "Registry::HKCU\Software\Classes\DesktopBackground\Shell\.SpotlightNextImage" -Value ""
Command to manually revert:
Remove-Item -Path "Registry::HKCU\Software\Classes\DesktopBackground\Shell\.SpotlightNextImage"
Notes:
  • Removes "Next desktop background" or "Next background" from desktop right-click context menu
  • This context menu item allows switching between Bing daily images
  • Eleven Forum: Remove Next Background

Camera

Id to exclude: Camera

Uninstalls Windows Camera using winget.

Command to manually apply:

winget uninstall --name "Windows Camera" --exact --all-versions

Notes:

Chat

Id to exclude: Chat

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "TaskbarMn"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "TaskbarMn"`
                 -Type "DWord"`
                 -Value "1"

Notes:

Clipchamp

Id to exclude: Clipchamp

Uninstalls Clipchamp using winget.

Command to manually apply:

winget uninstall --name "Clipchamp" --exact --all-versions

Notes:

Cortana

Id to exclude: Cortana

Uninstalls Cortana using winget.

Command to manually apply:

winget uninstall --name "Cortana" --exact --all-versions

Edge Desktop Search Bar

Id to exclude: EdgeDesktopSearchBar

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "WebWidgetAllowed"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "WebWidgetAllowed"`
                 -Type "DWord"`
                 -Value "1"

Notes:

EdgeRecommendations

Id to exclude: EdgeRecommendations

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "ShowRecommendationsEnabled"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "ShowRecommendationsEnabled"`
                 -Type "DWord"`
                 -Value "1"

Notes:

Explorer 3D Objects

Id to exclude: Explorer3DObjects

Command to manually apply:

Remove-Item -Path "Registry::HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}"

Command to manually revert:

New-Item -Path "Registry::HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" -Value ""

Feedback Hub

Id to exclude: FeedbackHub

Uninstalls Feedback Hub using winget.

Command to manually apply:

winget uninstall --name "Feedback Hub" --exact --all-versions

FileExtensions

Id to exclude: FileExtensions

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "HideFileExt"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "HideFileExt"`
                 -Type "DWord"`
                 -Value "1"

FilmsAndTV

Id to exclude: FilmsAndTV

Uninstalls Films & TV using winget.

Command to manually apply:

winget uninstall --name "Films & TV" --exact --all-versions

Games

Id to exclude: Games

Solitaire & Casual Games

Uninstalls Solitaire & Casual Games using winget.

Command to manually apply:
winget uninstall --name "Solitaire & Casual Games" --exact --all-versions

Microsoft Solitaire Collection

Uninstalls Microsoft Solitaire Collection using winget.

Command to manually apply:
winget uninstall --name "Microsoft Solitaire Collection" --exact --all-versions

Get Help

Id to exclude: GetHelp

Uninstalls Get Help using winget.

Command to manually apply:

winget uninstall --name "Get Help" --exact --all-versions

Internet Connection Sharing

Id to exclude: InternetConnectionSharing

Uninstalls SharedAccess using winget.

Command to manually apply:

winget uninstall --name "SharedAccess" --exact --all-versions

Lock Screen Ads

Id to exclude: LockScreenAds

RotatingLockScreenOverlayEnabled

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "RotatingLockScreenOverlayEnabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "RotatingLockScreenOverlayEnabled"`
                 -Type "DWord"`
                 -Value "1"
Notes:

SubscribedContent

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-338387Enabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-338387Enabled"`
                 -Type "DWord"`
                 -Value "1"

SubscribedContent-338389Enabled

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-338389Enabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-338389Enabled"`
                 -Type "DWord"`
                 -Value "1"

SubscribedContent-353696Enabled

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-353696Enabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-353696Enabled"`
                 -Type "DWord"`
                 -Value "1"

SubscribedContent-353698Enabled

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-353698Enabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"`
                 -Name "SubscribedContent-353698Enabled"`
                 -Type "DWord"`
                 -Value "1"

Learn about this image

Id to exclude: Learnaboutthisimage

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"`
                 -Name "{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"`
                 -Type "DWord"`
                 -Value "1"

Command to manually revert:

Remove-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"`
                    -Name "{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"

Notes:

Mail and Calendar

Id to exclude: MailandCalendar

Uninstalls Mail and Calendar using winget.

Command to manually apply:

winget uninstall --name "Mail and Calendar" --exact --all-versions

Maps

Id to exclude: Maps

Windows Maps

Uninstalls Windows Maps using winget.

Command to manually apply:
winget uninstall --name "Windows Maps" --exact --all-versions

MapsBroker

Command to manually apply:
Stop-Service -Name "MapsBroker"
Set-Service -Name "MapsBroker"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "MapsBroker"`
            -StartupType "Automatic"
Start-Service -Name "MapsBroker"

Media Player

Id to exclude: MediaPlayer

Uninstalls Windows Media Player using winget.

Command to manually apply:

winget uninstall --name "Windows Media Player" --exact --all-versions

Mixed Reality Portal

Id to exclude: MixedRealityPortal

Uninstalls Mixed Reality Portal using winget.

Command to manually apply:

winget uninstall --name "Mixed Reality Portal" --exact --all-versions

Movies and TV

Id to exclude: MoviesandTV

Uninstalls Movies & TV using winget.

Command to manually apply:

winget uninstall --name "Movies & TV" --exact --all-versions

News

Id to exclude: News

Microsoft News

Uninstalls Microsoft News using winget.

Command to manually apply:
winget uninstall --name "Microsoft News" --exact --all-versions

News

Uninstalls News using winget.

Command to manually apply:
winget uninstall --name "News" --exact --all-versions

OneNote

Id to exclude: OneNote

Uninstalls OneNote for Windows 10 using winget.

Command to manually apply:

winget uninstall --name "OneNote for Windows 10" --exact --all-versions

Pay

Id to exclude: Pay

Uninstalls Microsoft Pay using winget.

Command to manually apply:

winget uninstall --name "Microsoft Pay" --exact --all-versions

People

Id to exclude: People

Uninstalls Microsoft People using winget.

Command to manually apply:

winget uninstall --name "Microsoft People" --exact --all-versions

Photos

Id to exclude: Photos

Uninstalls Microsoft Photos using winget.

Command to manually apply:

winget uninstall --name "Microsoft Photos" --exact --all-versions

Power Automate

Id to exclude: PowerAutomate

Uninstalls Power Automate using winget.

Command to manually apply:

winget uninstall --name "Power Automate" --exact --all-versions

PowerShell Unrestricted

Id to exclude: PowerShellUnrestricted

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell"`
                 -Name "ExecutionPolicy"`
                 -Type "String"`
                 -Value "Unrestricted"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell"`
                 -Name "ExecutionPolicy"`
                 -Type "String"`
                 -Value "Restricted"

Print 3D

Id to exclude: Print3D

Uninstalls Print 3D using winget.

Command to manually apply:

winget uninstall --name "Print 3D" --exact --all-versions

Skype

Id to exclude: Skype

Uninstalls Skype using winget.

Command to manually apply:

winget uninstall --name "Skype" --exact --all-versions

Notes:

Spotify

Id to exclude: Spotify

Uninstalls Spotify Music using winget.

Command to manually apply:

winget uninstall --name "Spotify Music" --exact --all-versions

Startup boost

Id to exclude: Startupboost

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "StartupBoostEnabled"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "StartupBoostEnabled"`
                 -Type "DWord"`
                 -Value "1"

Notes:

Start Menu Recommendations

Id to exclude: StartMenuRecommendations

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer"`
                 -Name "HideRecommendedSection"`
                 -Type "DWord"`
                 -Value "1"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer"`
                 -Name "HideRecommendedSection"`
                 -Type "DWord"`
                 -Value "0"

Notes:

Sticky Notes

Id to exclude: StickyNotes

Uninstalls Microsoft Sticky Notes using winget.

Command to manually apply:

winget uninstall --name "Microsoft Sticky Notes" --exact --all-versions

Notes:

TaskBar Search

Id to exclude: TaskBarSearch

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Search"`
                 -Name "SearchboxTaskbarMode"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Search"`
                 -Name "SearchboxTaskbarMode"`
                 -Type "DWord"`
                 -Value "1"

Task View

Id to exclude: TaskView

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "ShowTaskViewButton"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "ShowTaskViewButton"`
                 -Type "DWord"`
                 -Value "1"

Teams Installer

Id to exclude: TeamsInstaller

Uninstalls Teams Machine-Wide Installer using winget.

Command to manually apply:

winget uninstall --name "Teams Machine-Wide Installer" --exact --all-versions

Notes:

Telemetry

Id to exclude: Telemetry

Allow Telemetry

Command to manually apply:
Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection"`
                 -Name "Allow Telemetry"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection"`
                 -Name "Allow Telemetry"`
                 -Type "DWord"`
                 -Value "1"

DiagTrack

Command to manually apply:
Stop-Service -Name "DiagTrack"
Set-Service -Name "DiagTrack"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "DiagTrack"`
            -StartupType "Automatic"
Start-Service -Name "DiagTrack"

Tips

Id to exclude: Tips

Uninstalls Microsoft Tips using winget.

Command to manually apply:

winget uninstall --name "Microsoft Tips" --exact --all-versions

To Do

Id to exclude: ToDo

Uninstalls Microsoft To Do using winget.

Command to manually apply:

winget uninstall --name "Microsoft To Do" --exact --all-versions

Notes:

Weather

Id to exclude: Weather

Uninstalls MSN Weather using winget.

Command to manually apply:

winget uninstall --name "MSN Weather" --exact --all-versions

Web Experience Pack

Id to exclude: WebExperiencePack

Uninstalls Windows Web Experience Pack using winget.

Command to manually apply:

winget uninstall --name "Windows Web Experience Pack" --exact --all-versions

Start Menu Web Search

Id to exclude: StartMenuWebSearch

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer"`
                 -Name "DisableSearchBoxSuggestions"`
                 -Type "DWord"`
                 -Value "1"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer"`
                 -Name "DisableSearchBoxSuggestions"`
                 -Type "DWord"`
                 -Value "0"

Whiteboard

Id to exclude: Whiteboard

Uninstalls Microsoft Whiteboard using winget.

Command to manually apply:

winget uninstall --name "Microsoft Whiteboard" --exact --all-versions

Widgets

Id to exclude: Widgets

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "TaskbarDa"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"`
                 -Name "TaskbarDa"`
                 -Type "DWord"`
                 -Value "1"

Xbox

Id to exclude: Xbox

Xbox TCUI

Uninstalls Xbox TCUI using winget.

Command to manually apply:
winget uninstall --name "Xbox TCUI" --exact --all-versions

Xbox Console Companion

Uninstalls Xbox Console Companion using winget.

Command to manually apply:
winget uninstall --name "Xbox Console Companion" --exact --all-versions

Xbox Game Bar Plugin

Uninstalls Xbox Game Bar Plugin using winget.

Command to manually apply:
winget uninstall --name "Xbox Game Bar Plugin" --exact --all-versions

Xbox Identity Provider

Uninstalls Xbox Identity Provider using winget.

Command to manually apply:
winget uninstall --name "Xbox Identity Provider" --exact --all-versions

Xbox Game Speech Window

Uninstalls Xbox Game Speech Window using winget.

Command to manually apply:
winget uninstall --name "Xbox Game Speech Window" --exact --all-versions

Xbox Game Bar

Uninstalls Xbox Game Bar using winget.

Command to manually apply:
winget uninstall --name "Xbox Game Bar" --exact --all-versions

Xbox Accessories

Uninstalls Xbox Accessories using winget.

Command to manually apply:
winget uninstall --name "Xbox Accessories" --exact --all-versions

Xbox

Uninstalls Xbox using winget.

Command to manually apply:
winget uninstall --name "Xbox" --exact --all-versions

Optional Items Removed / Disabled

Clock

Id to include: Clock

Windows Clock

Uninstalls Windows Clock using winget.

Command to manually apply:
winget uninstall --name "Windows Clock" --exact --all-versions
Notes:

Windows Alarms & Clock

Uninstalls Windows Alarms & Clock using winget.

Command to manually apply:
winget uninstall --name "Windows Alarms & Clock" --exact --all-versions

Copilot

Id to include: Copilot

Microsoft Copilot

Uninstalls Microsoft Copilot using winget.

Command to manually apply:
winget uninstall --name "Microsoft Copilot" --exact --all-versions

Microsoft 365 Copilot

Uninstalls Microsoft 365 Copilot using winget.

Command to manually apply:
winget uninstall --name "Microsoft 365 Copilot" --exact --all-versions

Microsoft 365 (Office)

Uninstalls Microsoft 365 (Office) using winget.

Command to manually apply:
winget uninstall --name "Microsoft 365 (Office)" --exact --all-versions

Copilot

Uninstalls Copilot using winget.

Command to manually apply:
winget uninstall --name "Copilot" --exact --all-versions

Explorer: Ask Copilot (HKLM)

Command to manually apply:
Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked"`
                 -Name "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}"`
                 -Type "String"`
                 -Value ""
Command to manually revert:
Remove-ItemProperty -Path "Registry::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked"`
                    -Name "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}"
Notes:
  • Remove 'Ask Copilot' from Right-Click Menu in File Explorer.

Explorer: Ask Copilot (HKCU)

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked"`
                 -Name "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}"`
                 -Type "String"`
                 -Value ""
Command to manually revert:
Remove-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked"`
                    -Name "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}"
Notes:
  • Remove 'Ask Copilot' from Right-Click Menu in File Explorer (per-user hive — required on recent Windows 11 builds). Restart Explorer to take effect.

Copilot Notepad

Command to manually apply:
Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\WindowsNotepad"`
                 -Name "DisableAIFeatures"`
                 -Type "DWord"`
                 -Value "1"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\WindowsNotepad"`
                 -Name "DisableAIFeatures"`
                 -Type "DWord"`
                 -Value "0"

Consumer Features

Id to include: ConsumerFeatures

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent"`
                 -Name "DisableWindowsConsumerFeatures"`
                 -Type "DWord"`
                 -Value "1"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent"`
                 -Name "DisableWindowsConsumerFeatures"`
                 -Type "DWord"`
                 -Value "0"

Notes:

  • Stops Windows silently installing promoted and suggested apps (e.g. Candy Crush, TikTok)
  • Fully effective on Pro/Enterprise/Education editions; the effect on Home is limited in recent builds
  • admx.help: DisableWindowsConsumerFeatures

Customize This Folder

Id to include: CustomizeThisFolder

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"`
                 -Name "NoCustomizeThisFolder"`
                 -Type "DWord"`
                 -Value "1"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"`
                 -Name "NoCustomizeThisFolder"`
                 -Type "DWord"`
                 -Value "0"

Notes:

  • Removes Explorer "Customize this folder" functionality. Both from the context menu and from the properties tab.

Default Browser Prompt

Id to include: DefaultBrowserPrompt

Chrome DefaultBrowserSettingEnabled

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Policies\Google\Chrome"`
                 -Name "DefaultBrowserSettingEnabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Policies\Google\Chrome"`
                 -Name "DefaultBrowserSettingEnabled"`
                 -Type "DWord"`
                 -Value "1"
Notes:

Edge DefaultBrowserSettingEnabled

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\Software\Policies\Microsoft\Edge"`
                 -Name "DefaultBrowserSettingEnabled"`
                 -Type "DWord"`
                 -Value "0"
Command to manually revert:
Set-ItemProperty -Path "Registry::HKCU\Software\Policies\Microsoft\Edge"`
                 -Name "DefaultBrowserSettingEnabled"`
                 -Type "DWord"`
                 -Value "1"
Notes:

DevHome

Id to include: DevHome

Uninstalls Microsoft.DevHome using winget.

Command to manually apply:

winget uninstall --id "Microsoft.DevHome" --all-versions --exact

Notes:

dotnet

Id to include: dotnet

Sets environment variable DOTNET_CLI_TELEMETRY_OPTOUT to true.

Command to manually apply:

$env:DOTNET_CLI_TELEMETRY_OPTOUT = "true";

Notes:

Developer Mode

Id to include: DeveloperMode

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx"`
                 -Name "AllowDevelopmentWithoutDevLicense"`
                 -Type "DWord"`
                 -Value "1"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx"`
                 -Name "AllowDevelopmentWithoutDevLicense"`
                 -Type "DWord"`
                 -Value "0"

Notes:

Edge Bing SideBar

Id to include: EdgeBingSideBar

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "HubsSidebarEnabled"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "HubsSidebarEnabled"`
                 -Type "DWord"`
                 -Value "1"

Notes:

Edge Default Location To Blank

Id to include: EdgeDefaultLocationToBlank

HomepageLocation

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "HomepageLocation"`
                 -Type "String"`
                 -Value "about:blank"
Command to manually revert:
Remove-ItemProperty -Path "Registry::HKCU\SOFTWARE\Policies\Microsoft\Edge"`
                    -Name "HomepageLocation"
Notes:

NewTabPageLocation

Command to manually apply:
Set-ItemProperty -Path "Registry::HKCU\SOFTWARE\Policies\Microsoft\Edge"`
                 -Name "NewTabPageLocation"`
                 -Type "String"`
                 -Value "about:blank"
Command to manually revert:
Remove-ItemProperty -Path "Registry::HKCU\SOFTWARE\Policies\Microsoft\Edge"`
                    -Name "NewTabPageLocation"
Notes:

Explorer Classic Menu

Id to include: ExplorerClassicMenu

Command to manually apply:

New-Item -Path "Registry::HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" -Value ""

Command to manually revert:

Remove-Item -Path "Registry::HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32"

Game Assist

Id to include: GameAssist

Uninstalls Microsoft Edge Game Assist using winget.

Command to manually apply:

winget uninstall --name "Microsoft Edge Game Assist" --exact --all-versions

Give Access To

Id to include: GiveAccessTo

Command to manually apply:

Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked"`
                 -Name "{f81e9010-6ea4-11ce-a7ff-00aa003ca9f6}"`
                 -Type "String"`
                 -Value ""

Command to manually revert:

Remove-ItemProperty -Path "Registry::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked"`
                    -Name "{f81e9010-6ea4-11ce-a7ff-00aa003ca9f6}"

Notes:

  • Removes Explorer "Give access to" functionality. Both from the context menu and from the properties tab.

Health Check

Id to include: HealthCheck

Uninstalls Windows PC Health Check using winget.

Command to manually apply:

winget uninstall --name "Windows PC Health Check" --exact --all-versions

Notes:

HP Vendorware

Id to include: HP

HP Desktop Support Utilities

Uninstalls HP Desktop Support Utilities using winget.

Command to manually apply:
winget uninstall --name "HP Desktop Support Utilities" --exact --all-versions

HP Documentation

Uninstalls HP Documentation using winget.

Command to manually apply:
winget uninstall --name "HP Documentation" --exact --all-versions

HP Notifications

Uninstalls HP Notifications using winget.

Command to manually apply:
winget uninstall --name "HP Notifications" --exact --all-versions

HPHelp

Uninstalls HPHelp using winget.

Command to manually apply:
winget uninstall --name "HPHelp" --exact --all-versions

HpTouchpointAnalyticsService

Command to manually apply:
Stop-Service -Name "HpTouchpointAnalyticsService"
Set-Service -Name "HpTouchpointAnalyticsService"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "HpTouchpointAnalyticsService"`
            -StartupType "Automatic"
Start-Service -Name "HpTouchpointAnalyticsService"

HPAppHelperCap

Command to manually apply:
Stop-Service -Name "HPAppHelperCap"
Set-Service -Name "HPAppHelperCap"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "HPAppHelperCap"`
            -StartupType "Automatic"
Start-Service -Name "HPAppHelperCap"

HPDiagsCap

Command to manually apply:
Stop-Service -Name "HPDiagsCap"
Set-Service -Name "HPDiagsCap"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "HPDiagsCap"`
            -StartupType "Automatic"
Start-Service -Name "HPDiagsCap"

HPSysInfoCap

Command to manually apply:
Stop-Service -Name "HPSysInfoCap"
Set-Service -Name "HPSysInfoCap"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "HPSysInfoCap"`
            -StartupType "Automatic"
Start-Service -Name "HPSysInfoCap"

hpsvcsscan

Command to manually apply:
Stop-Service -Name "hpsvcsscan"
Set-Service -Name "hpsvcsscan"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "hpsvcsscan"`
            -StartupType "Automatic"
Start-Service -Name "hpsvcsscan"

HotKeyServiceDSU

Command to manually apply:
Stop-Service -Name "HotKeyServiceDSU"
Set-Service -Name "HotKeyServiceDSU"`
            -StartupType "Disabled"
Command to manually revert:
Set-Service -Name "HotKeyServiceDSU"`
            -StartupType "Automatic"
Start-Service -Name "HotKeyServiceDSU"

Office 365

Id to include: Office365

Uninstalls Microsoft 365 (Office) using winget.

Command to manually apply:

winget uninstall --name "Microsoft 365 (Office)" --exact --all-versions

Office Cloud Files

Id to include: OfficeCloudFiles

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer"`
                 -Name "ShowCloudFilesInQuickAccess"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer"`
                 -Name "ShowCloudFilesInQuickAccess"`
                 -Type "DWord"`
                 -Value "1"

Notes:

  • Disables Office cloud files in explorer


OneDrive

Id to include: OneDrive

Uninstalls Microsoft.OneDrive using winget.

Command to manually apply:

winget uninstall --id "Microsoft.OneDrive" --all-versions --exact

Notes:

Phone Link

Id to include: PhoneLink

Uninstalls Phone Link using winget.

Command to manually apply:

winget uninstall --name "Phone Link" --exact --all-versions

Notes:

Printer

Id to include: Printer

Command to manually apply:

Stop-Service -Name "Spooler"
Set-Service -Name "Spooler"`
            -StartupType "Disabled"

Command to manually revert:

Set-Service -Name "Spooler"`
            -StartupType "Automatic"
Start-Service -Name "Spooler"

Program Compatibility Assistant

Id to include: ProgramCompatibilityAssistant

Command to manually apply:

Stop-Service -Name "PcaSvc"
Set-Service -Name "PcaSvc"`
            -StartupType "Disabled"

Command to manually revert:

Set-Service -Name "PcaSvc"`
            -StartupType "Automatic"
Start-Service -Name "PcaSvc"

Quick Assist

Id to include: QuickAssist

Uninstalls Quick Assist using winget.

Command to manually apply:

winget uninstall --name "Quick Assist" --exact --all-versions

Notes:

Store Notifications

Id to include: StoreNotifications

Command to manually apply:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Microsoft.WindowsStore_8wekyb3d8bbwe!App"`
                 -Name "Enabled"`
                 -Type "DWord"`
                 -Value "0"

Command to manually revert:

Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Microsoft.WindowsStore_8wekyb3d8bbwe!App"`
                 -Name "Enabled"`
                 -Type "DWord"`
                 -Value "1"

Notes:

  • Disables toast notifications from the Microsoft Store, such as the "PC Game Pass is included" promotional popup offering a free 3 months of Game Pass
  • Equivalent to Settings > Notifications > Microsoft Store > Off

Teams

Id to include: Teams

Microsoft.Teams.Classic

Uninstalls Microsoft.Teams.Classic using winget.

Command to manually apply:
winget uninstall --id "Microsoft.Teams.Classic" --all-versions --exact
Notes:

Microsoft.Teams.Free

Uninstalls Microsoft.Teams.Free using winget.

Command to manually apply:
winget uninstall --id "Microsoft.Teams.Free" --all-versions --exact

Microsoft.Teams

Uninstalls Microsoft.Teams using winget.

Command to manually apply:
winget uninstall --id "Microsoft.Teams" --all-versions --exact

Voice Recorder

Id to include: VoiceRecorder

Uninstalls Windows Voice Recorder using winget.

Command to manually apply:

winget uninstall --name "Windows Voice Recorder" --exact --all-versions

Notes

Icons

Elephant designed by Icons Producer from The Noun Project.

Testing

Unit tests should be run with elevated privileges

About

A dotnet tool that removes the bloat in Windows

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.