Advertisement
Guest User

GW2 Multi-Account Script

a guest
Feb 12th, 2016
4,780
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.32 KB | None | 0 0
  1. @echo off
  2. rem You need a second user in windows with administration privileges.
  3. rem You need a second copy of guild wars on some storage (preferably a different physical drive than your main copy)
  4. rem When all is setup and you run this script for the first time, it will ask for the PW of this user one time only.
  5. rem Make a shortcut to this batch and set it to always run as administrator, run from there (or run manually as admin).
  6. rem Handle.exe is a microsoft-supported program that you can find easily online, nothing shady.
  7.  
  8. rem  Path to handle.exe  (if there are spaces, escape the " around the folder to \")
  9. set "_handle=C:\\"Program Files (x86)\"\Handle\handle.exe"
  10. rem  Path to second Gw2.exe  (no escapes around spaces necessary)
  11. set "_GW=D:\Guild Wars 2\Gw2.exe"
  12. rem  The second user (with administration privileges)
  13. set "_user=seconduser"
  14. rem  The mail address of your second account.
  15. set "_mail=johndoe@anon.com"
  16. rem  The password of your second account
  17. set "_PW=password123"
  18.  
  19. rem don't change anything from here
  20. for /F "tokens=3,6 delims=: " %%I in ('%_handle% -accepteula -a "AN-Mutex-Window-Guild Wars 2"') do if not "%%J" == "" %_handle% -accepteula -c %%J -y -p %%I
  21.  
  22. rem short delay
  23. ping -n 2 127.0.0.1 > nul
  24.  
  25. runas /savecred /user:%_user% "%_GW% -email %_mail% -password \"%_PW%\" -nopatchui -windowed"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement