BETREF$

CS2 Autoexec & Launch Options Generator

Build an autoexec.cfg with your sensitivity, crosshair code, viewmodel, binds and HUD settings, download it, and copy launch options that still work in CS2. Empty fields stay as they are in your game, and every command is checked against the game's own command list.

Best CS2 launch options, in short

+exec autoexec is the only one most players need: it runs your autoexec.cfg every time the game starts. Valve confirms only a few others for CS2 (-joy for controllers, three for players in China, one for Workshop maps). Old CS:GO options like -novid, -tickrate 128 and -high aren't among them. Full list below.

Add useful extras: developer console on, ping and FPS always on screen, packet loss shown only when it's poor.

Quick start
Empty fields stay as they are in your game. Copy your crosshair code in CS2 from Settings > Crosshair/Scopes > Share or Import, or make a crosshair. Converting from another game? Use the sensitivity converter.
Binds optional
Binds that do more than one movement or attack action at once (jump-throw, null binds) don't work in CS2 since 19 August 2024, so we don't make them. Valve made jump throws reliable without a bind: jump, then release the grenade quickly. Jump on the mouse wheel is one action, so it's allowed.
HUD and radar optional
Each setting only goes in the file if you change it from Leave as is.
Game optional
Frame rate and network optional
CS2 no longer lets you set cl_interp directly (Valve, February 2024; it follows cl_net_buffer_ticks) or change fps_max while you're on a server (August 2025), so the autoexec is the place for fps_max.
Your own lines optional

Your autoexec.cfg

This file sets 1 thing, and replaces your current value for each of them every time it runs. Everything else stays as it is.

// autoexec.cfg made with betrefs.gg/cs2-config-generator
// Only the settings you chose are here; everything else stays as it is in your game

// Game
con_enable 1

echo "autoexec.cfg loaded"

Launch options

+exec autoexec

How to use it

  1. Fill in the quick start: your sensitivity, your crosshair share code and, if you want, a viewmodel. Or start from a pro's config.
  2. Open the optional sections for binds, HUD, frame rate and network. Anything left on Leave as is (or empty) isn't written, so your current setting stays.
  3. Download autoexec.cfg and put it in your CS2 cfg folder (the path is below).
  4. Tick +exec autoexec, copy the launch options and paste them into Steam: right-click Counter-Strike 2, Properties, General, Launch Options.
  5. Start CS2 and open the console: "autoexec.cfg loaded" means it worked. Copy the link to share or save your config.

Where to put autoexec.cfg

  1. In Steam, right-click Counter-Strike 2, then Manage, Browse local files. That opens the install folder (by default under C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive).
  2. Open game\csgo\cfg and put autoexec.cfg there. The full path ends in Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg.
  3. Make sure Windows didn't save it as autoexec.cfg.txt: turn on File name extensions in Explorer's View menu to check.
  4. Add +exec autoexec to the launch options so it runs every time the game starts.

Check that it loaded

  • Start CS2, open the console with ~ and look for "autoexec.cfg loaded". No line means the file didn't run.
  • Steam library on another drive? The cfg folder is under that library (for example D:\SteamLibrary\steamapps\common\...), not under C:.
  • The name must be exactly autoexec.cfg. Windows hides extensions by default, so a file made in Notepad is often autoexec.cfg.txt: turn on File name extensions in Explorer's View menu to check.
  • Check the launch options say +exec autoexec (with the +), or type exec autoexec in the console to run it by hand.
  • A setting you change in the menu later is saved by the game, but the autoexec sets it back on the next start. Change it in the file instead, or leave that field empty here.

CS2 launch options Valve has confirmed

OptionWhat it doesSource
+exec autoexecRuns your autoexec.cfg every time the game starts. Anything with a + runs as a console command.Standard console exec command (in the command list)
-joyTurns controller and joystick input back on. CS2 ignores it by default and Valve says it isn't officially supported.Valve, 29 May 2024
-worldwideFor players in China: starts the worldwide version without the launch prompt.Valve, 29 Sep 2023
-perfectworldFor players in China: starts the Perfect World version without the launch prompt.Valve, 29 Sep 2023
-promptperfectworldShows the prompt to choose between the two versions.Valve, 29 Sep 2023
-disable_workshop_command_filteringLets community (Workshop) maps run console commands outside the shorter allowed list Valve added in January 2026. Only for maps you trust.Valve, 30 Jan 2026

