Once Human

Once Human

Dieses Thema wurde geschlossen
ScuffedOni 9. Juli 2024 um 19:39
How to run this without elevated permissions
Step-by-Step

Here’s how you would execute these steps:

Open Command Prompt:

Press Windows + R, type cmd, and press Enter.

Change Directory:

Type the following command and press Enter:

cd /d "whatever your path is to the game folder"

Run the Command:

Finally, execute the full command to set the compatibility layer and run the application:

cmd.exe /c "set __COMPAT_LAYER=RunAsInvoker && ONCE_HUMAN.exe --start_from_launcher=1"

This will run ONCE_HUMAN.exe located in your install folder without requesting elevated (administrator) privileges.

Do this every time that you run the game.
Zuletzt bearbeitet von ScuffedOni; 9. Juli 2024 um 19:40
< >
Beiträge 1630 von 40
ZULQR9 11. Juli 2024 um 10:01 
this fixed my stutter issues at very well as well! I have a 5700x, 3070ti, 48 gigs RAM setup and was lagging like hell. How to turn this to a bat file? Thanks! ^_^
Ursprünglich geschrieben von ScuffedOni:
Step-by-Step

Here’s how you would execute these steps:

Open Command Prompt:

Press Windows + R, type cmd, and press Enter.

Change Directory:

Type the following command and press Enter:

cd /d "whatever your path is to the game folder"

Run the Command:

Finally, execute the full command to set the compatibility layer and run the application:

cmd.exe /c "set __COMPAT_LAYER=RunAsInvoker && ONCE_HUMAN.exe --start_from_launcher=1"

This will run ONCE_HUMAN.exe located in your install folder without requesting elevated (administrator) privileges.

Do this every time that you run the game.
dont help. any ways game run as admin.
use remote desktop to run from cmd
use remote play to connect to game and see you cant control becouse game run as admin
Ursprünglich geschrieben von DarkGaterau:
Ursprünglich geschrieben von ScuffedOni:
Step-by-Step

Here’s how you would execute these steps:

Open Command Prompt:

Press Windows + R, type cmd, and press Enter.

Change Directory:

Type the following command and press Enter:

cd /d "whatever your path is to the game folder"

Run the Command:

Finally, execute the full command to set the compatibility layer and run the application:

cmd.exe /c "set __COMPAT_LAYER=RunAsInvoker && ONCE_HUMAN.exe --start_from_launcher=1"

This will run ONCE_HUMAN.exe located in your install folder without requesting elevated (administrator) privileges.

Do this every time that you run the game.
dont help. any ways game run as admin.
use remote desktop to run from cmd
use remote play to connect to game and see you cant control becouse game run as admin

That might be a you thing then. It works for everyone else including me.
I don't know why people keep copy pasting this. It DOES NOT BYPASS ELEVATION.
cmd.exe /c "set __COMPAT_LAYER=RunAsInvoker && ONCE_HUMAN.exe --start_from_launcher=1"
let's break this into pieces so you can understand better.
cmd.exe /c
-> opens command prompt, does the following command, closes command prompt
set __COMPAT_LAYER=RunAsInvoker
-> Sets an environment variable to simulate a compatibility layer that runs the application without elevation
ONCE_HUMAN.exe --start_from_launcher=1
-> executes the game with the argument.

