Windows – Sync Google Drive when not logged in

google-drivescheduled-taskssyncwindows-server-2008-r2

I have installed Google Drive on Windows Server 2008 R2. When I login to the server, Google Drive starts automatically and synchrnoizes files, pulling changes down from the cloud. All good so far.

However, I would like the sync to run even if I am not logged in. Is there any way to start the sync process automatically, maybe as a scheduled task?

I have other jobs on the server which distribute the files by FTP so I would like the server copies of the files to be up to date.

Best Answer

Have you tried the Task Scheduler?

http://www.nekocreation.com/sync-google-drive-when-not-logged-in/

From above:

Google Drive will only sync your files automatically when you are logged in to your account on Windows. If you want Google Drive to start even before you are logged in to your account, you can add it to Task Scheduler.

  1. On Windows 7, go to Start > All Programs > Accessories > System Tools > Task Scheduler
  2. Click on Create Task…
  3. Under General Tab
  4. Name: Google Drive Sync
  5. Security options: Run whether user is logged on or not
  6. Under Triggers Tab
  7. Click ‘New…’ button
  8. Begin the task: At startup
  9. Click ‘OK’ button
  10. Under Actions Tab
  11. Click ‘New…’ button
  12. Click ‘Browse…’ button
  13. Locate googledrivesync.exe (By default it is under C:\Program Files (x86)\Google\Drive)
  14. Click ‘OK’ button
  15. Under Settings Tab
  16. Uncheck ‘Stop the task if it runs longer …’
  17. Click ‘OK’ button to save the task
Related Question