Multiple DropBox Instances on Windows 7 (or Vista)

At Semi-Legitimate Software, we use and highly recommend DropBox for file sync, backup, and collaboration.

(on a completely unrelated note... if you are looking for a good green web host, we highly recommend A2)

We recently had a need to run two DropBox instances concurrently on a few of our Windows 7/Vista workstations (if you are running Mac or Linux there are alternate methods to do this documented here.  If you are running an older version of Windows, this may work for you.  We've not tested either of these alternate methods so can't vouch for them.).

By the way, if you don't have a DropBox account and don't mind throwing us a small bone, please use this link to sign up for an account of your own.

Note: DropBox is a great service.  Please don't use two accounts to step around their single free account size limit.  Pay for a larger DropBox storage space if you need it.

Before we start working on our second DropBox instance, make sure you do a normal install and setup your primary DropBox account with your primary windows user first.  Just use the normal default install method for this.

Next, we need to either create a new Windows user or pick an existing one already setup on your machine that you'll use to run the second DropBox instance.  This alternate user account does not need to be an administrator or anything, just a normal user is fine.

Note: This user must be password enabled. It doesn't have to be a complex password, but must be non-blank.

Now log on to your machine as your new user.  Once logged in, download and re-install DropBox as the new user (you may have to enter an admin password here if your new user isn't an admin himself).

Go through the entire setup process and sync out the DropBox repository to a location that will be accessible to your primary user account.  Something like c:\dropbox works just fine.

Log off your new user, and back on as your primary user.

Now we need to create a custom shortcut to the alternate DropBox instance.  On both Windows 7 and Windows Vista, the DropBox executable is stored under the local users AppData directory.  Something like:

C:\Users\USERNAME\AppData\Roaming\Dropbox\bin\Dropbox.exe

For this example, my user is named "sls" so my path is:

C:\Users\sls\AppData\Roaming\Dropbox\bin\Dropbox.exe

Navigate to the DropBox executable under your alternate user account.  (the AppData directory is hidden by default, either type it in your address bar or set Windows to show hidden files).  Once you find the executable, right click it and click Send To > Desktop (create shortcut).

Now right click the new shortcut on your desktop and click "Properties."  In the "Target" text field append the following to the beginning of the command that is already there:

runas /user:USERNAME

For this example (USERNAME is sls):

runas /user:sls

The final contents of the "Target" text field will be something like:

runas /user:USERNAME C:\Users\USERNAME\AppData\Roaming\Dropbox\bin\Dropbox.exe

For this example (USERNAME is sls):

runas /user:sls C:\Users\sls\AppData\Roaming\Dropbox\bin\Dropbox.exe

Click OK to save the changes to the shortcut and then double click it to run.  If your alternate user had a password, you will be prompted for it at this point.

You will now see your second DropBox icon appear in your system tray.

Congratulations, you are now running two instances of DropBox concurrently as two separate Windows users!

alt

 

Comments 

 
0 #43 Kevin 2010-06-30 13:39
Fantastic tutorial. Just got it working on Win7-64.

Like others have mentioned, I can't open the 2nd dropbox folder from the tray icon, but a manual shortcut does the trick.

Also, if you are, like me, storing PDFs in your 2nd dropbox, make sure to share the folder among both user accounts involved. I initially got an "access is denied" message, but doing this seems to have cleared it up.

Thanks again for making my life easier!
Quote
 
 
+1 #42 Michael 2010-06-20 12:45
It works!!! :) Thank you very much! :)
Quote
 
 
0 #41 waj 2010-06-18 00:32
Gracias funciono de maravilla
Quote
 
 
+1 #40 Brian Saxby 2010-06-13 12:25
Hi,

I couldn't get the shortcut to work either (using Windows 7 64-bit home edition, Dropbox 0.7.110) but it did work when I created a batch file (type the text into notepad and save as filename.bat) with the following commands, where 'bri' is my second user account:

cd C:\Users\bri\Ap pData\Roaming\D ropbox\bin\
runas /user:bri dropbox.exe

I wouldn't have got there without the help here, so cheers!
Quote
 
 
0 #39 ray 2010-05-31 12:33
Everything just went fine! THANKS
Quote
 
 
0 #38 joel 2010-05-27 10:01
Quoting Kyu:
Thanks for the tip.
I did everything you said. I got the 2nd dropbox in my system tray, but even after i double click on it, no window is popping up, hence I cannot access my 2nd dropbox folder. Any idea?


That seems to be an issue with the current release actually. This happens for me too. I just made a manual shortcut to the second dropbox folder. The dropbox sync stuff works and everything but it seems that for whatever reason you can't use the tray icon these days.
Quote
 
 
0 #37 Kyu 2010-05-27 09:58
Thanks for the tip.
I did everything you said. I got the 2nd dropbox in my system tray, but even after i double click on it, no window is popping up, hence I cannot access my 2nd dropbox folder. Any idea?
Quote
 
 
0 #36 admin 2010-05-26 13:18
Quoting gman:
so, when i initially followed this tutorial i had two instances of dropbox working under different users, and two icons in my toolbar.

for some reason when i try this now, i can only run ONE dropbox.exe (the other one opens and closes immediately).

my admin account dropbox.exe now goes to my secondary users dropbox account.. how did it switch?


Not sure what to tell you... don't know how it switched for you. This trick still works fine for me. Maybe you're best off just reinstalling Dropbox and starting over.
Quote
 
 
0 #35 gman 2010-05-24 19:16
so, when i initially followed this tutorial i had two instances of dropbox working under different users, and two icons in my toolbar.

for some reason when i try this now, i can only run ONE dropbox.exe (the other one opens and closes immediately).

my admin account dropbox.exe now goes to my secondary users dropbox account.. how did it switch?
Quote
 
 
0 #34 Ted Rice 2010-05-09 18:24
I installed Dropbox on a Vista laptop with one administrator account and two non-administrator accounts. It worked fine on the administrator account, which IO don't use except to install programs, but was inaccessible from the other two accounts, and I couldn't install it on them without their being made administrator accounts, which defeats the security. Very poor installation procedure, much like Chrome. However, following the "runas" procedure above let me make it accessible from the other accounts. Thanks for the workaround!
Quote
 
 
0 #33 bob 2010-05-05 14:28
Okay so I just read most of your comments and they look like bots so I wanted to say from one person to another that you did a really good job.

Having access to my personal dropbox and my project dropbox at the same time is great.
Quote
 
 
0 #32 bob 2010-05-05 14:24
Works great thanks
Quote
 
 
+1 #31 Mister Chad 2010-03-30 13:22
How can you specify the user's password in the shortcut, so entering password is automatic?
Quote
 
 
0 #30 Tom 2010-02-26 17:23
My take away is that this trick is basically not practical for mer mortal PC users or am I missing something? Tom
Quote
 
 
0 #29 joel 2010-02-22 15:46
Quoting Mac:
The only way I could fix this was to open an elevated command prompt and use cacls to give both users control over the folders. Even then, as an elevated administrator, I got "Access denied" messages when trying to add the second user. I had to manually change back ownership of the directory structure to myself, and re-issue the cacls commands.

It's unclear to me at this point whether this is a Dropbox-related thing or just the vagaries of the Windows permissions system.


It sounds like you are way past this, but just to be sure... is your "alternate" user's DropBox stored somewhere out from under that user's "user" directory? (aka it's not under c:\Users is it?)

I've not seen permission weirdness with this like you are describing though so honestly I'm just trying to throw out an idea.
Quote
 
 
0 #28 Mac 2010-02-22 10:06
The only way I could fix this was to open an elevated command prompt and use cacls to give both users control over the folders. Even then, as an elevated administrator, I got "Access denied" messages when trying to add the second user. I had to manually change back ownership of the directory structure to myself, and re-issue the cacls commands.

It's unclear to me at this point whether this is a Dropbox-related thing or just the vagaries of the Windows permissions system.
Quote
 
 
0 #27 Mac 2010-02-20 22:19
This seems useful and I have been able to get two running instances as you described. However, I'm not able to open any of the files in the second instance - I have all the proper permissions, and can navigate through the second dropbox directory structure successfully, but if I try to open any files I get an "Access is denied" message. This happens with images, text files - every file I have tried. I'm running Windows 7 64-bit.

I've double-checked them permissions, even logged back in as the secondary user and explicitly granted Full Control to the primary user for the entire directory structure.

It occurs to me that the latest DropBox client may lock the user's files for any user except the one running the instance, so user A cannot read the file's in user B's instance.

Any ideas?
Quote
 
 
0 #26 Tom 2010-02-12 14:05
I have the exact same issue with typing in the password into the command window no input is accepted. I did hand type in the command and received "RUNAS ERROR: Unable to run - dropbox ..... 5: Access is denied. I verified it is not a PW issue bc wrong pw gives 'bad password' error
Quote
 
 
0 #25 joel 2010-02-12 13:23
Quoting hsch:
great thing but i have a problem:
the shortcut dosnt work.
Target is
:runas /user:cgg C:\Users\cgg\Ap pData\Roaming\D ropbox\bin\Drop box.exe

after pressing ok it is:
C:\Windows\Syst em32\runas.exe /user:cgg C:\Users\cgg\Ap pData\Roaming\D ropbox\bin\Drop box.exe

but it did not work
when id put
C:\Windows\Syst em32\runas.exe /user:cgg C:\Users\cgg\Ap pData\Roaming\D ropbox\bin\Drop box.exe
in cmd window the sec dropbox is there and works fine.

But why did the shortcut not work?


Not sure... the shortcut and pasting the shortcut properties into a cmd Window should behave the same. Are you still having this issue?
Quote
 
 
0 #24 joel 2010-02-12 13:22
Quoting Dan:
Good afternoon,
Thank's for the great tutorial !
I went through the entire process but when I type in my password nothing happens. The second DropBox icon does not appear in my system tray.
Any idea ?
Once typed in, the information in the system window goes too quickly to be able to read it.
Thank's
Dan


Best bet is to open the "cmd" window (Start > type "cmd" in the search box and hit ENTER) and paste the full contents of your shortcut properties string in there and hit ENTER. This should generate the same result output as your shortcut but it'll stay on the screen so you can read it and figure out what's up. Post back what you find please.
Quote
 

Add comment


Security code
Refresh

Copyright © Semi-Legitimate Software, LLC. All Rights Reserved.