Every CS2 player has their own quirks and unique settings, from custom key binds to unconventional video configurations. Manually adjusting these every time can be tedious. However, using config files, you can automate the process effortlessly. Here’s how to create a CFG file and set up an autoexec function in CS2.

A CS2 autoxec is a config file (CFG) is a set of commands that get “automatically executed” upon startup. It eliminates the need for manually configuring and tweaking every single setting that typically gets reset when the game is closed.
Most players use it to customize their crosshair, ViewModel settings, binds, HUD, and resolutions. However, you can pretty much add any setting/command you like, and it should still work once you launch CS2.

While creating a config file can seem intimidating, it’s actually made just using the built-in Windows notepad app.
Now, it’s time to move the autoexec file to the CS2 install location.

Despite already being in the CFG folder, it won’t automatically launch by itself. For this, you’ll need to:

There you have it, all of the commands you included in your autoexec file should automatically be applied whenever you open CS2.
One of the biggest advantages of config files is their flexibility. They allow players to instantly apply their preferred settings, even when switching between different computers or setups. Plus, you’re not limited to just your own setup. You can simply download and use config files from other players. In fact, if you wanted to, you could grab s1mple’s CFG file and use it as your own.
To do that, you’ll need to:
Note: If you don’t want to use the CFG file as an autoexec, simply leave it in the same folder, then launch CS2. Once in a game, open the console, type in “exec *name*” and press Enter to launch.
Since the config file is made using Notepad or any text editor, we can also use the same applications to customize it. All you have to do is double-click on any CFG file and rewrite, add, or delete any of the commands to your liking. It’s that simple.
Just remember to replace the Steam CS2 Launch Options command if you change the name of an autoexec!
CS2 is one of the best competitive tactical FPS games in the world right now. Most people play the game on PC, but what about those who don’t have PCs? Can they join in on the fun? Well, today, we answer that question. Let’s find out together if CS2 is available to play on Xbox and PS consoles. Get those crosshairs ready, and game on!
So, you're wondering if you can actually play Bitstarz Casino in the USA in 2025? The short answer: yes, you can! This guide will walk you through how to get in on the action, claim some awesome bonuses, and use a VPN to make it all happen.
Sometimes, the intense aim duels and strategic battles across different CS2 maps are too much. After a long day of grinding the ranks, there are times when you just want to chill out and cool down. A lot of players turn to playing CS2 surf maps for this. CS surfing has been a feature since the early days of Counter-Strike. But did it transition along with CS2? Today, we find out everything about surfing in CS2.