FAF Client: Nothing works.
-
Hi guys. Am I missing something?
I install and run client...
I click "Log in with browser"...
Client Version: 2024.3.0 java.lang.RuntimeException: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:81) at com.faforever.client.login.OAuthValuesReceiver.readValues(OAuthValuesReceiver.java:81) at com.faforever.client.login.OAuthValuesReceiver.lambda$receiveValues$0(OAuthValuesReceiver.java:53) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at java.base/java.lang.Runtime.exec(Runtime.java:681) at java.base/java.lang.Runtime.exec(Runtime.java:491) at java.base/java.lang.Runtime.exec(Runtime.java:366) at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:68) ... 9 more Caused by: java.io.IOException: CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 14 more
I click "Play Offline"...
Client Version: 2024.3.0 java.io.IOException: Cannot run program "C:\ProgramData\FAForever\bin\ForgedAlliance.exe" (in directory "C:\ProgramData\FAForever\bin"): CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at com.faforever.client.fa.ForgedAllianceLaunchService.launch(ForgedAllianceLaunchService.java:161) at com.faforever.client.fa.ForgedAllianceLaunchService.launchOfflineGame(ForgedAllianceLaunchService.java:49) at com.faforever.client.game.GameRunner.lambda$startOffline$33(GameRunner.java:507) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 11 more
Here is log:
2024-04-17T20:25:24.808+01:00 INFO 44672 --- [FAF Client] [JavaFX-Launcher] c.f.client.logging.LoggingService : Switching FA Forever logging configuration to DEBUG 2024-04-17T20:25:24.816+01:00 DEBUG 44672 --- [FAF Client] [JavaFX-Launcher] c.f.client.logging.LoggingService : Confirming debug logging 2024-04-17T20:25:24.946+01:00 DEBUG 44672 --- [FAF Client] [JavaFX-Launcher] c.f.client.os.FileOpeningHandler : Registering file opening handler: com.faforever.client.os.FileOpeningHandler 2024-04-17T20:25:25.009+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_039 2024-04-17T20:25:25.012+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_038 2024-04-17T20:25:25.014+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_037 2024-04-17T20:25:25.015+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_036 2024-04-17T20:25:25.017+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_035 2024-04-17T20:25:25.018+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_034 2024-04-17T20:25:25.020+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_033 2024-04-17T20:25:25.021+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_032 2024-04-17T20:25:25.022+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_031 2024-04-17T20:25:25.023+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_030 2024-04-17T20:25:25.024+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_029 2024-04-17T20:25:25.025+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_028 2024-04-17T20:25:25.027+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_027 2024-04-17T20:25:25.028+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_026 2024-04-17T20:25:25.029+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_025 2024-04-17T20:25:25.030+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_024 2024-04-17T20:25:25.031+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_023 2024-04-17T20:25:25.032+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_022 2024-04-17T20:25:25.034+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_021 2024-04-17T20:25:25.035+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_020 2024-04-17T20:25:25.036+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_019 2024-04-17T20:25:25.037+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_018 2024-04-17T20:25:25.038+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_017 2024-04-17T20:25:25.039+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_016 2024-04-17T20:25:25.040+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_015 2024-04-17T20:25:25.042+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_014 2024-04-17T20:25:25.043+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_013 2024-04-17T20:25:25.044+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_012 2024-04-17T20:25:25.045+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_011 2024-04-17T20:25:25.045+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_010 2024-04-17T20:25:25.047+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_017 2024-04-17T20:25:25.048+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_014 2024-04-17T20:25:25.049+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_012 2024-04-17T20:25:25.049+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_011 2024-04-17T20:25:25.050+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_010 2024-04-17T20:25:25.051+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_040 2024-04-17T20:25:25.052+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_009 2024-04-17T20:25:25.053+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_008 2024-04-17T20:25:25.054+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_007 2024-04-17T20:25:25.055+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_009 2024-04-17T20:25:25.056+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_008 2024-04-17T20:25:25.057+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_007 2024-04-17T20:25:25.058+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_006 2024-04-17T20:25:25.059+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_005 2024-04-17T20:25:25.060+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_004 2024-04-17T20:25:25.061+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_003 2024-04-17T20:25:25.062+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_002 2024-04-17T20:25:25.063+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\SCMP_001 2024-04-17T20:25:25.063+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_006 2024-04-17T20:25:25.064+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_005 2024-04-17T20:25:25.065+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_004 2024-04-17T20:25:25.066+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_003 2024-04-17T20:25:25.066+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_002 2024-04-17T20:25:25.067+01:00 DEBUG 44672 --- [FAF Client] [pool-3-thread-2] com.faforever.client.map.MapService : Added map from H:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\maps\X1MP_001 2024-04-17T20:25:25.107+01:00 INFO 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-1] c.f.client.game.GamePrefsService : Trying to read preferences file with charset: Big5 2024-04-17T20:25:25.136+01:00 INFO 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-1] c.f.client.game.GamePrefsService : Successfully read preferences file with charset: Big5 2024-04-17T20:25:25.136+01:00 DEBUG 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-1] c.f.client.game.GamePrefsService : game.prefs file already patched to allow multiple instances 2024-04-17T20:25:25.424+01:00 DEBUG 44672 --- [FAF Client] [JavaFX-Launcher] c.f.c.d.DiscordRichPresenceService : Cleared discord rich presence 2024-04-17T20:25:25.425+01:00 DEBUG 44672 --- [FAF Client] [JavaFX-Launcher] c.f.c.d.DiscordRichPresenceService : Cleared discord rich presence 2024-04-17T20:25:25.426+01:00 INFO 44672 --- [FAF Client] [JavaFX-Launcher] c.faforever.client.steam.SteamService : Starting the Steam API 2024-04-17T20:25:25.599+01:00 DEBUG 44672 --- [FAF Client] [JavaFX-Launcher] c.faforever.client.steam.SteamService : Steam API started 2024-04-17T20:25:26.022+01:00 INFO 44672 --- [FAF Client] [JavaFX-Launcher] o.s.boot.SpringApplication : Started application in 6.041 seconds (process running for 6.723) 2024-04-17T20:25:26.040+01:00 INFO 44672 --- [FAF Client] [taskScheduler-1] c.f.client.config.PreferencesConfig : Writing preferences file `%USER_PROFILE%\AppData\Roaming\Forged Alliance Forever\client.prefs` 2024-04-17T20:25:26.079+01:00 DEBUG 44672 --- [FAF Client] [JavaFX-Launcher] c.faforever.client.util.StartupService : Current preferences directory %USER_PROFILE%\AppData\Roaming\Forged Alliance Forever 2024-04-17T20:25:26.338+01:00 INFO 44672 --- [FAF Client] [JavaFX Application Thread] com.faforever.client.update.Version : The current application version is: 2024.3.0 2024-04-17T20:25:26.823+01:00 INFO 44672 --- [FAF Client] [JavaFX Application Thread] c.f.client.update.ClientUpdateService : Current version: 2024.3.0 2024-04-17T20:25:26.827+01:00 INFO 44672 --- [FAF Client] [pool-3-thread-2] c.f.client.update.CheckForUpdateTask : Checking for client update 2024-04-17T20:25:27.217+01:00 INFO 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-1] com.faforever.client.update.Version : fromVersion '2023.12.3' is not newer than toVersion '2024.3'. No update is required. 2024-04-17T20:25:30.424+01:00 INFO 44672 --- [FAF Client] [Discord RPC] c.f.client.discord.DiscordEventHandler : Discord is ready with user 'karbonforms' 2024-04-17T20:26:46.175+01:00 INFO 44672 --- [FAF Client] [JavaFX Application Thread] c.f.c.preferences.PreferencesService : Hash of Supreme Commander.exe in selected User directory: C6783580C0B7A408EC2AD3BFE5EB1FDBEF31A60D92C1007FF9B90C33BB960AA0 2024-04-17T20:26:46.183+01:00 INFO 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-1] c.f.c.fa.ForgedAllianceLaunchService : Starting Forged Alliance with command: [C:\ProgramData\FAForever\bin\ForgedAlliance.exe, /init, init.lua, /nobugreport, /log, %USER_PROFILE%\AppData\Roaming\Forged Alliance Forever\logs\game_0.log] in directory: C:\ProgramData\FAForever\bin 2024-04-17T20:26:46.184+01:00 ERROR 44672 --- [FAF Client] [JavaFX Application Thread] com.faforever.client.game.GameRunner : Launching offline game failed com.faforever.client.game.error.GameLaunchException: Error launching game process at com.faforever.client.fa.ForgedAllianceLaunchService.launch(ForgedAllianceLaunchService.java:163) at com.faforever.client.fa.ForgedAllianceLaunchService.launchOfflineGame(ForgedAllianceLaunchService.java:49) at com.faforever.client.game.GameRunner.lambda$startOffline$33(GameRunner.java:507) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: Cannot run program "C:\ProgramData\FAForever\bin\ForgedAlliance.exe" (in directory "C:\ProgramData\FAForever\bin"): CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at com.faforever.client.fa.ForgedAllianceLaunchService.launch(ForgedAllianceLaunchService.java:161) ... 9 common frames omitted Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 11 common frames omitted 2024-04-17T20:30:26.212+01:00 INFO 44672 --- [FAF Client] [taskScheduler-1] c.f.client.config.PreferencesConfig : Writing preferences file `%USER_PROFILE%\AppData\Roaming\Forged Alliance Forever\client.prefs` 2024-04-17T20:32:52.684+01:00 ERROR 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-4] c.f.client.login.LoginController : Could not log in java.lang.RuntimeException: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:81) at com.faforever.client.login.OAuthValuesReceiver.readValues(OAuthValuesReceiver.java:81) at com.faforever.client.login.OAuthValuesReceiver.lambda$receiveValues$0(OAuthValuesReceiver.java:53) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at java.base/java.lang.Runtime.exec(Runtime.java:681) at java.base/java.lang.Runtime.exec(Runtime.java:491) at java.base/java.lang.Runtime.exec(Runtime.java:366) at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:68) ... 9 common frames omitted Caused by: java.io.IOException: CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 14 common frames omitted 2024-04-17T20:35:26.215+01:00 INFO 44672 --- [FAF Client] [taskScheduler-1] c.f.client.config.PreferencesConfig : Writing preferences file `%USER_PROFILE%\AppData\Roaming\Forged Alliance Forever\client.prefs` 2024-04-17T20:36:24.945+01:00 ERROR 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-5] c.f.client.login.LoginController : Could not log in java.lang.RuntimeException: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:81) at com.faforever.client.login.OAuthValuesReceiver.readValues(OAuthValuesReceiver.java:81) at com.faforever.client.login.OAuthValuesReceiver.lambda$receiveValues$0(OAuthValuesReceiver.java:53) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at java.base/java.lang.Runtime.exec(Runtime.java:681) at java.base/java.lang.Runtime.exec(Runtime.java:491) at java.base/java.lang.Runtime.exec(Runtime.java:366) at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:68) ... 9 common frames omitted Caused by: java.io.IOException: CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 14 common frames omitted 2024-04-17T20:36:33.083+01:00 ERROR 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-5] c.f.client.login.LoginController : Could not log in java.lang.RuntimeException: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:81) at com.faforever.client.login.OAuthValuesReceiver.readValues(OAuthValuesReceiver.java:81) at com.faforever.client.login.OAuthValuesReceiver.lambda$receiveValues$0(OAuthValuesReceiver.java:53) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at java.base/java.lang.Runtime.exec(Runtime.java:681) at java.base/java.lang.Runtime.exec(Runtime.java:491) at java.base/java.lang.Runtime.exec(Runtime.java:366) at com.faforever.client.fx.PlatformService.showDocument(PlatformService.java:68) ... 9 common frames omitted Caused by: java.io.IOException: CreateProcess error=740, The requested operation requires elevation at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 14 common frames omitted 2024-04-17T20:38:07.220+01:00 INFO 44672 --- [FAF Client] [JavaFX Application Thread] c.f.c.preferences.PreferencesService : Hash of Supreme Commander.exe in selected User directory: C6783580C0B7A408EC2AD3BFE5EB1FDBEF31A60D92C1007FF9B90C33BB960AA0 2024-04-17T20:38:07.221+01:00 INFO 44672 --- [FAF Client] [ForkJoinPool.commonPool-worker-6] c.f.c.fa.ForgedAllianceLaunchService : Starting Forged Alliance with command: [C:\ProgramData\FAForever\bin\ForgedAlliance.exe, /init, init.lua, /nobugreport, /log, %USER_PROFILE%\AppData\Roaming\Forged Alliance Forever\logs\game_0.log] in directory: C:\ProgramData\FAForever\bin 2024-04-17T20:38:07.222+01:00 ERROR 44672 --- [FAF Client] [JavaFX Application Thread] com.faforever.client.game.GameRunner : Launching offline game failed com.faforever.client.game.error.GameLaunchException: Error launching game process at com.faforever.client.fa.ForgedAllianceLaunchService.launch(ForgedAllianceLaunchService.java:163) at com.faforever.client.fa.ForgedAllianceLaunchService.launchOfflineGame(ForgedAllianceLaunchService.java:49) at com.faforever.client.game.GameRunner.lambda$startOffline$33(GameRunner.java:507) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.io.IOException: Cannot run program "C:\ProgramData\FAForever\bin\ForgedAlliance.exe" (in directory "C:\ProgramData\FAForever\bin"): CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at com.faforever.client.fa.ForgedAllianceLaunchService.launch(ForgedAllianceLaunchService.java:161) ... 9 common frames omitted Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 11 common frames omitted
-
@karbonforms said in FAF Client: Nothing works.:
The requested operation requires elevation
Looks like a user permission error. Or security software is interfering.
Check the ownership of the files and make sure you can access them.
-
@magge Ownership of which files exactly? It's rundll32.exe trying to open default browser (I assume). I have no security software aside from Defender.
-
I would suggest all files related to the FAF Client. Begin with the whole folder where you installed it.
-
What?
How would file permissions of the "FAF Client" folder affect a running java process's ability to open a browser via rundll32?
There is nothing funky about the files permissions. But to be sure, I set 'Users' and 'SYSTEM' to Full Control. Unsurprisingly made no difference. Also the AppData folder is fully open to all groups as is the ProgramData path.
-
Well, if you are certain, everything is correct. You can try to change your default browser; Maybe it will narrow down the issue.
-
@karbonforms said in FAF Client: Nothing works.:
java.lang.RuntimeException: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation Caused by: java.io.IOException: Cannot run program "rundll32": CreateProcess error=740, The requested operation requires elevation Caused by: java.io.IOException: CreateProcess error=740, The requested operation requires elevation
> java.io.IOException: Cannot run program "C:\ProgramData\FAForever\bin\ForgedAlliance.exe" (in directory "C:\ProgramData\FAForever\bin"): CreateProcess error=2, The system cannot find the file specified > Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
These lines suggest that you have insufficent permissions to run whatever was passed to rundll32, I'm guessing that's launching the browser
or
You haven't linked the FAF binary correctly.