Config
How to Install a CS2 Config (CFG)
Install a CS2 config in the correct cfg folder, run it with the exec command and fix couldn't exec or .cfg.txt errors.
How to install a CS2 config
Open Counter-Strike 2's local files through Steam, place the .cfg file in game\csgo\cfg, then run exec followed by the filename in the developer console. For ropz-profile.cfg, enter exec ropz-profile.
Open an unfamiliar CFG in a text editor before using it. It is plain text, but its commands can still replace binds and other game settings.
- Download and read the CFG
Open the file in a plain-text editor. Confirm that it contains readable CS2 commands and keep a backup of any config you may replace.
- Open CS2's local files
In Steam, right-click Counter-Strike 2, choose Manage and Browse local files.
SteamLibraryCounter-Strike 2ManageBrowse local filesRight-click Counter-Strike 2 in your Steam Library, then choose Manage and Browse local files. - Open game\csgo\cfg
Open game, then csgo, then cfg. This is the active CS2 config folder even though the path still uses the old csgo name.
Open this folderCounter-Strike Global OffensivegamecsgocfgThe active CS2 path still contains the folder name csgo. - Copy the file and check its extension
Place the file in the cfg folder and confirm that its full name ends in .cfg rather than .cfg.txt.
ropz-profile.cfgCorrectropz-profile.cfg.txtWrong extensionTurn on File name extensions in Windows so the complete filename is visible. - Run the config in CS2
Enable the developer console, enter exec followed by the filename without .cfg and press Enter.
CS2 developer console> exec ropz-profileEnter exec followed by the filename without the .cfg extension, then press Enter.
exec ropz-profileHow to check that the config loaded
Look at the console immediately after running exec. If no error appears, enter a known command without a new value, such as sensitivity or viewmodel_fov. CS2 will report the current setting.
Compare the visible crosshair, viewmodel and radar with the values on the player profile. DPI, polling rate, video resolution and graphics-driver settings must be applied outside the CFG file.
sensitivityviewmodel_fovFix couldn't exec and other CFG errors
Use the exact console message and the filename shown in Windows to find the cause. Avoid changing unrelated CS2 settings before checking these common problems.
- CS2 says couldn't exec
- Likely cause
The file is in the wrong folder or the name after exec does not match the actual filename.
What to doUse Steam → Manage → Browse local files, open game\csgo\cfg and compare the filename character by character.
- The file ends in .cfg.txt
- Likely cause
Windows hid the final .txt extension when the file was saved.
What to doEnable File name extensions in File Explorer and rename the file so its complete name ends only in .cfg.
- The console shows unknown commands
- Likely cause
The file contains misspelled, outdated or unsupported CS:GO commands.
What to doOpen the CFG in a text editor and remove only the lines CS2 identifies as unknown. Do not download another unreviewed file as a shortcut.
- The file loads but settings do not match
- Likely cause
A later command, another CFG or an autoexec is overwriting values, or the missing setting is controlled outside CS2.
What to doRun the file again after other configs load and check individual values in the console. Apply DPI, monitor and driver settings separately.
What a CS2 config can and cannot change
A CFG can apply supported console values for the crosshair, in-game sensitivity, viewmodel, HUD and radar. It can also contain binds, which is why an unfamiliar file should be inspected before use.
A CFG cannot change mouse DPI, polling rate, monitor controls, NVIDIA or AMD driver settings, or physical equipment. It also cannot guarantee that an outdated CS:GO command still works in CS2.
Use an autoexec only when you need it
A separate player-name.cfg is safer for testing because it runs only when you enter its exec command. If you later want selected values to load at every launch, copy only the commands you understand into your own autoexec.cfg.
Back up an existing autoexec before editing it. Keeping personal binds and communication settings separate from a downloaded player profile makes mistakes easier to reverse.
Frequently asked questions
Where do I put a CS2 config?
Open CS2's local files through Steam and place the .cfg file in Counter-Strike Global Offensive\game\csgo\cfg.
How do I run a CFG file in CS2?
Enable the developer console, open it and enter exec followed by the filename without the .cfg extension, for example exec ropz-profile.
Why does CS2 say couldn't exec my config?
The file is usually in the wrong folder, has a different filename or was saved as .cfg.txt. Verify all three before changing commands.
Does a player config include DPI and NVIDIA settings?
No. DPI, polling rate, monitor settings, video resolution and graphics-driver settings must be applied outside a normal CS2 CFG file.