...
- Log into the server or desktop with the account that you want to run the service as and set up Dropbox. Configure Dropbox to not run at startup and exit the application.
- Download srvany.exe from Microsoft Windows 2003 Resource Kit (available free from Microsoft). After installing the Resource Kit (default in C:\Program Files (x86)\Windows Resource Kits\Tools) copy srvany.exe into the folder where Dropbox is installed.
- Open a windows cmd prompt (run as administrator) and type in the service and authentication details you want (in our case DropboxSync) i.e. sc create DropboxSync displayName= "Dropbox Service" start= auto obj= "<domain>\<username>" password= "<password>" binPath= "C:\Program Files (x86)\Dropbox\srvany.exe"
- Goto Go to your Start Menu, type in regedit and go to the new service (in this case DropboxSync) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DropboxSync
- Create subkey Parameters below in which you must create a string value: Create a String Value called Application then right click on this and add the path to Dropbox.exe (e.g C:\Program Files (x86)\Dropbox\Client\Dropbox.exe)
- From the command prompt, run net start DropboxSync or start the service via the services snap-in
...