Can't launch client on Windows 10 [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Can't launch client on Windows 10

Postby DeadMG » 30 Jul 2015, 20:22

I upgraded from Win7 to Win10. Win7 doesn't apply strict permissions to Program Files, but Win10 does. When you try to launch the client, it can't launch because it can't gain write permissions to the log file. You can of course launch the client in admin mode but that shouldn't really be required.

Firstly, I'd argue that the log file is frankly an optional extra that the client should be able to function without.

But secondly, the client should be able to stick it in a temp directory somewhere that is not admin-only, so you can start FAF without administrator permissions.

I would post the log file like the kitty asks but.. well.. given the nature of the issue, I highly doubt that the log file on my disk contains anything relevant.
DeadMG
Crusader
 
Posts: 27
Joined: 09 Aug 2013, 19:58
Has liked: 0 time
Been liked: 0 time
FAF User Name: DeadMG

Re: Can't launch client on Windows 10

Postby nine2 » 31 Jul 2015, 02:14

Log files are written to C:\ProgramData\FAForever\logs which the app should have permission to change
As a temporary measure, log files can be turned off

Are you 100% sure its the log files? Maybe it's not. Maybe post your log file
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Can't launch client on Windows 10

Postby fuzzybum » 31 Jul 2015, 02:42

I too just upgraded to Windows 10 but I get a "can't start direct 3d" error.
Any suggestions on what to try here?
fuzzybum
 
Posts: 1
Joined: 31 Jul 2015, 02:38
Has liked: 0 time
Been liked: 0 time
FAF User Name: fuzzybum

Re: Can't launch client on Windows 10

Postby nine2 » 31 Jul 2015, 04:03

post logs
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Can't launch client on Windows 10  [SOLVED]

Postby Sheeo » 31 Jul 2015, 10:50

DeadMG wrote:I upgraded from Win7 to Win10. Win7 doesn't apply strict permissions to Program Files, but Win10 does. When you try to launch the client, it can't launch because it can't gain write permissions to the log file. You can of course launch the client in admin mode but that shouldn't really be required.


They use the same permission scheme and settings.

The issue is that your new user account doesn't have access to your old acl. I agree we shouldn't be putting logs in programdata / or really any of our data in there, since it requires installer-managed priveleges, which are brittle.

One problem with using $HOME/AppData is that the game can't handle unicode characters in filesystem paths, so that leaves out support for users with such characters.
Support FAF on patreon: https://www.patreon.com/faf?ty=h

Peek at our continued development on github: https://github.com/FAForever
Sheeo
Councillor - Administrative
 
Posts: 1038
Joined: 17 Dec 2013, 18:57
Has liked: 109 times
Been liked: 233 times
FAF User Name: Sheeo

Re: Can't launch client on Windows 10

Postby Cuddles » 31 Jul 2015, 13:15

Mine works fine?

Edit: and i didn't do have to do anything, just launched like I always did.
Turinturambar defended very valiantly
User avatar
Cuddles
Contributor
 
Posts: 692
Joined: 29 Mar 2013, 14:19
Has liked: 132 times
Been liked: 118 times
FAF User Name: Scoot

Re: Can't launch client on Windows 10

Postby HotFog » 31 Jul 2015, 18:56

Well, for those having this problem, the solution is mentioned in the first post!!

I too had this problem and managed to decrypt the first post.

The solution is :
1. Right click on the FAF icon.
2. Click on RUN AS ADMINISTRATOR.

fixes the crash when trying to join games / host games.

ps - you can do a permanent fix by right clicking on FAF icon, click properties, click compatability, click Change settings for all users, Ensure "Run as Administrator" is ticked, click apply then ok. Sorted.

:)
User avatar
HotFog
Crusader
 
Posts: 27
Joined: 23 Jun 2013, 16:11
Has liked: 26 times
Been liked: 4 times
FAF User Name: HotFog

Re: Can't launch client on Windows 10

Postby DeadMG » 31 Jul 2015, 19:16

Who said anything about Program Data? I said Program Files for a reason.

Image
DeadMG
Crusader
 
Posts: 27
Joined: 09 Aug 2013, 19:58
Has liked: 0 time
Been liked: 0 time
FAF User Name: DeadMG

Re: Can't launch client on Windows 10

Postby Sheeo » 01 Aug 2015, 14:06

hotfog wrote:Well, for those having this problem, the solution is mentioned in the first post!!

I too had this problem and managed to decrypt the first post.

The solution is :
1. Right click on the FAF icon.
2. Click on RUN AS ADMINISTRATOR.

fixes the crash when trying to join games / host games.

ps - you can do a permanent fix by right clicking on FAF icon, click properties, click compatability, click Change settings for all users, Ensure "Run as Administrator" is ticked, click apply then ok. Sorted.

:)


I don't recommend running FAF with administrator priveleges. It's not the right fix for the problem.
Support FAF on patreon: https://www.patreon.com/faf?ty=h

Peek at our continued development on github: https://github.com/FAForever
Sheeo
Councillor - Administrative
 
Posts: 1038
Joined: 17 Dec 2013, 18:57
Has liked: 109 times
Been liked: 233 times
FAF User Name: Sheeo

Re: Can't launch client on Windows 10

Postby Deering » 01 Aug 2015, 16:15

What Sheeo said,

DO NOT RUN FAF AS ADMIN.
Deering
Evaluator
 
Posts: 673
Joined: 18 Sep 2013, 11:47
Has liked: 16 times
Been liked: 41 times
FAF User Name: Deering

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest