(Broken) Script to enable multiple DropBox accounts in Windows 7

UPDATE: Please be aware this method is no longer working. It seems that more than 30,000 people have viewed this solution. I hope you no longer continue to use it… Thanks.

As you can see I am convinced that DropBox is cool, but somethings just aren’t quite right. Namely multiple accounts on one machine. I see many posts with a long set of descriptions on how to accomplish multiple drop box accounts. But what happens if you dont want a bunch of logins messing up your login page? What if you want it to automatically log you in when you start windows (and you dont want to enter your password every time)?


You need to have admin access to your computer

You need to have SysInternals psexec installed and in your path. Here is the Microsoft Download Page.

(If you don’t know what ‘in your path’ means, you can just extract it to the c:\windows\system32 folder)

If you are just creating one extra account, this method is about the same amount of work as manually creating another user. But… Multiple users, well  you can see how much easier it will be. You could theoretically create 10 different accounts in less than 10 min if you understand these instructions.


1) Copy my script into your dropbox folder (C:\Users\<your name>\AppData\Roaming\Dropbox) (dont worry userlinklist will be added later you dont need to add it)

2) Run cmd with elevated permissions (Click on start, type cmd, right click on cmd.exe and choose run as administrator)

3) Change to the path the script is in “cd C:\Users\globalcynic\AppData\Roaming\Dropbox” for example

4) use this syntax: new <username> <password> (i.e. “new dropboxusr24 mypass”) (Read note Below)

5) repeat step 4 as many times as you need

*Note for step 4… This username and password is not for dropbox but for windows. Even though I hide the accounts from the login screen, these are still valid windows logins. Located in the textfile are your username and password so you can remember them, but if you are paranoid about security, delete this file.

What the script does?

  • Creates a new user account
  • Hides that account from your login page
  • Loads the new user profile
  • Copies the dropbox into the new profile
  • Starts dropbox for the first time for you
  • Creates a text file that shows the exact shortcut that you can place in your startup if you want.

Here is the script

Simply copy this script into a new text file and save as new.bat (or whatever name you want).

net user %1 %2 /add
REG QUERY “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts”
if [%errorlevel%]==[1] REG ADD “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts”
REG QUERY “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList”
if [%errorlevel%]==[1] REG ADD “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList”
REG QUERY “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList” /v %1
if [%errorlevel%]==[1] REG ADD “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList” /v %1 /t reg_dword /d 0
psexec -d -u %1 -p %2 whoami
xcopy bin “C:\Users\%1\AppData\Roaming\Dropbox\bin” /i
psexec -d -u %1 -p %2 “C:\Users\%1\AppData\Roaming\Dropbox\bin\Dropbox.exe”
echo psexec -d -u %1 -p %2 “C:\Users\%1\AppData\Roaming\Dropbox\bin\Dropbox.exe” >> userlinklist.txt

Important Notes

Note: The “userlinklist,txt” contains a command that will allow you to execute DropBox. If you want dropbox to start when windows does, create a shortcut with that command in your windows startup folder for every account that you want to start. Or if you want to start all dropbox accounts manually, simply rename the userlinklist to userlinklist.bat and it will start all of your drop box accounts at once.

Note: The first time you start dropbox and link it to an account, it will not sync. This is a problem also observed in their (discontinued) portable app. All you have to do is link it for the first time, exit Dropbox, and then start it again and there are no more problems.

Note: It should be obvious, but if it is not, do not attempt to place all synced folder in the same location. Each DropBox account must be syncing in a different folder.

Note: Removal Instructions. You need to remove the windows user, then delete the profiles folder (c:\users\username). You can use the command net user username /delete to remove the user accounts also.


10 thoughts on “(Broken) Script to enable multiple DropBox accounts in Windows 7

  1. Hi, THX for the script It is working for me, but I lose the
    very practical overlay on icons on my others launched dropboxes
    (the first one created normally on my account has no problem…)
    Any idea ?? Thanks by advance ! Ju

  2. uhmmm it is good man, but a bit rushed cause I dont
    understand completely. I did everything, but now what?? I have
    added the new.bat , created the accounts. the list was created with
    the password. and now what? I made the list into a bat double click
    it and nothing. it says that PsExec could not find the specified
    file. I check the account created and it doesnt have

    • Sorry for the delay, I have been on a series of business trips. What operating system are you using? Where there any errors when the script was run? If you followed all of the steps, it should have executed each instance. What is the exact command being executed?

      Merry christmas by the way.

  3. Global Cynic, thanks so much for posting this. As you say, it is a much better solution than creating new user accounts manually and having to retype your password upon each startup.

    The only problem that I ran into was that when I copied the script into a txt file, the quotation marks copied over in some different character set and I had to retype them manually. Otherwise, everything worked perfect. Thanks again.

  4. it works great except that the there is no symbol which implies that the file is successfully synced at the bottom left of the file.

  5. Such a nice share.

    Thanks for the script.
    I’ve the same problem with steve that when I copied the script the quotation marks change into different character.

    Is it ok if I repost it to my blog in my own languages?
    I’ll also share your blog as the source information of my blog, hehehe..

    Sorry if i’ve bad english.

  6. This method is not working with Dropbox released 2.0. Can you please revise the script or show any work around.


    • I am sorry to say that this no longer works. I have updated this as it is deprecated. I probably wont update this as my 50GB free box account removed the need to use this method. Sorry

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s