IE mode works, but isn't applied on first run

%3CLINGO-SUB%20id%3D%22lingo-sub-1438822%22%20slang%3D%22en-US%22%3EIE%20mode%20works%2C%20but%20isn't%20applied%20on%20first%20run%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1438822%22%20slang%3D%22en-US%22%3E%3CP%3EAnyone%20experienced%20that%20the%20sitelist%20isn't%20applied%20on%20first%20run.%20I%20need%20to%20refresh%20the%20page(one%20or%20several%20times)%20to%20get%20it%20working.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20see%20settings%20are%20correct%3A%26nbsp%3Bedge%3A%2F%2Fpolicy%2F%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20on%20first%20run%20I%20see%20at%20this%20page%20that%20nothing%20is%20loaded.%20the%20force%20button%20works.%20or%20if%20I%20refresh%20one%20or%20more%20times%20until%20I%20see%20it%20is%20loaded%3C%2FP%3E%3CP%3Eedge%3A%2F%2Fcompat%2Fenterprise%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20sitelist%20was%20on%20a%20unc%20path.%20but%20I%20later%20moved%20it%20to%20local%20path%20for%20troubleshooting%20this%20issue.%3CBR%20%2F%3EI%20have%20tried%20to%20set%20the%20sitelist%20both%20with%20user%20GPO%20and%20computer%20GPO.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eevery%20time%20I%20delete%20the%20Preferences%20file%20under%20the%20profile%20and%20run%20edge%2C%20I%20see%20this%20issue.%3C%2FP%3E%3CP%3EThe%20system%20is%20win%202009%20server.%20it's%20a%20citrix%20server.%3C%2FP%3E%3CP%3EThe%20user%20runs%20edge%20with%20powershell%3A%3C%2FP%3E%3CP%3E%24exefie%20%3D%20%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%5CApplication%5Cmsedge.exe%22%3CBR%20%2F%3E%24arguments%20%3D%20%22--profile-directory%3DDefault%20%3CA%20href%3D%22https%3A%2F%2FwebsiteINIEmode.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FwebsiteINIEmode.com%3C%2FA%3E%22%3CBR%20%2F%3E%24workdir%20%3D%20%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%5CApplication%5C%22%3C%2FP%3E%3CP%3EStart-Process%20%24exefie%20%24arguments%20-WorkingDirectory%20%24workdir%20-NoNewWindow%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esorry%20not%20much%20details%20comes%20up.%20any%20ideas%20of%20what%20I%20can%20try%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Senior Member

Anyone experienced that the sitelist isn't applied on first run. I need to refresh the page(one or several times) to get it working.

I see settings are correct: edge://policy/

and on first run I see at this page that nothing is loaded. the force button works. or if I refresh one or more times until I see it is loaded

edge://compat/enterprise

 

the sitelist was on a unc path. but I later moved it to local path for troubleshooting this issue.
I have tried to set the sitelist both with user GPO and computer GPO. 


every time I delete the Preferences file under the profile and run edge, I see this issue.

The system is win 2009 server. it's a citrix server.

The user runs edge with powershell:

$exefie = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
$arguments = "--profile-directory=Default https://websiteINIEmode.com"
$workdir = "C:\Program Files (x86)\Microsoft\Edge\Application\"

Start-Process $exefie $arguments -WorkingDirectory $workdir -NoNewWindow

 

I also tested from citrix desktop a normal edge shortcut with the website in the parameter added. same result.

 

sorry not much details comes up. any ideas of what I can try?

 

1 Reply

@Thoruu 

I struggled with this early on as well. I have found that there is about a 1-minute delay between when the browser launches and when IE mode becomes active. During this time, it appears that the browser is importing your site list XML, and generating a file called EmieSiteList.xml in %localappdata%\Microsoft\Edge\User Data. Once that file gets created, IE mode should start triggering.

 

I've experimented with prepopulating the EmieSiteList.xml file in this directory, but the delay still occurs. 

 

I don't have a solution, but this might help shed light on what is going on.