Skip to content

Instantly share code, notes, and snippets.

@MoriTanosuke
Last active September 2, 2019 20:20
Show Gist options
  • Save MoriTanosuke/d5e47bd759bf868cecadeea5ae5edb44 to your computer and use it in GitHub Desktop.
Save MoriTanosuke/d5e47bd759bf868cecadeea5ae5edb44 to your computer and use it in GitHub Desktop.
Simple windows batch file for steam multiuser login on the same PC

How to use this file

  • Open the Steam directory, then the config subdirectory. Sort by date modified.
  • For each Steam account:
  • Sign into Steam, saving the login details.
  • Quit Steam.
  • Copy SteamAppData.vdf to SteamAppData_username.vdf (where username is the Windows user name you'll use for that Steam account).
  • Copy the script from this gist to your PC. Add it to all the Autostart folder of all users on your machine.
@echo on
STEAMDIR=C:\Program Files (x86)\Steam
move "%STEAMDIR%\config\SteamAppData.vdf" "%STEAMDIR%\config\SteamAppData_backup.vdf"
copy "%APPDATA%\SteamAppData_%USERNAME%.vdf" "%STEAMDIR%\config\SteamAppData.vdf"
@o0Julia0o
Copy link

there is no SteamAppData.vdf ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment