≡ Menu

Disable Logon Logoff Synchronization

sync2
Some users complain that Client Side Cache(CSC or Offline Files) is slowing down logon and logoff as it tries to synchronize all the locally cached files with the server ones. The default synchronization does quick sync which means that only the files that have been changed locally will be synced to the server. But if you are seeing delayed logon/logoff then it could be because a Full sync is being performed which means that all the files are being synced in both the ways and if there are any new files on the server share those files also get copied to the local cache during full sync. This consumes time and will delay user’s login and logoff actions. This full sync can be disabled as explained below.  It looks like Full sync during logon and logoff is supported by Windows XP but not on Vista and Windows 7.  Hence Vista and Windows 7 does not have these settings.

  • Open My Computer 
  • Click on Tools in the menu bar
  • Select Folder options
  • Click on Offline files tab
  • Unselect the check boxes “Synchronize all offline files when logging on” and “Synchronize all offline files before logging off”.

Alternatively we can also disable logon synchronization through registry keys also. The details are given below.

For disabling logon synchronization at system level set the following registry value to 0. (If the registry value does not exist already you can create it by Right click -> New -> REG_DWORD)

SyncAtLogon
Type: REG_DWORD
Path: HKLMSoftwarePoliciesMicrosoftWindowsNetCache

For disabling logon synchronization at user level set the following registry value to 0.

SyncAtLogon
Type: REG_DWORD
Path: HKCUSoftwarePoliciesMicrosoftWindowsNetCache

For disabling logoff synchronization at system level set the following registry value to 0.

SyncAtLogoff
Type: REG_DWORD
Path: HKLMSoftwarePoliciesMicrosoftWindowsNetCache

For disabling logon synchronization at user level set the following registry value to 0.

SyncAtLogoff
Type: REG_DWORD
Path: HKCUSoftwarePoliciesMicrosoftWindowsNetCache

{ 2 comments… add one }
  • Anonymous July 29, 2011, 7:23 pm

    Thanks for the help!

  • Anonymous November 14, 2012, 12:49 am

    In Win7, these settings can be configured in group policy in Computer Configuration -> Administrative Templates -> Network -> Offline files

Leave a Comment