Dec 13 2019 11:25 AM
Noticed a bizarre behavior when launching edge for the first time with some a handful of group policies applied.
Doesn't matter if you sign-in or click confirm to skip sign-in
It will auto-set to "light" instead of "system default"
unable to force to :system default: theme with group policy so this is a bit annoying.
Thanks
Dec 15 2019 03:28 PM
@trandall Are you enabling sync on FirstRun Wizard? I'm wondering if the theme is being overridden? If you are enabling it, it's the default option, try disabling it. I've run a couple of tests of my own, we have a bunch more policies, with Edge Beta 79.0.309.51 (tad newer), Windows 10 1909 build 18363.476 in dark mode and on new profile creation the theme was set to System default.
Dec 16 2019 10:24 AM - edited Dec 16 2019 10:36 AM
It would really bum me out to disable setting up sync on first run, although I'm not forcing to setup sync and can easily be skipped. And when if first launches its clear that is set to system default (screenshots), but as soon as you skip sync or sign-in either way it will auto switch to light for no obvious reason. Why default to "light" when there is a system default option that it SHOULD obviously default to. It's just a trivial bug but annoying me a great deal.
Dec 16 2019 02:27 PM
@trandall I agree, sync is an awesome feature to have and I'm not suggesting you disable it; it's more a test to validate the behaviour of the FirstRun experience when sync is out of the picture. If Edge still had the "Light theme" when sync was disabled then it may be something local, or at least nothing in your sync profile. If it WAS stored in your sync profile then I'd have suggested to modify the theme back to "System Default", verify the sync has taken place in "Last Synced" within edge://sync-internals/ and then try your testing again on a clean windows profile.
By the sounds of it something sounds amiss - if it's any help I run the follow PowerShell to clear out all Edge references in the local user profile for all my testing:
# Kills procs
Get-Process *msedge* | Stop-Process -Force
Start-Sleep -Seconds 1
$EdgePaths = (
"$env:LOCALAPPDATA\Microsoft\Edge Beta",
"$env:APPDATA\Microsoft\Edge Beta",
"HKCU:\Software\Microsoft\Edge Beta",
"$env:LOCALAPPDATA\Microsoft\Edge Dev",
"$env:APPDATA\Microsoft\Edge Dev",
"HKCU:\Software\Microsoft\Edge Dev"
)
Foreach ($i in $EdgePaths) {
If(Test-Path $i) {
Write-host "Removing $i" -ForegroundColor Cyan
Remove-Item -Path $i -Recurse -Force
}
}
Dec 18 2019 12:09 PM - edited Dec 18 2019 12:10 PM
Thanks for assistance!
with sign-in disabled in group policy the behavior doesn't persist.. Obviously I don't want sign-in disabled.
Jan 06 2020 01:22 PM
So no more assistance with this issue? That would be disappointing..
Jan 07 2020 02:22 AM
Jan 07 2020 07:52 AM
I have dark theme set by default via autounattend.xml when any new users signs in. despite this being set it appears that Legacy Edge still defaults to light..
I found the only workaround to maintain the system default theme is to close this dialog without signing in or clicking confirm..