Far Cry Primal

Far Cry Primal

View Stats:
PspStreet51 Jan 29, 2018 @ 6:05pm
Fix for Windows UAC prompt every time that you launch the game
I don't found any thread like this that are recent, so i decided to place here what i made to fix this annoy thing (Windows UAC is that prompt who asks about the administrator permission).

First, look the "installscript_log.txt" that should be in here "C:\Program Files (x86)\Steam\logs". If you get something like

"[2018-01-29 15:00:36] [AppID 371660] Failed to start SteamService with "/installscript "A:\SteamLibrary\steamapps\common\Far Cry Primal\runasadmin.vdf" 371660" (GLE 86)"

Well, the reason for this is very simple, an installscript called "WW.vdf" is referencing some "ghost values" on your Windows registry.
Press Windows key + R and type "regedit" to open Registry editor, and go for

"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Valve\Steam\Apps\371660"

Now, create two DWORD values, "microsoft .net4" and "vcredist 2012" (both with 1 value)
Done!

EDIT 1: I saw that some people are getting this wrong, so let me explain how installscripts works:
Basically, they are the instructions to install other required components (like a specific directX version, EasyAntiCheat, Uplay Laucher, etc) that is executed by Steam service.
So each game has it own installscript file made by his developer. Also, they can use Windows registry to store information about those components, mostly is if they are installed or not (0 - not installed | 1 - installed).
Last edited by PspStreet51; Jan 31, 2018 @ 1:45pm
< >
Showing 1-13 of 13 comments
Raz Jan 29, 2018 @ 9:30pm 
Or don't install steam in the Program files directory.

Give steam its own directory (or even its own hard drive)
example
C:\Steam

UAC problems fixed
Last edited by Raz; Jan 29, 2018 @ 9:39pm
RyanBurnsRed Jan 30, 2018 @ 2:54pm 
My installscript_log.txt didn't have this game list there but I tried your fix anyway and it worked!
Thanks for the super helpful info! And furthermore I don't have Steam installed on my C drive at all, so thanks again.
PspStreet51 Jan 31, 2018 @ 12:59pm 
Originally posted by RyanBurnsRed:
My installscript_log.txt didn't have this game list there but I tried your fix anyway and it worked!
Thanks for the super helpful info! And furthermore I don't have Steam installed on my C drive at all, so thanks again.

This UAC problem its caused because Ubisoft made a mistake somewhere in the installscripts of this game that don't create those registry keys, so Steam service thinks that the game wasn't properly installed, and thats why he ask administrator permission every time to run a script that doesn't exist more (the "runasadmin.vdf" script, that is deleted after Steam install the game).
So basically, no matters where you install Steam, it's an issue of Steam's version of the game.
Zombits Jan 31, 2018 @ 1:11pm 
This not a steam problem, its the only game i see this permission pop up in my library... will check your registry fix, thx op
GrimmReeper May 5, 2019 @ 12:30pm 
Tried this today and it worked perfectly. Thanks much!
Bobby Digital Jul 22, 2019 @ 12:59pm 
The above workaround is little bit to static for in this case FarCry. Other games could base on vcredist 2015 or what ever. Necessary processes should make their work without asking or beeing blocked. UAC Disable is not a solution. UAC is very useful and should never be disabled.

Ok guys i tried hard with this since 1 hour. Solution for i.e. Space Junkies as follows:

1. Install Microsoft Application Compatibility Toolkit
2. Install Windows ADK since Windows 10 1903
3. Start compatadmin.exe
(C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Application Compatibility Toolkit\Compatibility Administrator (64-bit))
4. Klick fix Button on top toolbar -> Name = something, Vendor = something, Path = [YOUR STEAM PATH HERE]\SteamLibrary\steamapps\common\SpaceJunkies\Suppor t\UplayPC\UplayInstaller.exe

Repeat step 4 with Steam.exe and maybe upc.exe, UplayService.exe and Uplay.exe in your Ubisoft Game Launcher Installpath.

It works!
Last edited by Bobby Digital; Jul 22, 2019 @ 1:04pm
SkepticJoker Apr 30, 2020 @ 1:57am 
This fix worked for me, thank you.
Griever Jul 16, 2020 @ 1:59pm 
works like a charm in 2020; thank you!
Pherros Oct 28, 2020 @ 11:30pm 
Originally posted by Raz:
Or don't install steam in the Program files directory.

Give steam its own directory (or even its own hard drive)
example
C:\Steam

UAC problems fixed

Thanks,
This appears to have resolved the issue for me.
I do not have the game through steam. But reinstalling Uplay (Ubisoft Connect) into:
{driveletter}:\Ubisoft
appears to stop the UAC popups. Basically, do not install the program within the "Program Files" folders...
Last edited by Pherros; Oct 28, 2020 @ 11:30pm
Huperspace Oct 29, 2020 @ 12:44am 
or shut down the UAC promps in WIndows settings.
Pherros Nov 7, 2020 @ 12:22am 
Originally posted by Pherr0s:
Originally posted by Raz:
Or don't install steam in the Program files directory.

Give steam its own directory (or even its own hard drive)
example
C:\Steam

UAC problems fixed

Thanks,
This appears to have resolved the issue for me.
I do not have the game through steam. But reinstalling Uplay (Ubisoft Connect) into:
{driveletter}:\Ubisoft
appears to stop the UAC popups. Basically, do not install the program within the "Program Files" folders...

Just wanted to give an update to this post. Looks like my workaround does not work anymore. Issue came back.

Annoying as hell.
Wildest Scorers Nov 24, 2020 @ 10:13am 
Fixed by giving my Windows user account "full control" permissions over the Ubisoft Connect folder, which in my case was: C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher
jer3k Jan 7 @ 7:59pm 
I solved this differently. Since steam isn't detecting that these are already installed, this solution removes the commands to install the already-installed components.
(Note: always best to make a copy of the file first.)

  1. Open this file in an editor: \Steam\steamapps\common\Far Cry Primal\WW.vdf
  2. Remove these lines:
    "Microsoft .Net4" { "process 1" "%INSTALLDIR%\\Support\\Software\\Microsoft.NET4\\dotNetFx40_Full_x86_x64.exe" "command 1" "/q" } "Vcredist 2012" { "process 1" "%INSTALLDIR%\\Support\\Software\\Microsoft.NET4\\vcredist_x64.exe" "command 1" "/Q" }
  3. Save the file

This way you don't have to muck about in the registry.
Last edited by jer3k; Jan 7 @ 8:03pm
< >
Showing 1-13 of 13 comments
Per page: 1530 50