Having issues getting Chromium Edge to accept policy changes

%3CLINGO-SUB%20id%3D%22lingo-sub-2610523%22%20slang%3D%22en-US%22%3EHaving%20issues%20getting%20Chromium%20Edge%20to%20accept%20policy%20changes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2610523%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20running%20onto%20some%20issues%20trying%20to%20change%20a%20few%20settings%20on%20a%20new%20Chromium%20Edge%20install%20using%20policy%20edits%20through%20the%20registry.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20computers%20are%20not%20domain%20managed%2C%20so%20the%20only%20method%20available%20for%20me%20to%20do%20this%20is%20by%20using%20a%20powershell%20script%20to%20edit%20the%20registry%20files%20to%20get%20these%20settings%20changed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20set%20the%20browser%20to%20restore%202%20pages%20each%20time%20it%20starts%20up%2C%20everything%20I%20have%20found%20indicates%20that%20the%20settings%20should%20be%20set%20in%20the%20HKCU%3A%5CSoftware%5CPolicies%5CMicrosoft%5CEdge%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20registry%20files%20set%20so%20they%20write%20the%20settings%20that%20I%20believe%20should%20be%20correct%2C%20but%20after%20setting%20them%20and%20opening%20edge%20the%20policies%20don't%20seem%20to%20apply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20script%20I'm%20using%20for%20the%20registry%20edits%20is%20attached%20below.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E%23Disable%20Edge%20%22First%20Run%22%0A%23Create%20registry%20key%20%22HideFirstRunExperience%22%0Anew-item%20%E2%80%93Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5C%22%20%E2%80%93Name%20%22Edge%22%0ANew-ItemProperty%20-Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%22%20-Name%20%22HideFirstRunExperience%22%20-Value%20%E2%80%9D1%E2%80%9D%20%20-PropertyType%20%22DWORD%22%0A%0A%23Set%20multiple%20pages%20to%20open%20on%20startup%0A%23Set%20restore%20on%20startup%0ANew-ItemProperty%20-Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%22%20-Name%20%22RestoreOnStartup%22%20-Value%20%E2%80%9D0x00000004%E2%80%9D%20%20-PropertyType%20%22DWORD%22%20-Force%0A%0A%23Create%20%22Recommended%22%20and%20%22Mandatory%22%0Anew-item%20%E2%80%93Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%22%20%E2%80%93Name%20%22Recommended%22%0Anew-item%20%E2%80%93Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%22%20%E2%80%93Name%20%22Mandatory%22%0Anew-item%20%E2%80%93Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%5CMandatory%22%20%E2%80%93Name%20%22RestoreOnStartupURLs%22%0A%0A%23G2A%20FastSupport%0ANew-ItemProperty%20-Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%5CMandatory%5CRestoreOnStartupURLs%22%20-Name%20%221%22%20-Value%20%E2%80%9Dwww.fastsupport.com%E2%80%9D%20%20-PropertyType%20%22String%22%0A%23Password%20Self%20Serve%0ANew-ItemProperty%20-Path%20%22HKCU%3A%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%5CMandatory%5CRestoreOnStartupURLs%22%20-Name%20%222%22%20-Value%20%E2%80%9Dhttps%3A%2F%2Fhttps%3A%2F%2Fpasswordreset.microsoftonline.com%2F%E2%80%9D%20%20-PropertyType%20%22String%22%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20extremely%20new%20to%20this%20sort%20of%20thing%2C%20and%20especially%20using%20powershell%2C%20so%20It%20very%20well%20may%20be%20something%20I'm%20overlooking%2C%20but%20If%20anybody%20can%20provide%20assistance%20I'd%20appreciate%20it.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2610523%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChromium%20Edge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEdge%20Chromium%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPolicy%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

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. 

0 Replies