Originally Posted by
Gai-jin
In case anyone else experiences this issue, here's what I was seeing and what I found out was causing the problem:
Starting a couple of weeks ago, every time I launch DDO it seems to have completely reset all options to defaults. Every launch, it detects that the PC supports DirectX11 and asks if I want to use it. The game launches in full screen mode, at a low resolution, regardless of what I had configured previously. I normally use the 64 bit client. I've tried changing, from the launcher options, back to the 32 bit client, but the setting doesn't seem to stick. This is running on Windows 10 x64 v20H2 (Currently an insider build).
It seems to me like it's not reading from, or writing changes to, the userpreferences file. Looking in '%userprofile%\Documents\Dungeons and Dragons Online\' I see userpreferences.ini was last modified on 8/2/2020, which is roughly consistent with the last time the game seemed to work properly. (I can't say exactly what date the issue started. I know I played a few times after that, reapplying my options every time I launched the game, but then last monday we lost power for 5 days, and I'm just now back to trying to play and get it working properly.) I've verified that the userpreferences.ini file is not read only, and that both my user account and System have Full Control rights to the file and parent directory. I've also uninstalled and reinstalled the game, to no avail. The uninstall didn't remove the userpreferences files from my profile. It does look like the file was modified by either the reinstall or subsequent patching, as the modified date has been updated to 8/16 12:07am, but at a glance I don't see anything in the content that changed and when I launch the game it still doesn't seem to read or update the file.
I ended up discovering that Windows "Controlled Folder Access" (a malware/ransomware protection feature) was blocking the ddo apps from writing to the documents folder. Apps are supposed to store their data in the AppData folders, not Documents, so when DDO tries to write to files that are in the Documents folder, it's considered suspicious and Windows blocks those writes. As a workaround, you can designate the required DDO apps as authorized to bypass the Controlled Folder Access feature. (This wouldn't be required if DDO followed best practices and stored these files in AppData instead of Documents. I hope SSG will adopt the recommended practice for where to store such files in the future.)
To see if this is the problem you're having, and to allow DDO to bypass the security feature if necessary, click the start button and then click on the gear icon to open Settings. In the search box at the top of the settings window, search for 'Controlled Folder Access' and select it from the results. Under 'Block History' you can see a list of recent instances where Windows blocked an app from writing to a file in a protected folder. Below the Block History link is another link to 'Allow an app through Controlled Folder Access'. This is where you can designate specific apps/exe files that are allowed to bypass the Controlled Folder Access security feature and write to files in protected folders.
I hope that this information is helpful to others who might be experiencing similar issues now or in the future.
Thanks,
Gai-jin