A CS2 autoexec is a plain-text file of console commands. Put your personal autoexec.cfg in game/csgo/cfg/ and verify that it loads before adding a long configuration.
game/csgo/cfg/ inside that installation.autoexec.cfg.autoexec.cfg.txt.The library root varies. Do not paste an old path that omits game/ or removes spaces from Counter-Strike Global Offensive.
Add echo "CS2 personal autoexec loaded" on its own line. In the CS2 console, use exec autoexec.cfg to test the file. Check the message and any errors. To request it at startup, add +exec autoexec.cfg in Steam’s Launch Options and confirm the intended settings after restarting.
Put one command per line and keep a copy of your previous settings. Confirm names in current settings or a current command reference. Do not copy CS:GO interpolation, update-rate, particle or crosshair strings as guaranteed current CS2 optimizations. A file cannot bypass server-protected settings.
Check the exact extension, the installation you are launching and the folder path. Another config or menu action may overwrite a setting. Removing a line does not always restore the old value already saved by the game; restore that setting explicitly.
See our launch options guide, crosshair guide and performance guide. Reference checked on 6 November 2026: autoexec installation guide.
Place your personal file in game/csgo/cfg inside the CS2 installation reached through Steam’s Browse control.
Create a plain-text file with the exact .cfg extension and put each intended console command on its own line.
Add an echo message, execute the file with exec autoexec.cfg and check the console message and errors.
Add +exec autoexec.cfg to CS2’s Steam Launch Options and verify its effect after restarting.
Check the actual installation folder, file name and extension. autoexec.cfg.txt is not the intended name.
No. Some names and supported behaviours changed. Confirm current commands instead of copying a legacy performance string.
No. A configuration file does not grant control over a matchmaking server.
Not necessarily. The game may have saved the applied value, so restore the original setting explicitly.