How to stop / start the Google Synchronizer using batch files

Last update:
Created :
Written by Thomas Speekenbrink

Overview:

It might happen that the Google Synchronizer stops when the Sync server was rebooted. It might look that the service has been started, but no synchronization occurs. This might be solved by using a task which stop/starts the Synchronizer automatically every night (or to another schedule you might prefer).

How to:

  • Create 2 batch files, 1 for stopping the service and 1 for starting the service and place them somewhere on the server (for instance Stop_Google_Synchronizer.bat / Start_Google_Synchronizer.bat)
    • Command for stopping: NET STOP GSSEService
    • Command for starting: NET START GSSEService
  • Open the Windows Task Scheduler and create a Task
  • Choose an appropriate name: Start Google Synchronizer
  • Choose: Run whether user is logged on or not
  • Check the Run with highest privileges option
  • Go to the Triggers tab and choose a desired time (don't forgot to pick the startup time after the stop time)
  • Click the Actions tab and choose the correct bat / cmd file
  • Click OK and fill in credentials when needed
  • Repeat above steps for the Stop sequence

Please note, give the Stop sequence some time to stop. Best Practice (BP) is a 15 minute window between stopping and starting.

You might also use the premade batch files, check the downloads at the bottom of this KB article.