Jump to content

Recommended Posts

Posted

We had to initially keep IE as our default browser but now its no longer required and we'd like to switch to Chrome. However despite everything I've tried it refuses to budge!

 

I have a Chrome GPO set to make it the default browser, a default associations files pushed out to all PCs setting Chrome as the default, and even a registry preference setting the UserChoice key for http/https - Yet still IE acts as the default!

 

Is there anything else I've missed?

Posted

I think I just use the default file associations XML defined in GPO:

Computer Configuration > Policies > Administrative Templates > Windows Components > File Explorer > Set a default associations configuration file: Enabled > Path to XML (located in my SYSVOL).

 

Here's my XML file:


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

It works for the most part. I'll often get PDF associations failing and reverting to Edge, but that's a bug that's been going on for a while.

Posted
That's pretty much what I have - except more entries for Chrome. Mine is also on a shared folder and I've also tried to install it using DISM with a startup script, which works for all defaults apart from Chrome!
Posted
That's pretty much what I have - except more entries for Chrome. Mine is also on a shared folder and I've also tried to install it using DISM with a startup script, which works for all defaults apart from Chrome!

You made me remember that I have an entry in my SCCM Task Sequence for it - I'd completely forgotten about that. That is a package that runs the following command:

Dism.exe /Online /Import-DefaultAppAssociations:Win10DefaultAppAssociations.xml

The XML file is a copy of the same file in SYSVOL (I've checked with a text comparison tool).

Posted

Yeah mine runs the DISM on machine startup, and the GPO is set to point to the same XML file. It only works if you manually remove all the local user profiles, which is why I was using the UserChoice reg key to try and force existing profiles to switch to Chrome.

 

Looks like a wave of profile deletions is the next stage!

Posted (edited)

My XML seems OK -it does actually work but only once the user's profile has been deleted and recreated (simple local profiles here, no roaming)

 

                                                   

 

Can't get this to paste without wrapping though!

Edited by Sheridan
Posted (edited)
My XML seems OK - it does actually work but only once the user's profile has been deleted and recreated (simple local profiles here, no roaming)

The ProgId for .url should be IE.AssocFile.URL rather than ChromeHTML.

 


































Edited by Arthur
  • Thanks 1
Posted

Ah spot on, thats working now! I'd missed the IE.AssocFile.URL and that seems to have fixed it - an existing user account logged in and the UserChoice regkey was set to ChromeHTML, which it wasn't doing before.

 

Thanks for all the suggestions - it was doing my head in!

  • 2 weeks later...
Posted (edited)

Hmm I thought I had this cracked but it seems random - unless I delete all user profiles from the PC.

I still have the following in our default associations file

                            

 

This is pushed out by Computer GPO using the 'Set a default file associations configuration file' and also runs in a startup script using the DISM command. However I still find when users open a www link (from within Word, or PDF) and it opens IE instead of Chrome

 

There isn't a way to set the default associations on a per user basis is there? I'm thinking that pushing this out as preferences is the only way to get it to work consistently.

Edited by Sheridan
Posted

I've tried both ways:

 

and also

 

as that's what appears when I export using Powershell.

 

It only seems to work if the user has no profile on the PC, ie their first login.

  • 3 weeks later...
Posted

This is becoming a nuisance for me now - regularly users report than clicking a URL, or using a program that opens a website reports an error. This is because its somehow defaulting to Edge as the default browser even though the Default associations file (specifiying Chrome as the default browser ) is being deployed by machine GPO and also on startup script using DISM.

 

We removed Edge from our image as its pants anyway, so I don't know where its randomly deciding that Edge is the default browser, we notice when the problem happens a reboot will often (but not always!) fix it, and the next stage is to clear their local profile

 

The link in most cases is simply an https:// address - which is directly specified in the xml file to be opened with chrome. I don't want to start putting Edge back in as we've just finished rolling out the 1809 image without it!

Posted

Considering that Edge is part of Windows 10 and Microsoft do not support its removal, it wouldn't surprise me that something has been broken in your image. How did you remove it?

 

I leave Edge in mine, block it with AppLocker and URLs always open with Chrome.

 

Would it be worth installing Windows in a VM or on a PC using an unmodified Windows 10 ISO, join it to your domain (and in the same OU as your other computers) and then see if URLs open in Chrome?

Posted
Considering that Edge is part of Windows 10 and Microsoft do not support its removal, it wouldn't surprise me that something has been broken in your image. How did you remove it?

 

I leave Edge in mine, block it with AppLocker and URLs always open with Chrome.

 

Would it be worth installing Windows in a VM or on a PC using an unmodified Windows 10 ISO, join it to your domain (and in the same OU as your other computers) and then see if URLs open in Chrome?

 

Sorry, when I said removed, I meant blocked with Applocker - and shortcuts etc removed in the image!

Posted

That's strange then.

 

The only other thing I can think of is to temporarily disable the startup script that does the file associations since I only use Group Policy and that works for me.

  • 6 months later...
Posted

Did you solve this once and for all, I'm in the process of moving to Edge and my file association is resetting on reboot each time and not taking the Group Policy?

 

I've allowed staff account to reset it to Edge but I need a permanent fix.

Posted
Did you solve this once and for all, I'm in the process of moving to Edge and my file association is resetting on reboot each time and not taking the Group Policy?

 

I've allowed staff account to reset it to Edge but I need a permanent fix.

I don't know how to understand the permanent fix?

Posted

Sorry my computers kept reverting to default after each reboot. I had removed IE totally using DISM so it was completely messing things up not defaulting to Edge... especially with links in Outlook.

 

It looks like its one of the group policies that's not playing nicely. I might have to redo some of them as they have historic IE info in them with no way to manage it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...