Last active
October 15, 2024 11:04
-
-
Save y0lopix/bca18265869e5da9068de0a6729bc262 to your computer and use it in GitHub Desktop.
Useful tweaks for Windows 11 and Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.