Edge Chromium weird GPO behavior

421 views
Skip to first unread message

Gordon Pegue

unread,
Dec 15, 2021, 5:30:04 PM12/15/21
to ntsys...@googlegroups.com

Scenario:

 

New Dell PC on the bench;

 

Some simple GPO settings defined that among other things open a specific set of pages when Edge starts here:

Computer Configuration\Administrative Templates\Microsoft Edge\Startup home page and new tab page

 

First user setup on the PC is the administrator;

No changes made to Default profile;

Second user setup (with temp admin perms as I try and figure this out);

 

Logon as first user;

Make sure that all policies are applied: gpupdate /force;

Launch Edge and my three pages are opened properly.

All good so far;

Run a gpresult /H C:\admin.html as a baseline;

 

Logon as second user;

As insurance, make sure that all policies are applied: gpupdate /force;

Launch Edge and ONLY the edge://newtab page opens. WTF?

Run a gpresult /H C:\user.html.

 

Compare and contrast the two gpresult reports and both reports have the SAME content for the Edge stuff. Holy WTF?

 

If I open the Edge settings when I’m logged on as the second user and drill down to Start, Home & New Tabs,

I see my GPO settings there for my 3 startup pages, all greyed out as expected but yet when I launch Edge, only the newtab page is displayed.

 

If I log in as the first user, all is fine and dandy!

 

With an identical set of GPO settings defined for Chrome, it of course, works just fine for both users. All 3 pages presented when browser is launched.

 

There is nothing in either of the gpresult reports that indicates that anything else is mucking with Edge, so I’m baffled.

Nothing in the GroupPolicy\Operational event log.

No clue where other Edge logging might be.

 

 

Anyone seen this Edge behavior lately?

 

Anyone with some suggestions on things to try?

 

 

TIA

Gordon

Michael B. Smith

unread,
Dec 15, 2021, 5:42:21 PM12/15/21
to ntsys...@googlegroups.com

Verify the settings in the registry, not just in the GPO.

--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CY4PR07MB31445D7B71CE924FF3C5BE1BD3769%40CY4PR07MB3144.namprd07.prod.outlook.com.

Gordon Pegue

unread,
Dec 15, 2021, 6:04:36 PM12/15/21
to ntsys...@googlegroups.com

That’s a great tip MBS.

 

The HKLM\Software\Policies\Microsoft\Edge contains all my basic Edge GPO settings;

The HKLM\Software\Policies\Microsoft\Edge\RestoreOnStartupURLs contains 3 properly defined REG_SZ entries for my startup pages, each value named 1 thru 3.

 

There’s no HKCU\Software\Policies\Microsoft\Edge key at all, which is expected since I have no user-level settings defined in my GPO.

 

Even though the gpresult report says nothing is stopping these startup page settings from being applied, they fer darn sure are getting blocked by something for the 2nd user….

 

Gordon

 

From: ntsys...@googlegroups.com <ntsys...@googlegroups.com> On Behalf Of Michael B. Smith
Sent: Wednesday, December 15, 2021 3:42 PM
To: ntsys...@googlegroups.com

Subject: [ntsysadmin] RE: Edge Chromium weird GPO behavior

 

  [EXTERNAL]

Michael B. Smith

unread,
Dec 15, 2021, 6:32:07 PM12/15/21
to ntsys...@googlegroups.com

Do they map directly to entries for chrome?

 

Below is what I have in my user-configuration script. Check the value for RestoreOnStartup.

 

## add homepage default location

## Ensure Edge key exists

$key = 'HKCU:\Software\Policies\Microsoft\Edge'

createIfMissing $key

$IPHT =

    @{

        Path   = $key

        Name   = 'RestoreOnStartup'

        Value  = 4

        Type   = 'DWORD'

    }

## Set RestoreOnStartup value entry

Set-ItemProperty @IPHT -EA 0

check $? $error[ 0 ] "Set-ItemProperty $key RestoreOnStartup 4 DWord"

 

$subKey = "$key\RestoreOnStartupURLs"

createIfMissing $subKey

 

## Create a single URL startup page

$HomeURL = 'https://duckduckgo.com'

Set-ItemProperty -Path $subkey -Name '1' -Value $HomeURL

Gordon Pegue

unread,
Dec 15, 2021, 6:38:53 PM12/15/21
to ntsys...@googlegroups.com

Yessir.

One to one correspondence.

DWORD 4 for both Chrome and Edge RestoreOnStartup values.

Michael B. Smith

unread,
Dec 15, 2021, 6:40:45 PM12/15/21
to ntsys...@googlegroups.com

