Skip to content

Instantly share code, notes, and snippets.

@y0lopix
Last active December 19, 2024 18:38
Show Gist options
  • Save y0lopix/bca18265869e5da9068de0a6729bc262 to your computer and use it in GitHub Desktop.
Save y0lopix/bca18265869e5da9068de0a6729bc262 to your computer and use it in GitHub Desktop.
Useful tweaks for Windows 11 and Windows 10
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search]
"BingSearchEnabled"=dword:00000000
"AllowSearchToUseLocation"=dword:00000000
"CortanaConsent"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
"DisableWebSearch"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
"NoUseStoreOpenWith"=dword:00000001
"NoNewAppAlert"=dword:00000001
"DisableSearchBoxSuggestions"=dword:00000001
"HidePeopleBar"=dword:00000001
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_SearchFiles"=dword:00000002
"DisallowShaking"=dword:00000001
"ShowCortanaButton"=dword:00000001
"MultiTaskingAltTabFilter"=dword:00000003
"ShowSyncProviderNotifications"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People]
"PeopleBand"=dword:00000000
"CapacityOfPeopleBar"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
;Disable auto-install of suggested apps
"SilentInstalledAppsEnabled"=dword:00000000
;Don't show app suggestions in start
"SystemPaneSuggestionsEnabled"=dword:00000000
;Don't show welcome experience
"SubscribedContent-310093Enabled"=dword:00000000
;Disable tips, tricks and suggestions
"SoftLandingEnabled"=dword:00000000
"SubscribedContent-338389Enabled"=dword:00000000
;Disable timeline
"SubscribedContent-353698Enabled"=dword:00000000
;Disable Start Menu suggestions
"SubscribedContent-338388Enabled"=dword:00000000
;Disable suggested content in Settings
"SubscribedContent-338393Enabled"=dword:00000000
"SubscribedContent-353694Enabled"=dword:00000000
"SubscribedContent-353696Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"EnableActivityFeed"=dword:00000000
"AllowClipboardHistory"=dword:00000000
"UploadUserActivities"=dword:00000000
"AllowCrossDeviceClipboard"=dword:00000000
"PublishUserActivities"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Clipboard]
"EnableClipboardHistory"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection]
"AllowTelemetry"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"AddressBarMicrosoftSearchInBingProviderEnabled"=dword:00000000
"AdsSettingForIntrusiveAdsSites"=dword:00000002
"AllowGamesMenu"=dword:00000000
"BingAdsSuppression"=dword:00000001
"BlockExternalExtensions"=dword:00000001
"CryptoWalletEnabled"=dword:00000000
"DiagnosticData"=dword:00000000
"DnsOverHttpsMode"="secure"
"DnsOverHttpsTemplates"="https://chrome.cloudflare-dns.com/dns-query"
"EdgeCollectionsEnabled"=dword:00000000
"EdgeDiscoverEnabled"=dword:00000000
"EdgeFollowEnabled"=dword:00000000
"EdgeShoppingAssistantEnabled"=dword:00000000
"HideFirstRunExperience"=dword:00000001
"HubsSidebarEnabled"=dword:00000000
"MathSolverEnabled"=dword:00000000
"MicrosoftEdgeInsiderPromotionEnabled"=dword:00000000
"NewTabPageAllowedBackgroundTypes"=dword:00000003
"NewTabPageContentEnabled"=dword:00000000
"NewTabPageHideDefaultTopSites"=dword:00000001
"NewTabPageQuickLinksEnabled"=dword:00000000
"NewTabPageSearchBox"="redirect"
"PersonalizationReportingEnabled"=dword:00000000
"PromotionalTabsEnabled"=dword:00000000
"QuickSearchShowMiniMenu"=dword:00000000
"ShowMicrosoftRewards"=dword:00000000
"ShowRecommendationsEnabled"=dword:00000000
"SleepingTabsEnabled"=dword:00000001
"TabServicesEnabled"=dword:00000000
"WebWidgetAllowed"=dword:00000000
"WebWidgetIsEnabledOnStartup"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\EdgeUpdate]
"CreateDesktopShortcutDefault"=dword:00000000
;Disable F1 key opening Help & Support
[HKEY_CURRENT_USER\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win32]
@=""
[HKEY_CURRENT_USER\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64]
@=""
;Disable taskbar weather and news
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds]
"ShellFeedsTaskbarOpenOnHover"=dword:00000000
"ShellFeedsTaskbarViewMode"=dword:00000002
"ShellFeedsTaskbarContentUpdateMode"=dword:00000001
;Disable privacy review in OOBE
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OOBE]
"DisablePrivacyExperience"=dword:00000001
;Disable Meet Now icon in notification area
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"HideSCAMeetNow"=dword:00000001
"AllowOnlineTips"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive]
"DisableLibrariesDefaultSaveToOneDrive"=dword:00000000
;Prevent the sync app from generating network traffic until users sign in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive]
"PreventNetworkTrafficPreUserSignIn"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy]
"TailoredExperiencesWithDiagnosticDataEnabled"=dword:00000000
;Revert Windows 10 ribbon on Windows 11 21H2 as it causes a considerable delay in the file explorer
[HKEY_CURRENT_USER\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32]
@=""
;Disable get the most out of Windows
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement]
"ScoobeSystemSettingEnabled"=dword:00000000
;Disable fast start-up
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000000
;Disable ad tailoring
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo]
"Enabled"=dword:00000000
"Id"=-
;Do not ask for feedback
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules]
"NumberOfSIUFInPeriod"=dword:00000000
;Disable cloud search
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings]
"IsMSACloudEnabled"=dword:00000000
"IsDeviceSearchHistoryEnabled"=dword:00000000
"IsAADCloudSearchEnabled"=dword:00000000
;Disable Windows Security summary notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender Security Center\Virus and threat protection]
"SummaryNotificationDisabled"=dword:00000001
;Use UTC time for real-time clock
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient]
"DoHPolicy"=dword:00000002
;Disable "Turn off notifications from..." suggestions
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.ActionCenter.SmartOptOut]
"Enabled"=dword:00000000
# Run this as admin
Get-WindowsCapability -Online -Name App.StepsRecorder* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name App.Support.QuickAssist* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name Browser.InternetExplorer* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name Hello.Face.* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name MathRecognizer* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name Media.WindowsMediaPlayer* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name Microsoft.Windows.PowerShell.ISE* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name Microsoft.Windows.WordPad* | Remove-WindowsCapability -Online
Get-WindowsCapability -Online -Name XPS.Viewer* | Remove-WindowsCapability -Online
Get-WindowsOptionalFeature -Online -FeatureName WindowsMediaPlayer | Disable-WindowsOptionalFeature -Online -Remove
Get-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-* | Disable-WindowsOptionalFeature -Online -Remove -NoRestart
foreach ($onedrive in (Get-ChildItem $Env:localappdata\Microsoft\OneDrive\*\OneDriveSetup.exe)) {Start-Process -FilePath $onedrive /uninstall}
Get-AppxPackage Microsoft.549981C3F5F10 | Remove-AppxPackage # Remove Cortana app
Get-AppxPackage MicrosoftWindows.Client.WebExperience | Remove-AppxPackage # Remove Widgets app
Get-AppxPackage Microsoft.GetHelp | Remove-AppxPackage # Remove Get Help app
Get-AppxPackage Microsoft.YourPhone | Remove-AppxPackage # Remove Your Phone app
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage # Remove Weather app
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage # Remove News app
Get-AppxPackage Microsoft.Todos | Remove-AppxPackage # Remove Microsoft To Do
Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage # Remove Microsoft Solitaire Collection
Get-AppxPackage Microsoft.WindowsFeedbackHub | Remove-AppxPackage # Remove Feedback Hub
Get-AppxPackage Microsoft.MicrosoftOfficeHub | Remove-AppxPackage # Remove Office app
Get-AppxPackage Microsoft.PowerAutomateDesktop | Remove-AppxPackage # Remove Power Automate
Get-AppxPackage Microsoft.Microsoft3DViewer | Remove-AppxPackage # Remove 3D Viewer
Get-AppxPackage Microsoft.SkypeApp | Remove-AppxPackage # Remove Skype
Get-AppxPackage Microsoft.Getstarted | Remove-AppxPackage # Remove Tips app
Get-AppxPackage Microsoft.Office.OneNote | Remove-AppxPackage # Remove OneNote
Get-AppxPackage Microsoft.MSPaint | Remove-AppxPackage # Remove Paint 3D
Get-AppxPackage Microsoft.MicrosoftStickyNotes | Remove-AppxPackage # Remove Sticky Notes
Get-AppxPackage SpotifyAB.SpotifyMusic | Remove-AppxPackage # Remove Spotify
Get-AppxPackage Disney.37853FC22B2CE | Remove-AppxPackage # Remove Disney+
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage # Remove Xbox Companion app
Get-AppxPackage Microsoft.MixedReality.Portal | Remove-AppxPackage # Remove Mixed Reality Portal
Get-AppxPackage Clipchamp.Clipchamp | Remove-AppxPackage # Remove ClipChamp
Get-AppxPackage MicrosoftCorporationII.QuickAssist | Remove-AppxPackage # Remove Quick Assist
Get-AppxPackage MicrosoftTeams | Remove-AppxPackage # Remove Teams
Get-AppxPackage Microsoft.GamingApp | Remove-AppxPackage # Remove Xbox app
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage # Remove Xbox companion app
Get-AppxPackage MicrosoftCorporationII.MicrosoftFamily | Remove-AppxPackage # Remove Microsoft Family
Get-AppxPackage Microsoft.Windows.DevHome | Remove-AppxPackage # Remove Dev Home
Get-AppxPackage Microsoft.OutlookForWindows | Remove-AppxPackage # Remove Outlook (New)
Get-AppxPackage Microsoft.6365217CE6EB4 | Remove-AppxPackage # Remove Microsoft Security App
Get-AppxPackage MicrosoftWindows.CrossDevice | Remove-AppxPackage # Remove Phone Link
Get-AppxPackage Microsoft.Windows.Ai.Copilot.Provider | Remove-AppxPackage # Remove Copilot
@Jaid
Copy link

