Skip to content

Instantly share code, notes, and snippets.

@asheroto
Last active April 20, 2024 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asheroto/e18500e7d206f3ae99f9bd0da0cf6bc6 to your computer and use it in GitHub Desktop.
Save asheroto/e18500e7d206f3ae99f9bd0da0cf6bc6 to your computer and use it in GitHub Desktop.
Disable annoying Microsoft Edge first run experience, implicit sign-in, disable shopping, rewards, default browser campaign, auto import, forced sync, sidebar, restore browser reminder. Shows home button, enables SmartScreen.

Disable Microsoft Edge Annoyances

  • Disables Microsoft Edge's first run experience.
  • Stops automatic sign-in in Edge.
  • Removes shopping features and rewards prompts.
  • Disables the default browser campaign.
  • Prevents auto-import and forced synchronization.
  • Turns off the sidebar and browser restore reminders.
  • Keeps the home button visible for easy navigation.
  • Ensures SmartScreen is enabled for enhanced security.
  • Disables popups about personalizing your browsing experience.
  • and much more as seen below...

You can place the values below under either key as needed:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge- mandatory settings
  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\Recommended - user can override settings

In the .reg file below the Recommmended key has been used. If you want mandatory settings just remove the \Recommended from the registry path.

Not all values work in Recommended.

Screenshot

Here's what you end up with. Except for the about:blank page.

screenshot

Configuration Details

The table below summarizes the settings that are configured by this script:

Setting Value Description
AutoImportAtFirstRun 1 Enables automatic import of settings at first run.
SmartScreenEnabled 1 Enables SmartScreen for security.
PersonalizationReportingEnabled 0 Disables personalization reporting.
ShowRecommendationsEnabled 0 Disables showing of recommendations in the system.
ForceSync 0 Disables forced synchronization.
SyncDisabled 1 Disables synchronization feature.
HideFirstRunExperience 1 Hides the first run experience.
HubsSidebarEnabled 0 Disables the hubs sidebar.
HideRestoreDialogEnabled 1 Hides the restore dialog.
EdgeShoppingAssistantEnabled 0 Disables Edge Shopping Assistant.
ShowMicrosoftRewards 0 Disables Microsoft Rewards promotion.
StandaloneHubsSidebarEnabled 0 Disables standalone hubs sidebar.
DefaultBrowserSettingsCampaignEnabled 0 Disables default browser settings campaign.
QuickSearchShowMiniMenu 0 Disables quick search mini menu.
EdgeWalletCheckoutEnabled 0 Disables Edge Wallet checkout.
ImplicitSignInEnabled 0 Disables implicit sign-in.
EdgeCollectionsEnabled 0 Disables Edge Collections feature.
SplitScreenEnabled 0 Disables split-screen feature.
PinBrowserEssentialsToolbarButton 0 Disables pinning of browser essentials toolbar button.
RestoreOnStartup 5 Sets specific page(s) to restore on startup. When set to 5 it's disabled.
ShowHomeButton 1 Enables the home button.
HideInternetExplorerRedirectUXForIncompatibleSitesEnabled 1 Hides the redirect UX for incompatible sites with Internet Explorer.

Usage

To apply these settings:

  1. Save the script with a .reg extension.
  2. Double-click the file and accept the prompts to modify the registry.

Note: Modifying the Windows Registry can have significant impacts on your system. It is recommended to backup the registry before making changes and only apply changes if you are confident in understanding their effects.

How to Undo (Re-Enable)

You can simply remove the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge key in the registry. This is not a critical registry key but is solely used to enforce policies on Edge.

Disclaimer

This script is provided as-is, and the user assumes all risks associated with its use. The author is not responsible for any adverse effects resulting from the use of this script.

Group Policy Template Files

You can find these settings and much more by using the group policy templates. Instructions are located here.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\Recommended]
"UserFeedbackAllowed"=dword:00000000
"AutoImportAtFirstRun"=dword:00000001
"SmartScreenEnabled"=dword:00000001
"PersonalizationReportingEnabled"=dword:00000000
"ShowRecommendationsEnabled"=dword:00000000
"ForceSync"=dword:00000000
"SyncDisabled"=dword:00000001
"HideFirstRunExperience"=dword:00000001
"HubsSidebarEnabled"=dword:00000000
"HideRestoreDialogEnabled"=dword:00000001
"EdgeShoppingAssistantEnabled"=dword:00000000
"ShowMicrosoftRewards"=dword:00000000
"StandaloneHubsSidebarEnabled"=dword:00000000
"DefaultBrowserSettingsCampaignEnabled"=dword:00000000
"QuickSearchShowMiniMenu"=dword:00000000
"EdgeWalletCheckoutEnabled"=dword:00000000
"ImplicitSignInEnabled"=dword:00000000
"EdgeCollectionsEnabled"=dword:00000000
"SplitScreenEnabled"=dword:00000000
"PinBrowserEssentialsToolbarButton"=dword:00000000
"RestoreOnStartup"=dword:00000005
"ShowHomeButton"=dword:00000001
"HideInternetExplorerRedirectUXForIncompatibleSitesEnabled"=dword:00000001
@tmeckel
Copy link

tmeckel commented Apr 20, 2024

Exactly what I needed. Thanks! ❤️

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