Anything that starts with a + runs as a console command when the game loads, so +fps_max 0 works like typing it in the console. Valve noted on 9 November 2023 that some commands given this way wait until the main menu has loaded.

Launch options we leave out

Most launch option lists online are copied from CS:GO. On 2 October 2024 Valve removed support for command line options "intended for development purposes only", and it hasn't listed the usual ones for CS2. We don't add an option unless Valve names it:

  • -novid: skipped an intro video in CS:GO. CS2 doesn't play one.
  • -tickrate 128: CS2 matchmaking uses sub-tick updates, and tick rate is a server setting, not yours.
  • -high, -threads, -freq, -console: not in any CS2 note from Valve. The developer console has a setting (con_enable, in the generator above), and the refresh rate is in the video settings.
  • -insecure: Valve dropped it as a requirement for Workshop maps on Linux on 16 November 2023.

What changed from CS:GO configs

  • Jump-throw, null-bind and other multi-action binds stopped working on 19 August 2024. Single-action binds, like jump on the mouse wheel, still work.
  • cl_interp can't be set since 7 February 2024; the interpolation follows cl_net_buffer_ticks ("Buffering to smooth over packet loss"). Leave it at 0 unless you have packet loss.
  • fps_max can't be changed while you're on a server since 14 August 2025. Set it in the autoexec or the menu.
  • CS:GO's cl_righthand is gone: left hand is cl_prefer_lefthanded 1, and the Couch viewmodel position was removed on 25 April 2024.
  • Crosshair sizes moved to cl_crosshair_length, cl_crosshair_thickness and cl_crosshair_gap in the September 2026 update. Pasting your share code into the generator gives you the current names.

Copy a pro's settings from our CS2 pro settings, find a crosshair in pro crosshair codes, then open a free CS2 case. Buying or selling skins? Compare CS2 trading sites.

Sources: CS2's command list for every command, range and default; Valve's CS2 update notes on Steam (19 Aug 2024 (binds and jump-throws), 2 Oct 2024 (development command line options removed), and the dated notes named above). Checked 16 October 2026.

FAQ

Where do I put autoexec.cfg in CS2?
In the game's cfg folder: Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg. If your Steam library is on another drive, start from that library folder. The game folder is still called Counter-Strike Global Offensive.
How do I make CS2 run my autoexec?
Add +exec autoexec to the launch options (Steam, right-click Counter-Strike 2, Properties, General, Launch Options). You can also run it by hand at any time by typing exec autoexec in the console.
What is an autoexec and do I need one?
A text file of console commands that CS2 runs every time it starts (with +exec autoexec in the launch options), so your settings are set the same way each time. You only need one if your settings keep resetting, you want binds the menu doesn't offer, or you want one file to copy to a new PC.
How do I check that my autoexec works?
Our file ends with echo "autoexec.cfg loaded". Open the console after the game starts: if you see that line, the file ran. If you see nothing, check that the file isn't called autoexec.cfg.txt (turn on file name extensions in Windows Explorer).
Do jump-throw binds work in CS2?
No. Since 19 August 2024, CS2 ignores binds that include more than one movement or attack action, which covers jump-throw and null binds. Valve made jump throws reliable without a bind instead: jump, then release the grenade quickly.
What are the best CS2 launch options?
For most players just +exec autoexec. The launch options Valve has confirmed for CS2 are few: -joy for controllers, -worldwide, -perfectworld and -promptperfectworld for players in China, and -disable_workshop_command_filtering for Workshop maps. Any console command also works with a + in front.
Do -novid, -high and -tickrate 128 still work?
Valve doesn't list any of them for CS2, and on 2 October 2024 it removed command line options that were meant for development only. CS2 has no intro video to skip, and tick rate isn't something a player sets. Leave them out unless you've tested that they change something.

More free tools

All tools →