Far Cry Primal

Far Cry Primal

查看统计:
PspStreet51 2018 年 1 月 29 日 下午 6:05
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).
最后由 PspStreet51 编辑于; 2018 年 1 月 31 日 下午 1:45
< >
正在显示第 1 - 13 条,共 13 条留言
Raz 2018 年 1 月 29 日 下午 9: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
最后由 Raz 编辑于; 2018 年 1 月 29 日 下午 9:39
RyanBurnsRed 2018 年 1 月 30 日 下午 2:54 
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 2018 年 1 月 31 日 下午 12:59 
引用自 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 2018 年 1 月 31 日 下午 1:11 
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 2019 年 5 月 5 日 下午 12:30 
Tried this today and it worked perfectly. Thanks much!
Bobby Digital 2019 年 7 月 22 日 下午 12:59 
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!
最后由 Bobby Digital 编辑于; 2019 年 7 月 22 日 下午 1:04
SkepticJoker 2020 年 4 月 30 日 上午 1:57 
This fix worked for me, thank you.
Griever 2020 年 7 月 16 日 下午 1:59 
works like a charm in 2020; thank you!
Pherros 2020 年 10 月 28 日 下午 11:30 
引用自 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...
最后由 Pherros 编辑于; 2020 年 10 月 28 日 下午 11:30
Huperspace 2020 年 10 月 29 日 上午 12:44 
or shut down the UAC promps in WIndows settings.
Pherros 2020 年 11 月 7 日 上午 12:22 
引用自 Pherr0s
引用自 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 2020 年 11 月 24 日 上午 10:13 
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 1 月 7 日 下午 7:59 
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.
最后由 jer3k 编辑于; 1 月 7 日 下午 8:03
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50

发帖日期: 2018 年 1 月 29 日 下午 6:05
回复数: 13