Multiple App Accounts Using BlueStacks

When you use apps on a device such as an iPhone or Android phone, you may run into a situation where you want to have multiple accounts for the same app. Unfortunately, this can be very hard to do. It usually requires you to uninstall the app and re-install it to switch accounts. Usually these apps don’t have a PC version, which makes it even harder to manage multiple accounts. The people at BlueStacks have written an Android emulator to allow running apps on a PC (they have a MAC version, but it doesn’t support the version of Android required to run most apps), so you will need Windows.

To run multiple accounts of an app follow these steps.

  1. Download and install BlueStacks
  2. Install the app that you want to duplicate, but do not log in or create an account. If you have already logged into the app, then uninstall the app and re-install it.
  3. Open Windows Explorer and go to %ProgramData%\BlueStacks\Android\ you should see a folder called Data.sparsefs
  4. Rename Data.sparsefs to Data1.sparsefs.
  5. Make as many copies of Data1.sparsefs as you need copies of your app. Increment the number after Data each time. You should end up with something like this, but without the Data.sparsefs folder.

    data folders

    copies of data folders

  6. Download this zip file, open it, and copy LaunchApp.bat to %ProgramData%\BlueStacks\Android\
  7. Open the apps folder that BlueStacks installed on your desktop. You should see a shortcut to the app that you installed in BlueStacks.
  8. Right-click on the shortcut and choose “properties”. You should see a window like this:

    link properties

    link properties

  9. You’ll need to edit the text inside the “Target” textbox. you want to keep the last two arguments. Those will tell BlueStacks which app you want to launch. If you were editing the twitter link, then

    “C:\Program Files (x86)\BlueStacks\HD-RunApp.exe” Android


    %ProgramData%\BlueStacks\Android\LaunchApp.bat 1

    Notice that the “Android” became a “1”. That “1” will change for each shortcut to match the Data#.sparsefs that you want to link to.

  10. Make a copy of the shortcut for each copy of Data.sparsefs that you created
  11. Rename each link with the number that corresponds to the number in your copy of Data.sparsefs
  12. Edit the target of each link, just like in step 8. Change the “1” to match the number in your copy of Data.sparsefs

You should end up with links like these:

app links

links to apps

Now, when you double-click the links, the batch file will link the proper Data#.sparsefs and launch your app. The first time you run each shortcut you will need to set up a new account. After that, you can switch accounts just by launching the shortcut.


Coder, Father, apparently also a Blogger

