Sid Meier's Civilization: Beyond Earth

Sid Meier's Civilization: Beyond Earth

View Stats:
Patrick Oct 29, 2014 @ 1:01am
Solved: SHGetKnownFolderPath failed
Previous thread. http://steamcommunity.com/app/65980/discussions/0/619569341077599387/#p3

It turns out the error is caused by the game performing an illegal operation by overwriting the Documents folder desktop.ini.
If the game can't modify the desktop.ini, may it because it's write protected or Windows UAC prevent access, the game will crash upon launch with the "SHGetKnownFolderPath failed".

Possible solutions:

Remove a possible write protection from the Documents folder desktop.ini.

Delete the desktop.ini. The game/Windows will create a new one.

Ensure the game access has sufficient UAC access, or turn off UAC (only recommend if you're an experienced user.)

Wait for the patch.

Notice the desktop.ini is a hidden system file. You must first turn off the visibility of hidden files to see it.

http://windows.microsoft.com/en-us/windows/show-hidden-files
Follow these steps to display hidden files and folders.

Open Folder Options by clicking the Start button , clicking Control Panel, clicking Appearance and Personalization, and then clicking Folder Options.
Click the View tab.
Under Advanced settings, click Show hidden files and folders, and then click OK.

http://windows.microsoft.com/en-us/windows-vista/change-a-read-only-file
Remove write protection from a file

Find the file you want to edit.
Right-click the file, and then click Properties.
Click the General tab, clear the Read-only check box, and then click OK.

http://windows.microsoft.com/en-us/windows/turn-user-account-control-on-off
To turn UAC on or off

Open User Account Control Settings by clicking the Start button , and then clicking Control Panel. In the search box, type uac, and then click Change User Account Control settings.
Do one of the following: To turn off UAC, move the slider to the Never notify position, and then click OK.
Last edited by Patrick; Oct 29, 2014 @ 1:18am
< >
Showing 1-1 of 1 comments
Ahonir Nov 19, 2014 @ 10:30pm 
There is no write protection set.

For me the solution is: Replace the desktop.ini file by an older version which is not already modified by the game. This needs to be done before each start of the game.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Oct 29, 2014 @ 1:01am
Posts: 1