Forum Discussion
Theme defaults to "light" vs "system default" when signing in or declining to sign-in
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
7 Replies
- trandallBrass Contributor
So no more assistance with this issue? That would be disappointing..
- rishavsharan
Microsoft
Whats the value of the theme setting on the old Edge Legacy?
At first run, the New Edge migrates all the user data and setting from the old one so that user can move to the new browser version without any friction.- trandallBrass Contributor
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..
- csrswalchBrass Contributor
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.
- trandallBrass Contributor
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.
- csrswalchBrass Contributor
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 } }