Running Dropbox On Windows Server

KB ID 0001489

Problem

If you are here, you have probably already found out that Dropbox is not supported on Windows Server platforms. You can install it and set it up happily but it stops working and needs to be relaunched all the time (manually).

I love dropbox! So much I actually pay for it! I run it on my management server and its handy for copying file up into my test network, so I can appreciate how annoying it is having to restart it all the time. So to fix the problem we have to use a piece of software that’s over 15 years old! 

Running Dropbox as a Service on Windows Server

First you have to stop dropbox running.

Then download srvany and extract the executable to the Dropbox install directory (C:\Program Files (x86)\Dropbox). Note: This file is form the old Server 2003 resource kit.

From an elevated command prompt run the following command;

[box]sc create Dropbox binPath= “C:\Program Files (x86)\Dropbox\srvany.exe” DisplayName= “Dropbox Service”[/box]

Run services.msc > locate the dropbox Service  > And set its ‘LogOn’ to the account you were logged in with, when you installed the Dropbox software.

Change the startup type to Automatic, (Don’t start the service yet!) > OK.

Execute the following three commands;

[box]

New-Item -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dropbox\Parameters

New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dropbox\Parameters -Name Application -PropertyType String -Value “C:\Program Files (x86)\Dropbox\Client\Dropbox.exe”

Start-Service Dropbox

[/box]

Update:

You also need to execute the following from an ‘Administrative command window’, (or Dropbox will stop synchronising after a few hours).

[box]

SETX /M QT_OPENGL software

[/box]

Related Articles, References, Credits, or External Links

Special Thanks to Frédéric for the SETX command to fix the timeout.

10 thoughts on “Running Dropbox On Windows Server

  1. I have been using this for the past two years, currently on Server 2019 and it has been great, however it appears to have stopped working about 2 weeks ago. Works fine when the service is stopped and Dropbox is run in the GUI, but as a service no syncing occurs anymore. Have there been any known changes that break this solution?

  2. I’ve got the same problem, is there anybody who find a solution? dropbox is working only when it’s in the tray. if dropbox is stop and the service is started there is no sync.

      • Hi
        I found something, it’s working for me, maybe this can help.
        SETX /M QT_OPENGL software
        best regards

  3. Very strange in this way dropbox sync new created elements but dont delete it when removed from filesystem O_o !

  4. Followed all of the steps, but no luck. DropBox will not sync anything when started as a service. Any ideas?

  5. Hello, tried this fix, but when I am editing log on options in the newly created dropbox service, I input my login and password, but when I try to confirm it sais: “The specified domain either does not exist or could not be contacted.”
    Any ideas what am I doing wrong?

  6. Great post! I appreciate the detailed steps on setting up Dropbox on Windows Server. It really helped me streamline my file syncing process. Thanks for sharing your expertise!

Leave a Reply

Your email address will not be published. Required fields are marked *