CS2 Autoexec Generator
An autoexec is a text file the game runs at start-up. Choose the sections you want, download the file and load it with one launch option. Nothing here is a CS:GO leftover.
Mouse
Frame rate
Viewmodel
Radar
Audio
Binds
Save
autoexec.cfg
// CS2 autoexec.cfg (esportchronicle.com) // Mouse sensitivity 1 zoom_sensitivity_ratio 1 // Frame rate fps_max 0 fps_max_ui 120 // Viewmodel viewmodel_fov 68 viewmodel_offset_x 2.5 viewmodel_offset_y 0 viewmodel_offset_z -1.5 // Radar cl_radar_scale 0.4 cl_hud_radar_scale 1.1 cl_radar_always_centered 0 cl_radar_rotate 1 // Audio volume 0.4 voice_scale 0.7 snd_roundstart_volume 0 snd_roundend_volume 0 snd_deathcamera_volume 0 snd_tensecondwarning_volume 0.15 // Binds bind "z" "slot6" bind "x" "slot7" bind "c" "slot8" bind "v" "slot9" bind "mouse4" "slot10" bind "mwheeldown" "+jump" echo "autoexec loaded"
How to install it
- Save the file as autoexec.cfg in game/csgo/cfg in your Counter-Strike 2 folder.
- Add
+exec autoexec.cfgto your Steam launch options. The launch options generator writes the line. - Start the game. The last line prints a message in the console so you can see it ran.
CS2 does not run autoexec.cfg by itself, so the launch option matters. If you only want to try it once, type exec autoexec in the console.
What is not in it, on purpose
Old autoexecs set rate, cl_cmdrate, cl_updaterate and cl_interp. Those network commands are gone or read-only in CS2. The old m_rawinput, cl_righthand and net_graph commands are not offered either. Crosshair commands are left out because the crosshair system was rebuilt in September 2026: use the crosshair page.
Checking it ran
The file ends with an echo line, so open the console after start-up and look for "autoexec loaded". If it is missing, the launch option or the file location is wrong. Type a command from the file, such as fps_max, to see its current value.
Several configs, backups and reloading
- Keep a backup. Copy autoexec.cfg somewhere outside the game folder before a Counter-Strike update or a reinstall, so you can put it back.
- Split it into files. Save other files in the same cfg folder, for example binds.cfg or practice.cfg, and call them from autoexec.cfg with
exec binds. A file you do not want in matches can then be left out by deleting one line. - Reload after editing. Type
exec autoexecin the console. You do not need to restart the game. - Order matters. Lines run top to bottom, so a later line wins if two set the same command.
When the autoexec does not load
- Wrong folder. The file must be in game/csgo/cfg, not in the older Counter-Strike: Global Offensive folder.
- No launch option. Without
+exec autoexec.cfgthe game does not run the file by itself. - Hidden extension. Windows can save the file as autoexec.cfg.txt. Turn on file extensions in File Explorer and check.
- A setting reverts. If a value changes back after start-up, another file or the in-game menu may be setting it later. Run the command in the console to see what it is now, and search your other config files for it.
- Unknown command in the console. A line that the game no longer has prints an error and is skipped. The rest of the file still runs.
Crosshair settings live on the crosshair page, which is where to find one to copy. Viewmodel lines come from the viewmodel generator and buy keys from the bind generator.
CS2 autoexec FAQ
Where is the autoexec.cfg file in CS2?
In game/csgo/cfg inside the Counter-Strike 2 install folder. If the file does not exist, make a new text file with that name.
Does CS2 still use autoexec?
Yes, but you have to load it. Add +exec autoexec.cfg to the Steam launch options or run exec autoexec in the console.
What should be in a CS2 autoexec?
Sensitivity, frame rate caps, viewmodel, radar, audio and your binds. Network rate commands from CS:GO are not needed.
Is it allowed in matchmaking and on Faceit?
Yes. Every line here is a normal setting. Practice-only commands are on a separate page.
Can I have more than one autoexec?
You can keep as many cfg files as you like in the cfg folder, but only autoexec.cfg is run by the launch option. Load the others from inside it with exec, or run them by hand from the console.
How do I reload the autoexec without restarting?
Type exec autoexec in the console. The commands run again straight away.
What is zoom_sensitivity_ratio?
A multiplier for your sensitivity while scoped. 1 keeps the same feel as unscoped. It is a setting you tune by feel.