Jaid commented Aug 20, 2022

The reg block says ";Disable fast start-up", but then sets HiberbootEnabled to 1. Is this the correct way?

@y0lopix
Copy link
Author

y0lopix commented Aug 20, 2022

The reg block says ";Disable fast start-up", but then sets HiberbootEnabled to 1. Is this the correct way?

Oops, that should be set to 0. Thank you for noticing my mistake, it's fixed now.

@sabirovrinat85
Copy link

Another suggestion is to add -AllUsers option because there can be several users for one PC

And I use those in addition, don't know if it's needing with yours, could you inspect them?

Get-AppxPackage -AllUsers Microsoft.Xbox.TCUI | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.XboxGameOverlay | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.XboxIdentityProvider | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.XboxSpeechToTextOverlay | Remove-AppxPackage

Get-AppxProvisionedPackage -online | where-object {$_.PackageName -like "MicrosoftTeams"} | Remove-AppxProvisionedPackage -online –Verbose

@y0lopix
Copy link
Author

y0lopix commented Nov 21, 2022

Another suggestion is to add -AllUsers option because there can be several users for one PC

And I use those in addition, don't know if it's needing with yours, could you inspect them?

Get-AppxPackage -AllUsers Microsoft.Xbox.TCUI | Remove-AppxPackage Get-AppxPackage -AllUsers Microsoft.XboxGameOverlay | Remove-AppxPackage Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage Get-AppxPackage -AllUsers Microsoft.XboxIdentityProvider | Remove-AppxPackage Get-AppxPackage -AllUsers Microsoft.XboxSpeechToTextOverlay | Remove-AppxPackage

Get-AppxProvisionedPackage -online | where-object {$_.PackageName -like "MicrosoftTeams"} | Remove-AppxProvisionedPackage -online –Verbose

Admin rights are needed for -AllUsers and for uninstalling provisioned packages so I'll keep the regular Remove-AppxPackage so most of the tweaks can be applied on a restricted user session.

I won't add the Xbox Game Bar to the list as some games try to launch the ms-gamingoverlay: URI at launch. However, if the other Xbox-related packages are not breaking the game bar after uninstalling I can add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment