Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

policies.json nor working

  • 3 ответа
  • 0 имеют эту проблему
  • 1 просмотр
  • Последний ответ от Ciaopescao

more options

Hi,

My policies.json file is installed in my 'distribution' folder alongside FirefoxPortable.exe and the Data folders in the root of the Firefox portable install folder.

It looks like this:

{

"policies": {
  "PrimaryPassword": true,
  "BlockAboutConfig": true,
  "PromptForDownloadLocation": true,
  "SanitizeOnShutdown": {
     "Cache": true,
     "OfflineApps": true },
  "Preferences": {
     "browser.startup.page": {
       "Value": 3,
       "Status": "user" 
     }
  }
}

}

None of the policies are being applied, and on the page <about:policies> I'm getting "The Enterprise Policies service is inactive".

Others have said this was caused by having the following registry keys in the registry, which is not the case in my registry after checking:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\ Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Mozilla\Firefox\

Thanks.

Hi, My policies.json file is installed in my 'distribution' folder alongside FirefoxPortable.exe and the Data folders in the root of the Firefox portable install folder. It looks like this: { "policies": { "PrimaryPassword": true, "BlockAboutConfig": true, "PromptForDownloadLocation": true, "SanitizeOnShutdown": { "Cache": true, "OfflineApps": true }, "Preferences": { "browser.startup.page": { "Value": 3, "Status": "user" } } } } None of the policies are being applied, and on the page <about:policies> I'm getting "The Enterprise Policies service is inactive". Others have said this was caused by having the following registry keys in the registry, which is not the case in my registry after checking: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\ Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Mozilla\Firefox\ Thanks.

Все ответы (3)

more options

Make sure you create the distribution folder in the correct location since you mention the Data folder that is used for the profiles. I'm not using the portable version being on Linux, but I think that this is the correct file path:

  • FirefoxPortable\distribution\policies.json
more options

Yep that's where it is.

more options

Solved this now.

For portable versions of Firefox, the 'distribution' folder containing policies.json needs to go in the FirefoxPortable>App>Firefox64 folder.