NB! It seems this console command is not compatible with CS2.
Command Profile

HOST_RESET_CONFIG

CS:GO

This command will reset your host's config. NOTE: You cannot undo the effect of this command, so make sure to save your host's config before using this.

Syntax
host_reset_config

Description

This command will reset your host's config. NOTE: You cannot undo the effect of this command, so make sure to save your host's config before using this.

How To Use host_reset_config

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter host_reset_config, replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

host_reset_config