Multiple account sync

  1. Create backup directory.

Preferably in the %Home%\GDrive directory.

2. Run setup script

Set UserProfile=_@_.

CD %LocalAppData%\Google\Drive.

MD %UserProfile%.

MD "%USERPROFILE%\AppData\Roaming">nul.

MD "%USERPROFILE%\AppData\Local\Application Data">nul.

MD "%USERPROFILE%\Application Data">nul.

MD "%USERPROFILE%\Local Settings\Application Data">nul.

MD "%USERPROFILE%\My Documents">nul.

MD "%USERPROFILE%\Documents">nul.

  1. Create a bat file GDriveSync.bat.

with following content

@ECHO OFF.

Ping -n 10 localhost>nul

Set USERNAME=_@_.

Set USERPROFILE=%~dp0%USERNAME%.

Set Path=C:\Program Files (x86)\Google\Drive.

Start googledrivesync.

4. Run

  1. Sign in.
  1. In advanced options - select the backup directory (from 1).

5. Create a startup entry for this bat file

  1. HKCU\Software \Microsoft\CurrentVersion\Run.
Updated: 2026 Aug 19