Forum Discussion

Jbryan635's avatar
Jbryan635
Copper Contributor
Aug 04, 2021

Having issues getting Chromium Edge to accept policy changes

I'm running onto some issues trying to change a few settings on a new Chromium Edge install using policy edits through the registry.

 

These computers are not domain managed, so the only method available for me to do this is by using a powershell script to edit the registry files to get these settings changed.

 

I'm trying to set the browser to restore 2 pages each time it starts up, everything I have found indicates that the settings should be set in the HKCU:\Software\Policies\Microsoft\Edge

 

I have the registry files set so they write the settings that I believe should be correct, but after setting them and opening edge the policies don't seem to apply.

 

The script I'm using for the registry edits is attached below.

#Disable Edge "First Run"
#Create registry key "HideFirstRunExperience"
new-item –Path "HKCU:\SOFTWARE\Policies\Microsoft\" –Name "Edge"
New-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge" -Name "HideFirstRunExperience" -Value ”1”  -PropertyType "DWORD"

#Set multiple pages to open on startup
#Set restore on startup
New-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge" -Name "RestoreOnStartup" -Value ”0x00000004”  -PropertyType "DWORD" -Force

#Create "Recommended" and "Mandatory"
new-item –Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge" –Name "Recommended"
new-item –Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge" –Name "Mandatory"
new-item –Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge\Mandatory" –Name "RestoreOnStartupURLs"

#G2A FastSupport
New-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge\Mandatory\RestoreOnStartupURLs" -Name "1" -Value ”www.fastsupport.com”  -PropertyType "String"
#Password Self Serve
New-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge\Mandatory\RestoreOnStartupURLs" -Name "2" -Value ”https://https://passwordreset.microsoftonline.com/”  -PropertyType "String"

 

I'm extremely new to this sort of thing, and especially using powershell, so It very well may be something I'm overlooking, but If anybody can provide assistance I'd appreciate it. 

No RepliesBe the first to reply

Resources