Skip to content

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.

  • Locked: A Boolean. Whether the policy is enforced. This decides how every other key behaves. Leaving it out is the same as setting Locked to false.
  • Enabled: A Boolean. Turns sync on or off and stops users from changing that. Only has an effect when Locked is true.
  • 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.

The following table describes how the sync policy values interact:

LockedEnabledSyncing?The data type values setThe data types unset
false or unsetanyUsers decideare suggestionsuse Firefox defaults as suggestions
trueunsetUsers decideare enforceduse Firefox defaults as suggestions
truefalseNohave no effecthave no effect
truetrueYesare enforceduse Firefox defaults as suggestions

Notice:

  • Enabled is ignored completely with Locked set to false.
  • Data types you leave out stay under the user's control, even though the policy is locked.
policies.json
{
"policies": {
"Sync": {
"Addons": false,
"Addresses": true,
"Bookmarks": true,
"Enabled": true,
"History": true,
"Locked": true,
"OpenTabs": false,
"Passwords": false,
"PaymentMethods": false,
"Settings": true
}
}
}
policies.json
{
"policies": {
"Sync": {
"Enabled": false
}
}
}
JSON schema
Sync 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"
}
}
}

This configuration turns sync off and stops users from turning it back on:

{
"policies": {
"Sync": {
"Enabled": false,
"Locked": true
}
}
}

This configuration stops passwords from syncing and leaves every other choice to the user:

{
"policies": {
"Sync": {
"Passwords": false,
"Locked": true
}
}
}
Software\Policies\Mozilla\Firefox\Sync\Addons = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\Addresses = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\Bookmarks = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\Enabled = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\History = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\Locked = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\OpenTabs = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\Passwords = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Sync\PaymentMethods = 0x1 | 0x0
Software\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>
FirefoxFirefox ESRFirefox Enterprise
Not supportedNot supportedAvailable 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