Far Cry Primal

Far Cry Primal

Näytä tilastot:
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).
Viimeisin muokkaaja on PspStreet51; 31.1.2018 klo 13.45
< >
Näytetään 1-13 / 13 kommentista
Raz 29.1.2018 klo 21.30 
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
Viimeisin muokkaaja on Raz; 29.1.2018 klo 21.39
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.
RyanBurnsRed lähetti viestin:
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.
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
Tried this today and it worked perfectly. Thanks much!
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!
Viimeisin muokkaaja on Bobby Digital; 22.7.2019 klo 13.04
This fix worked for me, thank you.
works like a charm in 2020; thank you!
Pherros 28.10.2020 klo 23.30 
Raz lähetti viestin:
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...
Viimeisin muokkaaja on Pherros; 28.10.2020 klo 23.30
or shut down the UAC promps in WIndows settings.
Pherr0s lähetti viestin:
Raz lähetti viestin:
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.
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
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.
Viimeisin muokkaaja on jer3k; 7.1. klo 20.03
< >
Näytetään 1-13 / 13 kommentista
Sivua kohden: 1530 50