Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Apply policies.json on first run

  • 3 trả lời
  • 1 gặp vấn đề này
  • 170 lượt xem
  • Trả lời mới nhất được viết bởi Tekkion

more options

Hello,

I'm using the following policies.json file: {

 "policies": {
   "DisableAppUpdate": true,
   "DisableFirefoxStudies": true,
   "DisableTelemetry": true,

"DisableProfileRefresh": true,

   "DontCheckDefaultBrowser": true,
   "Homepage": {
     "StartPage": "homepage",
     "URL": "http://www.DKIPAGE.de"
   },
   "NewTabPage": false,
   "OverrideFirstRunPage": "http://www.DKIPAGE.de",
   "OverridePostUpdatePage": "http://www.DKIPAGE.de",
   "Preferences": {
     "datareporting.policy.dataSubmissionPolicyBypassNotification": true,
     "extensions.getAddons.showPane": false
   }
 }

}

but it seems it settings will only applied on the second start of firefox. It seems the appropriate profile needs to be created before the policies are applied is there a way to apply it for the first start even if there is no profile created yet?

Regards

Martin

Hello, I'm using the following policies.json file: '' { "policies": { "DisableAppUpdate": true, "DisableFirefoxStudies": true, "DisableTelemetry": true, "DisableProfileRefresh": true, "DontCheckDefaultBrowser": true, "Homepage": { "StartPage": "homepage", "URL": "http://www.DKIPAGE.de" }, "NewTabPage": false, "OverrideFirstRunPage": "http://www.DKIPAGE.de", "OverridePostUpdatePage": "http://www.DKIPAGE.de", "Preferences": { "datareporting.policy.dataSubmissionPolicyBypassNotification": true, "extensions.getAddons.showPane": false } } }'' but it seems it settings will only applied on the second start of firefox. It seems the appropriate profile needs to be created before the policies are applied is there a way to apply it for the first start even if there is no profile created yet? Regards Martin

Giải pháp được chọn

Im using FF ESR 78.3.0 and it seems some old profiles seem to caused the problem after I cleared the %Appdata%\Mozilla\Firefox folder it was applied on the frist run. Anyway no errors where shown after starting FF with the old profiles folder. Thanks for the "hint" ;)

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (3)

more options

Update: I tested to write the homepage settings into the registry then it even needs 3 starts to apply... so that is also no solution... Evenso I couldn't find any possibility to convert the json file into I reg file which would make this whole approach a lot easier.

Được chỉnh sửa bởi Tekkion vào

more options

Policies should definitely be applied on first run, so I'm not sure why you are seeing this.

What do you see when you go to about:policies after starting the first time?

are there any errors?

What version of Firefox?

more options

Giải pháp được chọn

Im using FF ESR 78.3.0 and it seems some old profiles seem to caused the problem after I cleared the %Appdata%\Mozilla\Firefox folder it was applied on the frist run. Anyway no errors where shown after starting FF with the old profiles folder. Thanks for the "hint" ;)

Được chỉnh sửa bởi Tekkion vào