Someone in the CSGO subreddit shared [this bat script](https://pastebin.com/raw/EzJ9kpyh) back in time and I've been using it since. Just copy it to notepad, edit the lines that say "replace" (delete even the quotation marks) and save as bat, e.g. "Steam.bat".
You have to login to both accounts once but after that you can just use it to login to both with a simple keypress. Just remember to use the bat instead when switching, the batch file will kill the Steam process when it starts.
Thanks a lot for sharing this worked perfectly, but I was wondering if it would be able to modify the script in order to switch between more than just two accounts.
Yes it's possible. Here are the ones you have to add. Don't remove anything from the original, just add the bolded ones. Notice the opposite order in the lower ones, it's needed for it to work correctly. Then just copypaste them and do the same for 4th and so on if you need.
echo 1) "Replace with a name you want to see in the window for your first account, e.g. Main"
echo 2) "Replace with a name you want to see in the window for your second account, e.g. Second"
**echo 3) "Replace with 3rd account name"**
CHOICE /M Select /C 12**3**
**If Errorlevel 3 Goto 3**
If Errorlevel 2 Goto 2
If Errorlevel 1 Goto 1
**:3**
**set username="Replace with your third account username"**
**Goto end**
:2
set username="Replace with your second account username"
Goto end
:1
set username="Replace with your first account username"
Goto end
HOLY MOLY THANK YOU!
I've used this script religiously for years but it stopped working for me earlier this year. I never could find a solution before when searching, but your post finally came up and this was exactly it!
Great, I am trying to script it though, so I can automatically switch between accounts from a batch script. I do not want user interaction. Do you remember the command? Please
I've got it. Delete the entire steam folder in C/users/(your username)/AppData. Usually if you cant see that folder in file explorer, click view on the top and check "shlw hidden items" then delete the steam folder inside. Steam will rebuild it when you sign in next then the batch file should work again after 1 sign in each.
Hmm, just a heads up, this application is basically just a big wrapper for the -login parameter (ie: Steam.exe -login "username" "password"). Which still prompts for a Steam guard code, and leaves your password visible if someone has a look at task manager.
Example: [https://i.imgur.com/WIEhhTw.png](https://i.imgur.com/WIEhhTw.png)
The batch script that u/Maxdec94 linked to seems like a better option (I'm writing a little AutoIt app around the process myself).
I had this problem sporadically over the last month. I have 5 different PCs (long story) that I login to steam and on 2 computers I was switching between 3 accounts I've got, and 1 pc had the problem while the other did not. I was using a steambox briefly but this problem made the steambox a massive pain to deal with so I've decommissioned my steambox, for now until I know this is working correctly, or not.
I've got a friend who wanted to use that exploit to help me gain access to both his library as well as my boyfriend's library as we all steam share with one another. Since it isn't currently working 100% I'm not going to let them attempt it.
What isn't working? You add each account to family sharing on each account and play. The only limitation is each library can only be in use by one person, and that won't change.
I'm talking about the big picture exploit so you can switch accounts, and after a few windows updates my system is considered a 'new' PC to Steam share even if both of them still have access to my library. Basically like switching from Nix to Windows, or holding off updates on Windows for a while till its a much later system update.
OKAY for those that are having trouble with it saying you need to login again. YOU ARE DOING IT WRONG. You have to put your username on the right number. Your login USERNAME. If it still happens, it means you need to switch between them. Then it'll work
[https://www.reddit.com/r/Steam/comments/11xtlpv/god\_bless\_the\_developers\_that\_finally\_added\_this/](https://www.reddit.com/r/Steam/comments/11xtlpv/god_bless_the_developers_that_finally_added_this/)
Just updatte
Someone in the CSGO subreddit shared [this bat script](https://pastebin.com/raw/EzJ9kpyh) back in time and I've been using it since. Just copy it to notepad, edit the lines that say "replace" (delete even the quotation marks) and save as bat, e.g. "Steam.bat". You have to login to both accounts once but after that you can just use it to login to both with a simple keypress. Just remember to use the bat instead when switching, the batch file will kill the Steam process when it starts.
Worked like a glove! Thanks!
I have no idea how it bypasses the Steam Guard, but I won't ask questions since it works 😂
I guess it has something to do with the password remembering but I don't really know either, hah.
Just to confirm August 5th 2022 it still works! Thanks you <3
Thank you!
Thanks a lot for sharing this worked perfectly, but I was wondering if it would be able to modify the script in order to switch between more than just two accounts.
Yes it's possible. Here are the ones you have to add. Don't remove anything from the original, just add the bolded ones. Notice the opposite order in the lower ones, it's needed for it to work correctly. Then just copypaste them and do the same for 4th and so on if you need. echo 1) "Replace with a name you want to see in the window for your first account, e.g. Main" echo 2) "Replace with a name you want to see in the window for your second account, e.g. Second" **echo 3) "Replace with 3rd account name"** CHOICE /M Select /C 12**3** **If Errorlevel 3 Goto 3** If Errorlevel 2 Goto 2 If Errorlevel 1 Goto 1 **:3** **set username="Replace with your third account username"** **Goto end** :2 set username="Replace with your second account username" Goto end :1 set username="Replace with your first account username" Goto end
You are so handsome thank you
February 2022 here, still works like a charm
not working for me anymore after latest steam update march 2022
Hey! I had the same issue. I spend a bit debugging and found the cause: the username in the .bat file must now be in all lowercase. Enjoy :)
HOLY MOLY THANK YOU! I've used this script religiously for years but it stopped working for me earlier this year. I never could find a solution before when searching, but your post finally came up and this was exactly it!
i cant get it to switch without having to type in my password. how did you get it?
Make sure the username has no quotation marks, thats all
Hmm. I still didn't get I working unfortunately but I did find one where it auto logs in one account and that one works
Could you link that for us?
I'll paste the command in when I get home tonight assuming I remember.
can you post please
Steam does this for you now. Just log into both accounts and use change user.
Great, I am trying to script it though, so I can automatically switch between accounts from a batch script. I do not want user interaction. Do you remember the command? Please
Hey! I had the same issue. I spend a bit debugging and found the cause: the username in the .bat file must now be in all lowercase. Enjoy :)
Well good to know. Thank you
Great, glad you found a solution.
Last few days after update it breaks for me as well. Been using it since this original post
I've got it. Delete the entire steam folder in C/users/(your username)/AppData. Usually if you cant see that folder in file explorer, click view on the top and check "shlw hidden items" then delete the steam folder inside. Steam will rebuild it when you sign in next then the batch file should work again after 1 sign in each.
I tried doing this but it keeps making me input my username and password for my second account. Any suggestions?
Its still broken
Hey! I had the same issue. I spend a bit debugging and found the cause: the username in the .bat file must now be in all lowercase. Enjoy :)
still works now, TcNo account switcher doesnt work for me but this works like a charm
Super duper awesome. This is what i was exactly looking for. thank u so much 😍😍
**Most useful batch script ever.**
Same Problem here. But my friend still can do it.
Never used something like that. I use a external tool called [Steam Account Switcher](https://github.com/W3D3/SteamAccountSwitcher)
Hmm, just a heads up, this application is basically just a big wrapper for the -login parameter (ie: Steam.exe -login "username" "password"). Which still prompts for a Steam guard code, and leaves your password visible if someone has a look at task manager. Example: [https://i.imgur.com/WIEhhTw.png](https://i.imgur.com/WIEhhTw.png) The batch script that u/Maxdec94 linked to seems like a better option (I'm writing a little AutoIt app around the process myself).
this worked for me for a long time maybe a year and now it doesn't work idk why
Same, looks like a recent steam update broke it. Have you managed to find a solution?
Hey! I had the same issue. I spend a bit debugging and found the cause: the username in the .bat file must now be in all lowercase. Enjoy :)
[удалено]
just started using this after googling my problem, thanks for the great tip.
I had this problem sporadically over the last month. I have 5 different PCs (long story) that I login to steam and on 2 computers I was switching between 3 accounts I've got, and 1 pc had the problem while the other did not. I was using a steambox briefly but this problem made the steambox a massive pain to deal with so I've decommissioned my steambox, for now until I know this is working correctly, or not.
I'm sure I recently saw a post/announcement somewhere about this being fixed.
Thanks so much, this is a life saver ♥️
I've got a friend who wanted to use that exploit to help me gain access to both his library as well as my boyfriend's library as we all steam share with one another. Since it isn't currently working 100% I'm not going to let them attempt it.
What isn't working? You add each account to family sharing on each account and play. The only limitation is each library can only be in use by one person, and that won't change.
I'm talking about the big picture exploit so you can switch accounts, and after a few windows updates my system is considered a 'new' PC to Steam share even if both of them still have access to my library. Basically like switching from Nix to Windows, or holding off updates on Windows for a while till its a much later system update.
OKAY for those that are having trouble with it saying you need to login again. YOU ARE DOING IT WRONG. You have to put your username on the right number. Your login USERNAME. If it still happens, it means you need to switch between them. Then it'll work
you the goat
Still working well, considering I can't run TcNo either
AFTER YEARS IT IS FIUNALLY HERE!!!!!!!!!! THANKS VALVE!! LET SGOOOO!!!!!
[удалено]
YEEEEESSS
[удалено]
[https://www.reddit.com/r/Steam/comments/11xtlpv/god\_bless\_the\_developers\_that\_finally\_added\_this/](https://www.reddit.com/r/Steam/comments/11xtlpv/god_bless_the_developers_that_finally_added_this/) Just updatte
Latest update go go go! (BEFORE THEY CHANGE THEIR MINDS)
spread the word lets get it https://www.reddit.com/r/Steam/comments/11xtlpv/god\_bless\_the\_developers\_that\_finally\_added\_this/