Jump to content

"Unable to write to files in the config directory" unfixable by all reccomended courses of action


ChestnutKing
  • Pending

I tried all of the methods recommended on the Klei site, but nothing worked. Only notable change to my PC in recent memory was the removal of OneDrive

client_log.txt DxDiag.txt


Steps to Reproduce

This error pops up when opening the game before reaching the main menu




User Feedback


This is an issue with the removal of OneDrive.

With OneDrive the user data, is stored in a directory like:
C:\Users\YourName\OneDrive\Documents

When you remove OneDrive, although the files may be in this directory:
C:\Users\YourName\Documents

But, windows, some apps and programs still know the old path, so they try to access the wrong path.
(which Klei stores user data in \Documents\Klei\)

The true way to fully fix this is unfortunately to reinstall windows as local account. This way OneDrive does not get used from the beginning. (You can search on youtube: windows 11 local account)

But you can try this as a bandaid fix:
1. In This PC, Right click the Documents folder in File Explorer.
2. Go to Properties > Location tab.
3. Click Restore Default.
(If it did not change to: C:\Users\YourName\Documents , then click Move... and manually locate and select that folder)
4. Click Apply and say Yes to moving files.
5. Restart the PC.

You can find videos about this on youtube for this as well, for example:

 

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...