Enable login & logout sync rules

Enable this group policy to to choose which folders to sync at login and logout for users with mobile accounts. You can also choose not to sync specific files or folders.

Login and logout sync is used for preference files in ~/Library and ~/Documents/Microsoft User Data. It cannot sync files outside these directories.

You should carefully manage login and logout syncing because a user's login and logout is delayed while files are syncing.

If this policy is not configured or disabled, user's login and logout sync rules on the Mac computer will take effect. This means you cannot prevent files from syncing by disabling this policy.

When enabled, a default list of synchronize/skip items will be added automatically into skip/synchronize items setting. You can add or remove synchronize/skip items, but it is recommended not to remove the default skip items.

Skip items have higher precedence over synchronize items. If a folder is in both skip items setting and synchronize items setting, then this folder will be skipped.

Once enabled, this group policy takes effect when users log out and back in.

=== Stopping Files from Syncing for a Mobile Account ===

To stop a mobile account from syncing files, you must enable this policy and deselect "Sync at login and logout". You also need to set "Sync at login and logout" policy to "Not Configured" or "Disabled". If you don't manage these policies, the user's current sync settings remain in effect and the user can choose his or her sync settings in the Accounts pane of System Preferences.

=== Strategies for Syncing Content ===

Administrators can enable and configure syncing through group policy, and users can configure syncing through Accounts preferences. Each method of creating mobile accounts has different sync capabilities:

* When you create mobile accounts through group policy, you can sync any folder in the user's home folder.

* When a user creates a mobile account through the Accounts System Preferences, he or she can only sync top-level folders like ~/Desktop or ~/Documents.

If a file in one home folder has been modified and the file in the other home folder has not, the newer file overwrites the older file. If both files have been modified since the last sync, the user is prompted to choose which file to keep.

Do not use background syncing with folders containing files accessed by multiple computers. There are several scenarios where this could cause users to load older, unsynced files:

* The user saves a file on one computer and loads the same file on another computer. If that file was not synced to the server since its last save, the user loads an outdated version of the file located on the server.

* The file might not exist on the server because it was not synced. If the file was not synced from the server before loading, the user either does not see the file or loads an outdated local version.

* The user uses the same mobile account to log in to two computers simultaneously. This might create sync issues with the two computers, causing the computers to display error messages.

If you want to sync parts of a user's ~/Library folder, you must use login and logout syncing. Syncing the ~/Library folder retains user's bookmarks and application preferences.

Consider syncing smaller files (such as preference files) at login and logout, while syncing larger files (such as movies) in the background. This reduces login and logout times because only preference files sync, and movies sync throughout a user's session (instead of while the user is trying to log out). You can further reduce network traffic by choosing not to sync the movies folder, requiring users to access the movies folder locally.

Supported on:

Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\105\LogSync
Value NameEnableLoginLogoutSynchronizationRules
Value TypeREG_SZ
Enabled Value1
Disabled Value0

Sync at login and logout
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\105\LogSync
Value NamesyncAtLoginAndLogout
Value TypeREG_SZ
Default Valuesync
True Valuesync
False ValuedontSync
Enable policy:
Registry PathValue NameValue TypeValue
Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\105\LogSync\FullPathFullPathItem4REG_SZ~/Library/Application Support/SyncServices
Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\105\LogSync\SynchronizeLoginLogoutItem2REG_SZ~/Documents/Microsoft User Data


Administrative Templates (Computers)

Administrative Templates (Users)