Last active
January 23, 2026 11:22
-
-
Save njames/f7302aba8542027da2d1ed0dc3f839e1 to your computer and use it in GitHub Desktop.
How to get rid of all the MS stuff on a fresh install of windows
This file contains hidden or 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
| # This powershell script will remove all the in your face content on Edge and the widgets | |
| # that are annoying | |
| # use at your own risk | |
| # Disable Edge new tab content and quick links | |
| $edgePolicy = "HKLM:\SOFTWARE\Policies\Microsoft\Edge" | |
| New-Item -Path $edgePolicy -Force | Out-Null | |
| Set-ItemProperty -Path $edgePolicy -Name "NewTabPageContentEnabled" -Type DWord -Value 0 | |
| Set-ItemProperty -Path $edgePolicy -Name "NewTabPageQuickLinksEnabled" -Type DWord -Value 0 | |
| # Disable first-run promos and tips | |
| Set-ItemProperty -Path $edgePolicy -Name "DisableFirstRunExperience" -Type DWord -Value 1 | |
| Set-ItemProperty -Path $edgePolicy -Name "HidePromoShowTips" -Type DWord -Value 1 | |
| Set-ItemProperty -Path $edgePolicy -Name "ShowFeaturePromo" -Type DWord -Value 1 | |
| # Disable Widgets button via policy | |
| $widgetPolicy = "HKLM:\SOFTWARE\Policies\Microsoft\Dsh" | |
| New-Item -Path $widgetPolicy -Force | Out-Null | |
| Set-ItemProperty -Path $widgetPolicy -Name "AllowNewsAndInterests" -Type DWord -Value 0 | |
| # Optionally uninstall Widgets app completely | |
| Get-AppxPackage *WebExperience* | Remove-AppxPackage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment