How To Change The Start Page For The Edge Browser - PowerShell Community
How To Change The Start Page For The Edge Browser - PowerShell Community
Login
Thomas
June 21st, 2021
When the Edge browser starts up, it displays a startup page based on Bing by default.
For many, this is fine – they can browse the contents and then navigate where they
want. But in some circumstances, you may wish to change this default. And fortunately,
this is straightforward to achieve.
An easy way to set the startup page for yourself is to configure two registry value
entries on the local machine. The first is the RestoreOnStartup value entry to the registry
key HKCU:\Software\Policies\Microsoft\Edge. This value entry is a REG_DWORD. By
setting this entry with a value of 4, you tell Edge to use the URL or URLs you specify
when it starts up rather than the default home page.
Each registry value entry must have a unique entry name and contain the value of a URL
you want Edge to restore at startup. The value entry name doesn’t seem to matter, so a
value of 1 is fine. If you want a second URL, then add a second value entry with a name
of 2 (and the value of the second URL).
Creating and setting these keys and key values as shown below enables the current
user’s settings. If you are sharing the host with multiple users and want all users to have
the same start page, you can set these entries in HKCU:\Software\Policies instead.
With PowerShell, you use the New-Item cmdlet to create the registry keys. It also makes
sense to test whether the keys exist before trying to create them (and generating an
error). You set the value entries using the Set-ItemProperty cmdlet.
Th f ll i d i h d f l h f h f Ed
The following code snippet sets the default home page for the current user for Edge
Chromium to DudkDuckGo.
The next time you start Edge, you should see this:
Summary
It is easy to change the start page for the Edge web browser you just have to set a fewe
registry keys and job done.
Thomas Lee
PowerShell Evangelist
Follow
Posted in PowerShell
Read next
0 comments
Topics
.NET Active Directory ActiveDirectory AD Announcement Array Blog news Caps Lock Clipboard DevOps Edge Existing Cmdlet File
FileSystemWatcher Fun trick Function Git local users logon scripts Module network networking New Purpose NIC output
PowerShell Scripting Guys Update security string Test-Path ToUpper() VBScript WMI WMI Eventing XML
Top Bloggers
@DoctorDNS
PowerShell Evangelist
Sean Kearney
Customer Engineer - Microsoft
Wolfgang Groß
Software-Developer
Doctor Scripto
Scripter
Fabian Baumanis
Links
Surface Laptop Go Download Center Office for students AppSource Windows Dev Center About Microsoft
Surface Go 2 Microsoft Store support Office 365 for schools Automotive Developer Center Company news
Surface Pro X Returns Deals for students & Government Microsoft developer Privacy at Microsoft
parents program
Surface Duo Order tracking Healthcare Investors
Microsoft Azure in Channel 9
Microsoft 365 Virtual workshops and education Manufacturing Diversity and inclusion
training Microsoft 365 Dev Center
Windows 10 apps Financial services Accessibility
Microsoft Store Promise Microsoft 365 Developer
HoloLens 2 Retail Program Security
Financing
Microsoft Garage
English (United States) Sitemap Contact Microsoft Privacy Terms of use Trademarks Safety & eco About our ads © Microsoft 2021