Sync
Controls whether sync should be enabled and which features should be enabled for syncing.
In Firefox and Firefox ESR, users must be signed in to a Mozilla account to use Sync. In Firefox Enterprise, Sync is linked to the user's organizational identity.
Values
Section titled “Values”Locked: A Boolean. Whether the policy is enforced. This decides how every other key behaves. Leaving it out is the same as settingLockedtofalse.Enabled: A Boolean. Turns sync on or off and stops users from changing that. Only has an effect whenLockedistrue.Bookmarks: A Boolean. Controls whether syncing bookmarks should be enabled.History: A Boolean. Controls whether syncing history should be enabled.OpenTabs: A Boolean. Controls whether syncing open tabs should be enabled.Passwords: A Boolean. Controls whether syncing passwords should be enabled.Addresses: A Boolean. Controls whether syncing addresses should be enabled.PaymentMethods: A Boolean. Controls whether syncing payment methods should be enabled.Addons: A Boolean. Controls whether syncing addons should be enabled.Settings: A Boolean. Controls whether syncing settings should be enabled.
Description
Section titled “Description”The following table describes how the sync policy values interact:
Locked | Enabled | Syncing? | The data type values set | The data types unset |
|---|---|---|---|---|
false or unset | any | Users decide | are suggestions | use Firefox defaults as suggestions |
true | unset | Users decide | are enforced | use Firefox defaults as suggestions |
true | false | No | have no effect | have no effect |
true | true | Yes | are enforced | use Firefox defaults as suggestions |
Notice:
Enabledis ignored completely withLockedset tofalse.- Data types you leave out stay under the user's control, even though the policy is locked.
Examples
Section titled “Examples”{ "policies": { "Sync": { "Addons": false, "Addresses": true, "Bookmarks": true, "Enabled": true, "History": true, "Locked": true, "OpenTabs": false, "Passwords": false, "PaymentMethods": false, "Settings": true } }}{ "policies": { "Sync": { "Enabled": false } }}JSON schema
{ "type": "object", "properties": { "Enabled": { "type": "boolean" }, "Addons": { "type": "boolean" }, "Addresses": { "type": "boolean" }, "Bookmarks": { "type": "boolean" }, "History": { "type": "boolean" }, "OpenTabs": { "type": "boolean" }, "Passwords": { "type": "boolean" }, "PaymentMethods": { "type": "boolean" }, "Settings": { "type": "boolean" }, "Locked": { "type": "boolean" } }}Turning sync off
Section titled “Turning sync off”This configuration turns sync off and stops users from turning it back on:
{ "policies": { "Sync": { "Enabled": false, "Locked": true } }}Preventing passwords from being synced
Section titled “Preventing passwords from being synced”This configuration stops passwords from syncing and leaves every other choice to the user:
{ "policies": { "Sync": { "Passwords": false, "Locked": true } }}Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\Sync\Addons = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\Addresses = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\Bookmarks = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\Enabled = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\History = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\Locked = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\OpenTabs = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\Passwords = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\PaymentMethods = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Sync\Settings = 0x1 | 0x0<dict> <key>Sync</key> <dict> <key>Addons</key> <true/> | <false/> <key>Addresses</key> <true/> | <false/> <key>Bookmarks</key> <true/> | <false/> <key>Enabled</key> <true/> | <false/> <key>History</key> <true/> | <false/> <key>Locked</key> <true/> | <false/> <key>OpenTabs</key> <true/> | <false/> <key>Passwords</key> <true/> | <false/> <key>PaymentMethods</key> <true/> | <false/> <key>Settings</key> <true/> | <false/> </dict></dict>Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise |
|---|---|---|
| Not supported | Not supported | Available since 150 |
CCK2 Equivalent: N/A
Preferences Affected: services.sync.engine.addons, services.sync.engine.addresses, services.sync.engine.bookmarks, services.sync.engine.creditcards, services.sync.engine.history, services.sync.engine.passwords, services.sync.engine.prefs, services.sync.engine.tabs