Try it in HKCU instead of HKLM. My script below works, but I’ve not tried it as a machine policy.

Gordon Pegue

unread,
Dec 15, 2021, 6:48:43 PM12/15/21
to ntsys...@googlegroups.com

I’ll give that a try in the morning MBS and report back.

I’ve got a bunch of older machines with this GPO in play and it just works for any user that logs on… That’s what’s baffling about it.

Gordon Pegue

unread,
Dec 16, 2021, 11:25:59 AM12/16/21
to ntsys...@googlegroups.com

Nope, no luck.

Still refuses to open my 3 pages when logged in as 2nd user.

If I change the NewTabPageLocation to point to my 1st webpage URL (instead of about:blank), at least THAT page displays when I start Edge.

1st user works fine.

 

Gordon

Michael B. Smith

unread,
Dec 16, 2021, 11:36:33 AM12/16/21
to ntsys...@googlegroups.com

Gordon Pegue

unread,
Dec 16, 2021, 12:03:56 PM12/16/21
to ntsys...@googlegroups.com

Yeah, me too.

It’s just flat out bizarre that the policy works fine for the first user defined on the box but not for subsequent users…

 

What I’m starting to suspect is a very subtle OS issue but how that would effect policy processing is above my expertise.

The box on my bench was one of a batch of 11 identical machines I bought for our department recently from Dell.

I begin to wonder if some of the other weird behavior (last weeks “missing” CD/DVD drive) I’ve seen on the batch is because the Dell factory OS image is subtly borked…

 

I’ve got a 20H2x64 ISO from MS, maybe I’ll install it as an upgrade to protect my installed police stuff and see if that fixes things.

But first, an SFC scan and a DISM scan! Haven’t tried those quick checks.

 

Thanks Michael. If I get a positive resolution to this baffling situation, I’ll post back.

 

Gordon

 

From: ntsys...@googlegroups.com <ntsys...@googlegroups.com> On Behalf Of Michael B. Smith
Sent: Thursday, December 16, 2021 9:36 AM
To: ntsys...@googlegroups.com
Subject: [ntsysadmin] RE: Edge Chromium weird GPO behavior

 

  [EXTERNAL]

Gordon Pegue

unread,
Dec 16, 2021, 12:23:28 PM12/16/21
to ntsys...@googlegroups.com

SFC scan found and fixed something (didn’t look at CBS log) but that made no difference.

DISM scan didn’t find anything.

20H2 upgrade in progress….

 

Gordon

James Iversen

unread,
Dec 16, 2021, 1:44:08 PM12/16/21
to ntsys...@googlegroups.com
Would it be possiblet

Would it be possibly purely a "profile" issue?

Copy the first user profile to the Default User profile and try a subsequent logon to see if the issue persists...

2cents


From:        "Gordon Pegue" <gpe...@unm.edu>
To:        "ntsys...@googlegroups.com" <ntsys...@googlegroups.com>
Date:        12/16/2021 12:23 PM
Subject:        [ntsysadmin] RE: Edge Chromium weird GPO behavior
Sent by:        ntsys...@googlegroups.com





ATTENTION: This email was sent from someone outside of NYCM.
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ntsysadmin/CY4PR07MB3144ACA17F49A9CD8FB771C7D3779%40CY4PR07MB3144.namprd07.prod.outlook.com.









Join us on Facebook at
www.facebook.com/NYCMInsurance.


***CONFIDENTIALITY NOTICE***

This email and any attachments to it are confidential and intended solely for the individual or entity to whom it is addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you have received this email in error, please contact the sender by reply email and destroy all copies of the original message.




Gordon Pegue

unread,
Dec 16, 2021, 1:56:22 PM12/16/21
to ntsys...@googlegroups.com

That’s sorta what I’m trying now James.

 

The in-place upgrade from 20H2 to 20H2 is just about done.

When it is, I’m going to delete the second user profile, then recreate a fresh one from the supposedly updated Default profile.

If that doesn’t cure it, I’ll backup Default and use the ForesnsIT Defprof tool to update Default with the stuff from the 1st user.

 

Gordon

Hammer, Erich F

unread,
Dec 16, 2021, 1:56:36 PM12/16/21
to ntsys...@googlegroups.com
My question is about what is different with the user accounts and/or profiles.

Are they both local or domain accounts?
Does User3 also get the same behavior as User2?
If you delete the User1 profile and log back in as User1, does Edge work like it should (like before) or like it does for User2?

Erich


On Wednesday, December 15, 2021 at 17:30, Gordon Pegue eloquently inscribed:
Reply all
Reply to author
Forward
0 new messages