How to clear favorite servers in Killing Floor
A guide for a regular player. Nothing complicated: close the game, make a backup, clear the list, open the game and check.
What gets deleted
Only the servers in the Favorites list are deleted.
These are not touched:
- characters;
- perks;
- graphics settings;
- maps;
- mods;
- saved game files.
The easiest way
Works if Killing Floor is installed here:
D:\games\SteamLibrary\steamapps\common\KillingFloor
- Close Killing Floor.
- Press
Win + X. - Choose
TerminalorWindows PowerShell. - Copy the whole command below.
- Paste it into the PowerShell window.
- Press
Enter.
$ini = 'D:\games\SteamLibrary\steamapps\common\KillingFloor\System\KillingFloor.ini'
$backup = "$ini.bak-favorites-$(Get-Date -Format yyyyMMdd-HHmmss)"
Copy-Item -LiteralPath $ini -Destination $backup
$encoding = [Text.Encoding]::GetEncoding(28591)
$text = $encoding.GetString([IO.File]::ReadAllBytes($ini))
$text = [regex]::Replace($text, '(?ms)^Favorites=.*?(?=^Favorites=|^\[|\z)', '')
[IO.File]::WriteAllBytes($ini, $encoding.GetBytes($text))
"Done. Backup: $backup"
After that open Killing Floor and check:
Multiplayer -> Server Browser -> Favorites
The list should be empty.
Example
Before:
Favorites=(ServerID=0,IP="80.96.59.223",Port=7707,...)
Favorites=(ServerID=0,IP="46.4.12.165",Port=7707,...)
Favorites=(ServerID=0,IP="185.97.253.250",Port=7707,...)
After:
SteamLoginMenuClass=ROInterface.ROSteamLoginPage
[XGame.xDeathMatch]
That is fine: there are no Favorites=... lines between those lines anymore.
If you want to do it manually
- Close Killing Floor.
- Open the file:
D:\games\SteamLibrary\steamapps\common\KillingFloor\System\KillingFloor.ini
- Find the line:
SteamLoginMenuClass=ROInterface.ROSteamLoginPage
- Below it, delete every line that starts with:
Favorites=
- Stop before the line:
[XGame.xDeathMatch]
- Save the file.
Important: some server names look strange and can span several lines. So for the manual way use Notepad++ or another editor that shows line numbers. If you are not sure, use the PowerShell command from the section above.
If the list came back
Sometimes Steam keeps its own separate list of favorite servers. It is shared by the old Steam Server Browser, not only by Killing Floor.
Do this only if the list came back after clearing KillingFloor.ini.
- Close Steam completely.
- Find the Steam icon in the bottom right corner of Windows.
- Right-click it.
- Choose
Exit Steam. - Open PowerShell.
- Paste the command:
$steamUserData = 'C:\Program Files (x86)\Steam\userdata'
$stamp = Get-Date -Format yyyyMMdd-HHmmss
$emptyFavorites = "`"Filters`"`r`n{`r`n`t`"favorites`"`r`n`t{`r`n`t}`r`n}`r`n"
Get-ChildItem -LiteralPath $steamUserData -Directory | ForEach-Object {
$vdf = Join-Path $_.FullName '7\remote\serverbrowser_hist.vdf'
if (Test-Path -LiteralPath $vdf) {
Copy-Item -LiteralPath $vdf -Destination "$vdf.bak-favorites-$stamp"
[IO.File]::WriteAllText($vdf, $emptyFavorites, [Text.Encoding]::ASCII)
"Cleared: $vdf"
}
}
After that start Steam and Killing Floor.
How to undo everything
If something went wrong, the backup sits next to the original file.
For the main Killing Floor file the backup looks roughly like this:
D:\games\SteamLibrary\steamapps\common\KillingFloor\System\KillingFloor.ini.bak-favorites-20260719-153000
To restore it:
- Close Killing Floor.
- Delete the current file:
D:\games\SteamLibrary\steamapps\common\KillingFloor\System\KillingFloor.ini
- Rename the
.bak-favorites-...file back to:
KillingFloor.ini
Frequently asked questions
Do I need to delete the whole System folder?
No. Do not delete the System folder.
Do I need to reinstall the game?
No. Clearing favorite servers does not need a reinstall.
Did the command delete my perks?
No. The command only removes the Favorites=... lines from KillingFloor.ini.
Can I add servers to favorites again?
Yes. Open the server list in the game and add the servers you want with Add to Favorites.