CS2 Best Launch Options & Autoexec Config Settings
Written by MotionSettings|Published on May 20, 2026

Creating an autoexec config file guarantees that your key bindings, crosshair designs, and console commands load correctly every time you start CS2.
In this guide, we walk you through how to construct an autoexec file and optimize your launch parameters in Steam.
1. Creating Your Autoexec.cfg File
Navigate to the following directory on your system:
...\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
Create a new text document and name it autoexec.cfg (make sure to delete the trailing .txt extension). Open it with a text editor, paste your custom crosshairs and performance commands, and type host_writeconfig on the final line.
2. Essential Console Commands
We recommend adding these parameters to your autoexec configuration:
fps_max 0- Removes the frame rate limit for peak performance.cl_join_advertise 2- Enables friends to join your active lobbies directly.sensitivity 1.5- Keeps your mouse sensitivity setting constant.