Environment variables can affect APPLICATION BEHAVIOR, they cannot OVERRIDE SYSTEM-LEVEL SECURITY SETTINGS.
If the game requires UAC, it will still prompt for confirmation regardless
Even if the command prompt runs with standard user privs, child processes (like the game exe) can inherit elevated permissions from the parent process if it was launched with elevated privs.
So to sum it up, this doesn't change anything and if the game needs privs it would still ask.
That being said, it may work to launch it without asking, but that just means the game doesnt need elevated permissions, or whenever it does (probably for buying stuff idk) it will just ask anyways (this leads me to believe the game doesn't need to be elevated at all or at least not to launch, mine doesn't ask for elevation so I'm not sure how to reproduce this)

super summary:
__COMPAT_LAYER
environment variable does not bypass UAC
UAC behavior depends on the game's requirements and system config
the command does not alter the game's permissions needs.

I'm not sure where this originated from but whoever it originated from does not understand how it works and the people copy pasting it don't know either, so hope this helps. :lovebs:
Zuletzt bearbeitet von ◬ ☥ 𝕄𝕚𝕝𝕜 ☥ ◬; 11. Juli 2024 um 22:44
Ursprünglich geschrieben von ZULQR9:
this fixed my stutter issues at very well as well! I have a 5700x, 3070ti, 48 gigs RAM setup and was lagging like hell. How to turn this to a bat file? Thanks! ^_^
save it in a text file as .bat file extention (instead of .txt)
That being said, maybe you can just turn off launch as admin because it doesn't seem to even need it in the first place.

Anyone having this issue should definitely give the devs feedback they can fix it right up
BD 12. Juli 2024 um 0:13 
Ursprünglich geschrieben von ◬ ☥ 𝕄𝕚𝕝𝕜 ☥ ◬:

I'm not sure where this originated from but whoever it originated from does not understand how it works and the people copy pasting it don't know either, so hope this helps. :lovebs:

I have seen it on stackoverflow and also here https://www.nirsoft.net/articles/run_application_without_elevation.html

Nirsoft(er) is a pretty knowledgabe man so i dont think he just saying some bs?
stooeh 12. Juli 2024 um 0:37 
You can also do this by adding the exe to registry if you don't want to run from a bat file.
For me on Windows 11 you can open the following in regedit (or HKLM instead of HKCU if want to do for all users)

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

and add a string named for path to exe and data as RunAsInvoker

For me it looks like this:

F:\SteamLibrary\steamapps\common\Once Human\ONCE_HUMAN.exe REG_SZ RunAsInvoker
Ursprünglich geschrieben von BD:
Ursprünglich geschrieben von ◬ ☥ 𝕄𝕚𝕝𝕜 ☥ ◬:

I'm not sure where this originated from but whoever it originated from does not understand how it works and the people copy pasting it don't know either, so hope this helps. :lovebs:

I have seen it on stackoverflow and also here https://www.nirsoft.net/articles/run_application_without_elevation.html

Nirsoft(er) is a pretty knowledgabe man so i dont think he just saying some bs?
I didn't say its BS i dont think it is at all it just can't affect system level security which is to say if the game asks for elevation it would just make an elevation request anyways and it also cant pass it down to its children so they would be totally unaffected by this at all

I requested clarification from Nirsoft, so maybe I will learn something. The way its laid out clearly works, but it doesn't actually change permission levels at a security level so Idon't understand why, and as well, the program wanting elevation could just ask again, and it would do the UAC prompt anyways.

That being said, I know its hard to parse but I do think this works on the launch specifically, how ever if the program needed advanced rights, it would just ask again so if they do want it to have admin rights, they would "fix" the game to just ask again, furthermore it cannot pass to children (elevation) so it wouldn't affect anything spawned after the launcher (like once_human.exe).

I think it wouldn't work if the game really needed the permissions, is what I'm trying to say in summary
Zuletzt bearbeitet von ◬ ☥ 𝕄𝕚𝕝𝕜 ☥ ◬; 12. Juli 2024 um 0:48
stooeh 12. Juli 2024 um 1:22 
Ursprünglich geschrieben von ◬ ☥ 𝕄𝕚𝕝𝕜 ☥ ◬:
I think it wouldn't work if the game really needed the permissions, is what I'm trying to say in summary

If the game doesn't actually need the permissions (which appears to be the case) then it shouldn't have its manifest set to request them imo.
Zuletzt bearbeitet von stooeh; 12. Juli 2024 um 1:22
Mr Snrub 12. Juli 2024 um 11:44 
Ursprünglich geschrieben von stooeh:
You can also do this by adding the exe to registry if you don't want to run from a bat file.
For me on Windows 11 you can open the following in regedit (or HKLM instead of HKCU if want to do for all users)

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

and add a string named for path to exe and data as RunAsInvoker

For me it looks like this:

F:\SteamLibrary\steamapps\common\Once Human\ONCE_HUMAN.exe REG_SZ RunAsInvoker
I like this solution even better, though only the HKCU path worked on my Windows 11 machine.

For all 4 of my gaming rigs this (and the other solutions) solved the problem when logging on as a standard user and the game sticking at "Verifying game files (0%)", even when using "run as" and launching using my admin account.
So I have a slight improvement to the process... working for me at least.

Save the command (reposted here):
cmd.exe /c "set __COMPAT_LAYER=RunAsInvoker && ONCE_HUMAN.exe --start_from_launcher=1"

into a bat file in the game directory, as others have suggested. I named it ONCE_HUMAN_USER.bat

Then simply change the game's launch arguments in steam to:
ONCE_HUMAN_USER.bat %command%

This way you can launch the game normally from steam. An additional cmd window will pop up, which you can ignore.

As Milk correctly mentioned, this does not bypass or change any aspects of windows security. It's working for me right now, but I think the game will still elevate itself when it has updates. If you have disabled UAC prompts (not something I'd recommend), then you might not notice if the game does still elevate itself. And I can't test on windows 11 cuz I ain't touching that.

There's nothing magic about this compared to the previous solutions... I'm suggesting this because it's convenient (at least for me... I prefer this solution to registry editing). I of course agree with the comments that this is a mistake on the part of the developer, who should not make their game ask for admin permissions except when they are needed.

To those calling people paranoid... chill. While I don't think Once Human is doing anything deliberately malicious, it is bad security practice to have online games running as administrator, and it is doubly bad when you start having to run *other* programs as admin (like discord or OBS) because of it. If you want to take unnecessary risks, go for it, but don't make fun of people who put some minimal effort into security.
Zuletzt bearbeitet von capitalthree; 13. Juli 2024 um 4:23
Boss 13. Juli 2024 um 4:54 
Ursprünglich geschrieben von SilvaBlad3:
i dont care. Weirdos like you so paranoid. I don't even know why you bother going on the internet. lol
Absolutely ridiculous take. Companies have taken liberties with our data, we can certainly get it back.

And this game pushed far too many lines.
Given the fact that people were disputing the command line did anything, I did some digging to find out what could be determine if the program was as admin or not (both before and after).

Installing the program Process Explorer (from Microsoft, should be easy to find), and adding the 'Integrity' category (right-click the header, select 'Select Columns...', and then 'Integrity Level' which was about two-thirds down on the right side for me) seems to do the trick.
Before I ran the command line, Once Human a) caused Discord to come up with a prompt mentioning it required admin privs to use push-to-talk, 2) was preventing my capture software from detecting the game, and III) was very clearly labeled as "High" in the Integrity column.
After the command prompt, the streaming software is detecting it and it is showing up as "Medium", which (as far as I know) is 'normal' user privileges.
Indeed. If a simple command could cause the process to elevate to admin without a UAC prompt, then all malware would do so, and UAC would be useless.
Jisa 13. Juli 2024 um 18:23 
Ursprünglich geschrieben von Djozar:
You had to have admin rights enabled to play? Huh... It's nice to just push play.
They need the admin rights to get some of the personal information on your computer. It's nothing surprising.
< >
Beiträge 1630 von 40
Pro Seite: 1530 50