Don’t Starve Together players often hit a brick wall when greeted with the "unable to write to config directory" error. This guide breaks down why it happens and how to reclaim your survival adventures.
Why Your Game Can’t Access Configuration Files
The error occurs when Don’t Starve Together (DST) lacks permission to modify files in its save directory. Common culprits include:
- Overprotective antivirus software (especially Avast) quarantining DST’s config files
- Windows Controlled Folder Access blocking writes to the Documents/Klei folder
- Steam/DST running without admin privileges in protected system directories
- Corrupted save files from mod conflicts or failed updates
A Reddit user reported losing 200+ hours of progress when their antivirus silently moved config files to quarantine. Another player’s world disappeared after a game update changed file permissions.
Fixing Write Permissions for Good
Method 1: Nuclear Option – Change the Save Location
The most reliable fix creates a dedicated save folder outside protected system directories:
- Create a new folder (e.g.,
C:\DST_Saves
) - Right-click Don’t Starve Together in Steam > Properties
- In Launch Options, add:
bash -persistent_storage_root "C:\DST_Saves"
- Launch the game – it will generate fresh config files here
Pro Tip: Migrate old saves by copying from Documents/Klei/DoNotStarveTogether
to your new folder.
Method 2: Disable Security Overrides
If changing directories doesn’t work:
Run Steam/DST as administrator
- Right-click Steam shortcut > Run as Administrator
- Navigate to
Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe
and repeat
Whitelist DST in antivirus
- For Avast users: Settings > Protection > Core Shields > Allowed Apps
Disable Controlled Folder Access:
- Windows Security > Virus & Threat Protection > Manage Ransomware Protection
- Turn off Controlled Folder Access
Method 3: Mod Conflict Cleanup
Mods like Global Positions and Extra Equip Slots often break after updates:
- Disable all mods in the DST main menu
- Delete
Documents/Klei/DoNotStarveTogether/modsettings.lua
- Re-enable mods one by one to find the culprit
A player’s server kept crashing because a deprecated backpack mod conflicted with new armor slots. After removing it, their 1,000-day world loaded normally.
When All Else Fails: Nuclear Reinstall
- Back up
Documents/Klei/DoNotStarveTogether
- Uninstall DST via Steam
- Manually delete any remaining files in:
- Steam install folder
- Documents/Klei
- Reinstall and verify integrity via Steam
Always back up your saves before making changes or updates.
Real-World Survival Stories
Case 1: The Phantom Antivirus
A streamer couldn’t host games for weeks until they discovered Avast had moved cluster.ini
to quarantine. Whitelisting DST restored their 10-player server.
Case 2: Update Apocalypse
After a 2023 patch, players using default save locations got locked out. The community-developed -persistent_storage_root
fix became Klei’s recommended solution.
Case 3: Mod Mayhem
A popular modder’s tweak to equip slots corrupted config files for 12% of users. The solution? Delete modsettings.lua
and rebuild the mod list.
Keep Surviving
- Always back up saves before updates/mods
- Use
-persistent_storage_root
for portable installations - Join the Klei forums for real-time help
Final Tip: If you see "dedicated server failed to start" after fixing config errors, disable caves temporarily – they require separate permissions.
Need more help? Check these resources:
- Klei’s Official Troubleshooting Guide
- Steam Community Fix Compendium
Survival isn’t just about braving the wilderness – sometimes it’s about outsmarting error messages. Now get back to keeping those sanity meters full!