This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Failing to consistently set default search engine for Firefox ESR 68.1 using Group Policy Objects (GPO)

  • 3 tontu
  • 1 am na jafe-jafe bii
  • 2 views
  • i mujjee tontu mooy Jehef

more options

Hello !

I'm trying to create a GPO that would set the default search engine of Firefox ESR 68.1 to Qwant by using the Default Search Engine policy. My problem is after the initial installation, if I change manually the search engine in the options (about:preferences) for some other search engine (Bing for instance) it does not revert to Qwant when I run the gpupdate /force command to apply my GPO once more. Is this an expected behaviour ?

I have also observed, while Qwant is the default engine, that if I edit my GPO and set the Default Search Engine policy to Bing the search engine will change to Bing on Firefox when I apply the GPO (using the same command as before : gpupdate /force), and if I change it again to Qwant in the GPO and apply it, Qwant will be set as the default search engine for Firefox.

Therefore I don't understand why as long as I don't modify the GPO the Default Search Engine policy don't seem to be applied even when using the /force in the command line (which is supposed to apply all the parameters if I am not mistaken).

Other informations : - The default search engine is, as expected, set to Qwant when I install Firefox and there is no profile - The default search engine reverts to Qwant when I use the Refresh Firefox button in the Troubleshouting Information

I hope I was clear in my explanations and thanks those who will answer to my post ! :)

Hello ! I'm trying to create a GPO that would set the default search engine of Firefox ESR 68.1 to Qwant by using the Default Search Engine policy. My problem is after the initial installation, if I change manually the search engine in the options (about:preferences) for some other search engine (Bing for instance) it does not revert to Qwant when I run the gpupdate /force command to apply my GPO once more. Is this an expected behaviour ? I have also observed, while Qwant is the default engine, that if I edit my GPO and set the Default Search Engine policy to Bing the search engine will change to Bing on Firefox when I apply the GPO (using the same command as before : gpupdate /force), and if I change it again to Qwant in the GPO and apply it, Qwant will be set as the default search engine for Firefox. Therefore I don't understand why as long as I don't modify the GPO the Default Search Engine policy don't seem to be applied even when using the /force in the command line (which is supposed to apply all the parameters if I am not mistaken). Other informations : - The default search engine is, as expected, set to Qwant when I install Firefox and there is no profile - The default search engine reverts to Qwant when I use the Refresh Firefox button in the Troubleshouting Information I hope I was clear in my explanations and thanks those who will answer to my post ! :)

Saafara biñ tànn

The "Default Search Engine" is only the default option, meaning that it's the option that will be used when the Firefox profile is first created. It doesn't mean that the user is in any way restricted from changing the search engine if they want to.

The reason it's changing when you edit the GPO is because Firefox detects the GPO change and reapplies the rule, setting the search setting back to the default.

This is the intended behaviour of this policy.

What you could probably do is remove the default search engines using the GPO, then set the default to the search engine that you added and prevent the user from installing search engines. That would hypothetically make the only available search engine be the one that you want the user to use, but I'm not sure if that would prevent the users from pressing the button to restore the default search engines and then be able to change to something else.

Currently though, I don't believe there is any way to lock the search engine selection.

Jàng tontu lii ci fi mu bokk 👍 0

All Replies (3)

more options

Saafara yiñ Tànn

The "Default Search Engine" is only the default option, meaning that it's the option that will be used when the Firefox profile is first created. It doesn't mean that the user is in any way restricted from changing the search engine if they want to.

The reason it's changing when you edit the GPO is because Firefox detects the GPO change and reapplies the rule, setting the search setting back to the default.

This is the intended behaviour of this policy.

What you could probably do is remove the default search engines using the GPO, then set the default to the search engine that you added and prevent the user from installing search engines. That would hypothetically make the only available search engine be the one that you want the user to use, but I'm not sure if that would prevent the users from pressing the button to restore the default search engines and then be able to change to something else.

Currently though, I don't believe there is any way to lock the search engine selection.

more options

That is correct, we don't set the engine at every startup. The intent is that you set the default and the user can choose to change it if they want.

more options

Thank you very much for your answers !

I also thought about removing the other search engines, i will try this solution.