Don't Starve Together

Don't Starve Together

Unable to write config directory
Hey guys!
I bought and downloaded DST for the first but if I want to open and play it, it keeps on saying "Unable to write config directory. Please make sure you have permissions to you Klei save folder". I tried making my user account to run as an administrator and even tried making an "Everyone" run as an administrator. I am out of choices to do. Really would appreciate the help.
< >
Showing 1-2 of 2 comments
drinkmetogrow Jan 28, 2021 @ 8:05pm 
Please make sure you have permissions for your Klei save folder."

Generally, this error message shows up because something on the computer is blocking the game (or the Steam client) from being able to read/write/access your hard drive, specifically the Documents folder Documents\Klei\DoNotStarveTogether\ where important game save and server files are located.

IMPORTANT: Before doing any of the troubleshooting steps listed below, please ensure that your Windows user account profile has the proper administrative privilege/permissions to run programs, create and save/overwrite files on your hard drive.

1) Run the Steam client as an Administrator
- Fully close out of Steam and restart your computer.
- After restarting your computer, right-click on the Steam icon > select "Run as Administrator"
- If that does not work, go to step #2.

2) Run Don't Starve Together as an Administrator
- Run Don't Starve Together dontstarve_steam.exe as an administrator in your game folders (Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe)
- Right-click on it and select "Run as Administrator"

If Steps #1 and Step #2 do not help with the issue, try Step #3, #4, and #5 and these should be able to help resolve the issue.

3) Check your Anti-virus, anti-malware, Firewall, and security settings
- Depending on your firewall, security, and antivirus settings, occasionally it may block a program that you want to access. Ensure that your firewall, security settings, and other antivirus software is allowing the game to do so. You can find more information here: https://support.steampowered.com/kb_article.php?ref=9828-SFLZ-9289

- You can also ensure that Don't Starve Together and your Steam client have both been added to your security software's allowed/trusted programs list.

4) Check for any conflicting 3rd-party software
- Pop-up blockers, ad-blockers, and other types of software running in the background can sometimes cause problems. Turn off anything you have running in the background then try running the game again.

5) Check to see if there are any new updates for your Windows operating system
- Ensure that your Windows operating system has been updated to the latest version: https://support.microsoft.com/en-ca/help/4027667/windows-10-update

If all of the above troubleshooting steps fail, try creating another save directory, separate from your current one (say somewhere else such as c:\DontStarveTogether) and then launch the game with that as the save directory:

- In steam right-click the game in your library
- Select ‘properties’
- Click ‘Set launch options’
- Enter ‘-persistent_storage_root c:\DontStarveTogether’ (without the quotes)
- Close dialog.
- And the next one
- Launch the game.

Should you continue to encounter the issue, please post your issue as well as your log.txt file in our Don't Starve Together Bug Tracker.

*source:
https://support.klei.com/hc/en-us/articles/360029882171-Getting-a-Unable-to-write-to-config-directory-Error-Message#:~:text=%20Getting%20a%20%22Unable%20to%20write%20to%20config,your%20Anti-virus,%20anti-malware,%20Firewall,%20and%20security...%20More
kubuleczek Mar 28, 2024 @ 12:24pm 
Upper solution didn't work, but this helped:
https://www.reddit.com/r/dontstarve/comments/j78luj/i_had_trouble_opening_dst_with_unable_to_write_to/

In steam right-click the game in your library

Select ‘properties’

Click ‘Set launch options’

Enter ‘-persistent_storage_root c:\DontStarveTogether’ (without the quotes)

Close dialog.

Launch the game.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 28, 2021 @ 6:25pm
Posts: 2