Disable Edge Search bar on desktop
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: Medium
System Functionality / Data Loss Risk: Moderate
This action improves privacy with minimal impact when you run the recommended script.
This action improves privacy with some impact when you run the recommended script. - Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script disables the Search bar feature. This feature is formerly known as Edge bar 1 2 3 4 5 and Web Widget 1 2 3 4 6 7.
This feature allows users to perform web searches directly from their desktop or within applications 5 8. The search is powered by Bing 6 7, or the default search engine of Microsoft Edge 6 7 8. It provides search and URL suggestions 6 7 8. It also displays personalized news and content such as headlines, weather, sports, traffic, along with some tools 4 5. Users can access the Search bar from the "More tools" menu or jump list in Microsoft Edge 6 7 8.
The Search bar is enabled by default across all profiles unless disabled 6 7 8. It does not start at Windows startup by default 1 2 9.
This feature raises privacy concerns as it collects data to provide personalized content 4 5. Once opened, it remains active even after you close Microsoft Edge 3. You must explicitly close it using the "Quit" option in the System tray or the 3-dot menu 6 7.
Running this script will disable:
- The Search bar 6 7 8.
- The option to launch the Search bar from Microsoft Edge "More tools" menu 6 7 8
- The option to launch the Search bar from Microsoft Edge jump list menu 6 7 8
- Automatical launch of the Search bar at Windows startup 1 2 9.
- The option to start the Edge bar at Windows startup in Microsoft Edge settings 1 2 9.
The script configures the following Edge policies:
Edge policy | Affected Edge versions |
---|---|
WebWidgetAllowed 3 6 7 | Edge ≥ 88 and ≤ 119 6 7 |
WebWidgetIsEnabledOnStartup 1 2 | Edge ≥ 88 and ≤ 119 1 2 |
SearchbarAllowed 8 | Edge ≥ 117 8 |
SearchbarIsEnabledOnStartup 9 | Edge ≥ 117 9 |
- This will display the message "Your browser is managed by your organization" on the settings page.
- This locks settings and prevents them from being changed on the settings page.
This script is only recommended if you understand its implications.
Some non-critical or features may no longer function correctly after running this script.
This script can be fully reversed to restore changes if something goes wrong.
Sources
- Microsoft Edge Browser Policy Documentation. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies
Archived: https://web.archive.org/web/20240517212443/https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#webwidgetisenabledonstartup - Enable the Web widget. admx.help. (2024).
Original: https://admx.help
Archived: https://web.archive.org/web/20240517212629/https://admx.help/?Category=EdgeChromium&Policy=Microsoft.Policies.Edge::WebWidgetIsEnabledOnStartup - Enable or Disable Edge Bar in Microsoft Edge Tutorial. Windows 11 Forum. elevenforum.com. (2024).
Original: https://www.elevenforum.com/t/enable-or-disable-edge-bar-in-microsoft-edge.6001
Archived: https://web.archive.org/web/20240517212623/https://www.elevenforum.com/t/enable-or-disable-edge-bar-in-microsoft-edge.6001/ - EN-US - Get started with the Web widget - Microsoft News. blogs.msn.com. (2021).
Original: https://blogs.msn.com/enus-get-started-with-the-web-widget
Archived: https://web.archive.org/web/20210506115349/https://blogs.msn.com/enus-get-started-with-the-web-widget/ - Edge bar. ntp.msn.com. (2024).
Original: https://ntp.msn.com/web-widget
Archived: https://web.archive.org/web/20240517205709/https://ntp.msn.com/web-widget - Microsoft Edge Browser Policy Documentation. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies
Archived: https://web.archive.org/web/20240517212443/https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#webwidgetallowed - Allow the Web widget at Windows startup. admx.help. (2024).
Original: https://admx.help
Archived: https://web.archive.org/web/20240517212639/https://admx.help/?Category=EdgeChromium&Policy=Microsoft.Policies.Edge::WebWidgetAllowed - Microsoft Edge Browser Policy Documentation. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies
Archived: https://web.archive.org/web/20240517212443/https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#searchbarallowed - Microsoft Edge Browser Policy Documentation. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies
Archived: https://web.archive.org/web/20240517212443/https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#searchbarisenabledonstartup
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable Edge Search bar on desktop" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable Edge Search bar on desktop" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable Edge Search bar on desktop
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Configure "WebWidgetAllowed" Edge policy
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Edge!WebWidgetAllowed"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Edge'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'WebWidgetAllowed' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Configure "WebWidgetIsEnabledOnStartup" Edge policy
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Edge!WebWidgetIsEnabledOnStartup"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Edge'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'WebWidgetIsEnabledOnStartup' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Configure "SearchbarAllowed" Edge policy
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Edge!SearchbarAllowed"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Edge'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'SearchbarAllowed' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Configure "SearchbarIsEnabledOnStartup" Edge policy
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Edge!SearchbarIsEnabledOnStartup"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Edge'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'SearchbarIsEnabledOnStartup' /t 'REG_DWORD' /d "^""$data"^"" /f"
Ijo6IFJlc3RvcmUgXCJXZWJXaWRnZXRBbGxvd2VkXCIgRWRnZSBwb2xpY3lcbjo6IERlbGV0ZSB0aGUgcmVnaXN0cnkgdmFsdWUgXCJIS0xNXFxTT0ZUV0FSRVxcUG9saWNpZXNcXE1pY3Jvc29mdFxcRWRnZSFXZWJXaWRnZXRBbGxvd2VkXCJcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCJyZWcgZGVsZXRlICdIS0xNXFxTT0ZUV0FSRVxcUG9saWNpZXNcXE1pY3Jvc29mdFxcRWRnZScgL3YgJ1dlYldpZGdldEFsbG93ZWQnIC9mIDI+JG51bGxcIlxuOjogUmVzdG9yZSBcIldlYldpZGdldElzRW5hYmxlZE9uU3RhcnR1cFwiIEVkZ2UgcG9saWN5XG46OiBEZWxldGUgdGhlIHJlZ2lzdHJ5IHZhbHVlIFwiSEtMTVxcU09GVFdBUkVcXF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XJ0dXAnIC9mIDI+JG51bGxcIiI=
Help
How to apply or restore "Disable Edge Search bar on desktop" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Configure Edge
- Configure browsers
- Configure programs
This category contains scripts that adjust Microsoft Edge settings to enhance privacy, security, and potentially improve system performance This category is design...
This category includes scripts that enhance privacy by adjusting browsers to prevent tracking, minimize data leaks, and restrict personalized ads. These changes he...
Configure programs — to create a safe and private environment from online privacy protection on Windows. Important to mention, to roll back this adjustment, follow...
Same Goal
Other guides in Configure EdgeSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
See all 26 guides
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.