Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

policies.json don't work on Windows

  • 4 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від Mike Kaply

more options

I've made "C:\Program Files\Mozilla Firefox\distribution" folder and policies.json with test policy below: {

 "policies": {
   "SearchBar": "unified"
 }

}

But it doesn't work. In registry it does. I even used Enterprise Policy Generator to exclude any typos. What's wrong here?

I've made '' "C:\Program Files\Mozilla Firefox\distribution" '' folder and ''policies.json'' with test policy below: '' { "policies": { "SearchBar": "unified" } }'' But it doesn't work. In registry it does. I even used Enterprise Policy Generator to exclude any typos. What's wrong here?

Обране рішення

Ok I know what the problem was. I had an inactive different policy in the registry HKEY_CURRENT_USER\SOFTWARE\Policies\Mozilla\Firefox When I removed it completely, JSON started working again.

Didn't know that even a one (although totally different one) policy in the registry can block JSON. We learn something every day.

Case closed.

Читати цю відповідь у контексті 👍 0

Усі відповіді (4)

more options

Do any policies appear on the about:policies page after starting Firefox? If not, it seems Firefox either isn't reading or isn't understanding the file contents.

Did you use the extension's download button? If you copy/pasted to an editor, please double-check that there's no unusual formatting in the file (it is plain text) and that there's no hidden .txt file extension.

more options

Вибране рішення

Ok I know what the problem was. I had an inactive different policy in the registry HKEY_CURRENT_USER\SOFTWARE\Policies\Mozilla\Firefox When I removed it completely, JSON started working again.

Didn't know that even a one (although totally different one) policy in the registry can block JSON. We learn something every day.

Case closed.

more options

That is interesting. I don't know whether it is supposed to work that way.

more options

It is supposed to work that way for now, but I've got a fix going into Firefox that will make them coexist (although GPO wins when there is a match).

The fix is in, just not sure it will be uplifted.