@xavo100 Just do double-check that we're in the right place, can you see the relevant settings folders for your other games here? For example there should be an Overwatch folder with Settings and Logs folders.
The command line to launch in Windowed mode changes on each game, and sometimes isn't an option. I've tested some of the standard commands and they haven't worked.
That said, I don't think this is a factor if it's crashing before it writes the settings file. Can you try a repair, just in case the game install didn't work properly? Right-click the game panel to get this option.
Can I also check if you have other Origin games, do these run without issue? If you don't have it already you can grab Mass Effect 2 for free as a test. If you don't have the Data/bandwidth for a large download you don't need to try this bit.
I'd also be interested if there's a report for the game in the Reliability monitor. I suspect not, but it's worth checking.