Posted in Challenge Tagged with:
44 comments on “Multiple App Accounts Using BlueStacks
  1. Jugemscloud89 says:

    Just created an account to thank you. I can’t tell you how extremely helpful it was for getting Bluestacks configured for my little brother and I. I’m so so so happy you wrote that batch. I figured that would be the solution, but I know next to nothing when it comes to writing them. Keep it up and thanks again!

  2. Prodigo says:

    Dont think it worked for me, a command prompt came up when I opened one of the apps, saying “the system cannot find the file specified” then it recreated the original Data.sparsefs folder

    • nathan says:

      This is just a guess but it sounds like step 6 didn’t work. Try doing it again and make sure that LaunchApp.bat is in the %ProgramData%\BlueStacks\Android\ folder

  3. clamarine8606 says:

    I can’t figure out how to do step #3. I had to google “Windows Explorer” only to find it’s now called “File Explorer” and it’s just my documents/pictures/videos/etc menu. Anyway, HOW do I find/see this %ProgramData%\BlueStacks\Android\ or Data.sparsefs thing from there?

    • nathan says:

      Is a shortcut for c:\ProgramData\BlueStacks\Android\
      So you could go to “My Computer” then C: then ProgramData then BlueStacks then Android and you should be in the same place.

      • clamarine8606 says:

        the closest thing to “ProgramData” my computer has in that folder is “Program Files 9×86)” and there IS a “Bluestacks” folder in there, but all it has is pictures of various logos used in the app.

        I’m using Windows 8

        • clamarine8606 says:

          “Program Files (x86)”

        • nathan says:

          Try clicking on the start menu and in the text box where you can type to search for programs type %ProgramData% and hit enter.

          • clamarine8606 says:

            I did that before. There is nothing even close to that on my computer. I can’t find how to access data for ANYTHING on windows 8. Everything is “apps” instead of “programs”

        • printworx says:

          Hi clamarine8606

          The ProgramData folder is a hidden folder. You will need to click on “View” and select the “Hidden Items” Checkbox.

          The ProgramData folder will now be visible.

  4. casualtendencies says:

    Hello. I find this information valuable and started to go through your steps. I ran into an issue with rename file folder data1.sparsefs. It said it was unable to the folder or file was open in another program. I logged off the computer and logged back on. Still same error. I realized it was still a running process so I used msconfig to stop any process from loading other than what i selected. Same error. I did go into properties and copy the file from “Previous versions”. I copied the “copied” files into the folder you said to label data1.sparsefs. Will anything go wrong doing it this way? There are two files in data.sparsefs. “Map” and “Store”. The original “Store” was 589,000 KB. The copy is over 700,000. Is there a way to just rename the original data.sparsefs without all this mess?

    • nathan says:

      You can copy the folder and then rename the copy. You will then need to delete the original data.sparsefs folder. You can also stop BlueStacks by finding its icon in the system tray and right-clicking it and choosing exit. Then you should be able to rename or delete the folder.

  5. Nimadabi says:

    I completed all the steps, but when i run the app a cmd window pops up and i get a BlueStacks error that reads: “This app is not installed. Please install the app and try again.”

  6. huntshaw says:

    Hey so I understand how to do all the stuff, but on the second step I can’t download the app I want without bluestacks telling me I have to set up an account before downloading. What do I need to do to get around this? thanks

    • nathan says:

      You will have to create an account to log into the app store so that you can download your app. It’s the same as if you were trying to download an app on your phone.

      • huntshaw says:

        is there a youtube video for this somewhere? I’m not really sure where I’m going wrong. I re-installed bluestacks and went through the whole process again this time not logging onto my primary account until after making a fresh, local, account not linked to google plus on both 1 and 2 then logged onto my primary account on the 1st file and it still logged onto my primary account on the 2nd file.

      • huntshaw says:

        I re-installed clash and did the process again and think I have it down to the tee, the only problem I have now is that when I try loading the second account it stays on the app loading screen and never pulls off. the first account loads normally. this time I have not linked my primary app account to my first file yet.

    • huntshaw says:

      I logged into my google account anyways to download the app. I followed all your steps but once I launched the second copy of my app it just loaded the first account onto it. Is this because when I opened my first copy I signed into that account? I wanted to make sure it was linking and working correctly. Do I need to wait and set up the second account before I sign into the first one? I’m doing this with Clash of Clans btw thanks.

  7. fakename1979 says:

    After I’m all done I click on the links, and nothing happens except (1) it makes a new data.sparsefs shortcut, and (2) it brings up a small black error square for a tiny fraction of a second, but after a couple hundred looks at it I’m pretty sure it says something about not being able to find anything at that path.
    So I think my target is off.

    I’m also trying to do SWFC. The target path I’m using is:
    %ProgramData%\BlueStacks\Android\LaunchApp.bat 1 jp.konami.swfc jp.konami.swfc.KonamiSplashActivity

    Is that what I should be using?

    I also tried making it more like the original target, just in case, and it still did the same thing:
    ā€œCā€\ProgramData\BlueStacks\Android\LaunchApp.bat” 1 jp.konami.swfc jp.konami.swfc.KonamiSplashActivity

    I also tried it with a downloaded .apk, and it still did the same thing.

    (I made a fake login for this, lest I incur the wrath of any anti-farming game companies.)

    Any advice?

    • nathan says:

      If you know how to open a command prompt you can copy your shortcut and past it into your command prompt and see what the error message is.

      • fakename1979 says:

        The system cannot find the path specified.
        Junction created for C:\ProgramData\BlueStacks\Android\Data.sparsefs <> C:\ProgramData\BlueStacks\Android\Data2.sparsefs
        The system cannot find the path specified.

      • fakename1979 says:

        Any ideas?

      • skywolf says:

        im getting the same problem my friend, command prompt comes up saying it cant find the specified whatever, then it loads and wants me to log in, and it also creates a shortcut for data.sparsefs in the android folder.

        what target did you use for force collection? if i do a space after the number, it does the above, if i do no space, it just gives me a red error box saying that the app is not installed after a brief command prompt window shows. im sure many of us are having this problem and it would be alot of help and much appreciated if you responded to one of us my friend.

        i also am in the group where searching for %ProgramData% does nothing (even using \BlueStacks or \Android) and thus have to search for bluestacks in explorer and open it through the Program Files tree… could you explain how you get it to come up as %ProgramData% since our computers arent doing that automatically? i saw somewhere you said something about a shortcut and am wondering what shortcuts we need to make and where (like make a shortcut of the “android” file to our desktops and work from that?) so just a little clarification would be a big help, as i havent used bluestacks before and havent messed with target editing before. thanks a bunch.

  8. Blargle says:

    Worked like a charm. Thanks!

  9. Putty says:

    It work for me

  10. Putty says:

    Re: “fakename1979” Junction created for C:\ProgramData\BlueStacks\Android\Data.sparsefs C:\ProgramData\BlueStacks\Android\Data2.sparsefs

    Make sure to look at what the original app was pointing to.
    Example: Facebook app
    “C:\Program Files (x86)\BlueStacks\HD-RunApp.exe” Android com.facebook.katana com.facebook.katana.LoginActivity

    Change it to: %ProgramData%\BlueStacks\Android\LaunchApp.bat 2 com.facebook.katana com.facebook.katana.LoginActivity

    Only replace the android with the number and keep the remaining arguments

  11. Putty says:

    Hi Nathan

    Thank you for this article it really help me with the multiple account issue. One question for you.

    Is there any way to run multiple Bluestack at the same time on your PC?

  12. solideagle says:

    hey I followed this thoroughly but i cant seem to run monster warlord on multiple bluestacks. It always opens my previous game and progress somehow. any idea?

    • nathan says:

      It depends on the app you are running…
      You could try opening the second link and uninstalling the program and re-installing it to see if it will let you log in with a different account. Some apps will let you log out or delete user data without uninstalling.

  13. bobbylocks says:


    Thanks so much for the info. Quick questions, would there be away to control all the accounts at the same time, like with a multibox?

    • nathan says:

      I’m not familiar with multibox, but BlueStacks will not run in a virtual machine because it needs a real video card to help it with processing.

  14. Odysseus says:

    I’m having trouble finding the “Andriod” Folder when I go to c:\Program Files(x86)\Bluestacks As someone else said before all there is here is a bunch of icons used by the program. I have also tried viewing all of the hidden files and nothing else appears. I havn’t tried reinstalling yet, should I? I’m running Windows 7 :)

  15. Odysseus says:

    So after some searching I found the Android folder and went through the process, now however, whenever I try to launch the app shortcut I get an error message saying the app has not been installed and to install it and try again. If I go into BlueStack directly though, and launch the app while in Bluestacks, it works fine. (but of course I don’t have different accounts there). What I think may be going on is that I incorrectly entered my target, however I cannot find the issue with it.

    New Target:

    %ProgramData%\BlueStacks\Android\LaunchApp.bat 1 Android com.supercell.clashofclans com.supercell.clashofclans.GameApp

  16. Odysseus says:

    Well after much experimenting I finally figured It out. Sorry for spamming the comments but THANK YOU for developing the .bat file!! Helps tremendously! Cheers :)

    • skywolf says:

      hey my friend, since you took the time to comment, could you possibly let some of us having problems know WHAT the error was that you found and HOW you fixed it? cause im at the same point of not knowing whats wrong with my target (since i dont have the %programdata% thing, i just have the normal program files on the C drive, so im wondering if my target has to reflect that or not, and im assuming you had the same problem and figured out the right way to write the target. thanks for the help man

      –it would have been nice for OP to use SWFC as the example target since thats the game we are all using and the one he used in the example anyways..nobody needs multiple twitter accounts lol we need to farm here–

    • UnyCool says:

      I’m having the same problem as you with my Clash of Clans shortcut!
      The target is %ProgramData%\BlueStacks\Android\LaunchApp.bat 1 com.supercell.clashofclans com.supercell.clashofclans.GameApp ???

      Please tell me how you made it work!

  17. nuroni says:

    i did all the steps but when i click in shortcut 1 or 2… the error message appears “this application is no installed. please install the application and try again.”. what i should do? please help me mr programmer.
    (i want to use Jungle Heat game with two accounts)

  18. andrewg says:

    Hi there, can somebody offer a step by step guide to get this working on clash of clans for two accounts?

    I have mangaged to duplicate the folders. I think i am struggling with the batch file as something flashes up and then goes when running the made up shortcuts.

    I have windows 7 32 bit.

    I have c:\programdata\bluestacks\android\data1.sparsefs
    I have c:\programdata\bluestacks\android\data2.sparsefs

    c:\programdata\bluestacks\userdata\library\my aps – and created two extra clash of clans shortcuts.

    in those two I have tried in each one:-

    %ProgramData%\BlueStacks\Android\LaunchApp.bat 1 com.supercell.clashofclans com.supercell.clashofclans.GameApp

    %ProgramData%\BlueStacks\Android\LaunchApp.bat 2 com.supercell.clashofclans com.supercell.clashofclans.GameApp

    I also have the file in:-

  19. KuroNeko says:

    guys i have a problem, somehow it doesn’t work can someone explain what i do wrong ?

    i did what the gui says but somehow when i load 2-5 the game crashes and it return into bluestacks homescreen