Skip to content

Latest commit

 

History

History
1733 lines (1061 loc) · 38.3 KB

readme.md

File metadata and controls

1733 lines (1061 loc) · 38.3 KB

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

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:

Camera

Id to exclude: Camera

Uninstalls Windows Camera using winget.

Command to manually apply:

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

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

Notes:

Cortana

Id to exclude: Cortana

Uninstalls Cortana using winget.

Command to manually apply:

winget uninstall --name "Cortana" --exact

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:

Feedback Hub

Id to exclude: FeedbackHub

Uninstalls Feedback Hub using winget.

Command to manually apply:

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

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

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

Microsoft Solitaire Collection

Uninstalls Microsoft Solitaire Collection using winget.

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

Get Help

Id to exclude: GetHelp

Uninstalls Get Help using winget.

Command to manually apply:

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

Internet Connection Sharing

Id to exclude: InternetConnectionSharing

Uninstalls SharedAccess using winget.

Command to manually apply:

winget uninstall --name "SharedAccess" --exact

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-338387Enabled

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"

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

Maps

Id to exclude: Maps

Windows Maps

Uninstalls Windows Maps using winget.

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

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

Mixed Reality Portal

Id to exclude: MixedRealityPortal

Uninstalls Mixed Reality Portal using winget.

Command to manually apply:

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

Movies and TV

Id to exclude: MoviesandTV

Uninstalls Movies & TV using winget.

Command to manually apply:

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

News

Id to exclude: News

Microsoft News

Uninstalls Microsoft News using winget.

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

News

Uninstalls News using winget.

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

OneNote

Id to exclude: OneNote

Uninstalls OneNote for Windows 10 using winget.

Command to manually apply:

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

Paint 3D

Id to exclude: Paint3D

Uninstalls Paint 3D using winget.

Command to manually apply:

winget uninstall --name "Paint 3D" --exact

Pay

Id to exclude: Pay

Uninstalls Microsoft Pay using winget.

Command to manually apply:

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

People

Id to exclude: People

Uninstalls Microsoft People using winget.

Command to manually apply:

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

Photos

Id to exclude: Photos

Uninstalls Microsoft Photos using winget.

Command to manually apply:

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

Power Automate

Id to exclude: PowerAutomate

Uninstalls Power Automate using winget.

Command to manually apply:

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

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

Skype

Id to exclude: Skype

Uninstalls Skype using winget.

Command to manually apply:

winget uninstall --name "Skype" --exact

Notes:

Spotify

Id to exclude: Spotify

Uninstalls Spotify Music using winget.

Command to manually apply:

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

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

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

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

To Do

Id to exclude: ToDo

Uninstalls Microsoft To Do using winget.

Command to manually apply:

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

Notes:

Weather

Id to exclude: Weather

Uninstalls MSN Weather using winget.

Command to manually apply:

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

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

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

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

Xbox Console Companion

Uninstalls Xbox Console Companion using winget.

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

Xbox Game Bar Plugin

Uninstalls Xbox Game Bar Plugin using winget.

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

Xbox Identity Provider

Uninstalls Xbox Identity Provider using winget.

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

Xbox Game Speech Window

Uninstalls Xbox Game Speech Window using winget.

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

Xbox Game Bar

Uninstalls Xbox Game Bar using winget.

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

Xbox Accessories

Uninstalls Xbox Accessories using winget.

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

Xbox

Uninstalls Xbox using winget.

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

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
Notes:

Windows Alarms & Clock

Uninstalls Windows Alarms & Clock using winget.

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

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.

DevHome

Id to include: DevHome

Uninstalls DevHome using winget.

Command to manually apply:

winget uninstall "DevHome"

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"

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

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

HP Documentation

Uninstalls HP Documentation using winget.

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

HP Notifications

Uninstalls HP Notifications using winget.

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

HPHelp

Uninstalls HPHelp using winget.

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

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

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 OneDrive using winget.

Command to manually apply:

winget uninstall "OneDrive"

Notes:

Paint

Id to include: Paint

Paint

Uninstalls Paint using winget.

Command to manually apply:
winget uninstall --name "Paint" --exact

paint.net

Installs paint.net using winget.

Command to manually apply:
winget install --name "paint.net" --exact

Phone Link

Id to include: PhoneLink

Uninstalls Phone Link using winget.

Command to manually apply:

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

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"

Quick Assist

Id to include: QuickAssist

Uninstalls Quick Assist using winget.

Command to manually apply:

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

Notes:

Teams

Id to include: Teams

Uninstalls Microsoft Teams using winget.

Command to manually apply:

winget uninstall --name "Microsoft Teams" --exact

Notes:

Voice Recorder

Id to include: VoiceRecorder

Uninstalls Windows Voice Recorder using winget.

Command to manually apply:

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

Notes

Icons

Elephant designed by Icons Producer from The Noun Project.

Testing

Unit tests should be run with elevated privileges