FAF CLIENT ALWAYS AS ADMIN
-
The problem here was the fact that many users had access permission errors inside the FAForever folder.
Mostly because they tried to start the FAF client as Admin to solve other problems they had.
But running as admin will write pref and config files with admin rights.
If you now run the client as normal windows user you no longer can change these files and you will get
[13]permission errors in java.To prevent users from starting the client as admin when they are normal user is the reason for this nag windows.
But when your system only has a single user with admin rights then this message makes no sense.
i can't run the client as normal user and will never get those permission errors...So for us, this window is just annoying and has no meaning with our window configuration.
The client should look into the windows accounts and only display this message in case there are
admin and user accounts present.
And it should not display it on windows with just 1 user. -
There seem to be a lot of misunderstandings here.
Running the client as admin user does NOT trigger the client warning, or it should not if the client works correctly. The client warning shoud ONLY appear if you run the application "as admin" (UAC). Those are two entirely separate things:
- You can be a non-admin user (no warning)
- You can be admin user (no warning)
- You can be non-admin user but "Run as admin" (UAC execution, warning)
- You can be admin user and "Run as admin" (UAC execution, warning)
If you are simply a admin user, you should get no warning, unless you
- Enabled "Run as Admin" in the shortuct/executable properties
- Disabled UAC entirely
@Azmodeu
Please check if you did one of the things ebove. Your user account type should not play any role here. -
@katharsas said in FAF CLIENT ALWAYS AS ADMIN:
- Disabled UAC entirely
Yes that's it!
- When i have UAC disabled, then the FAF client should respect that and don't check any user account settings.
-
I Disabled UAC years ago XD
-
That window is quite annoying and should be purged. Give us an option to do it, please.
-
Imo being annoying is an important function of that window. If you are doing unsafe things like running apps as admin that have no business being run as admin, then you should be annoyed about it until you wisen up and set up your computer properly. I mean I’m no windows expert for sure, but in general it is much more secure to be running as an unprivileged user and only elevate your privileges in the situations where you actually need admin. Running as the super user all the time is just asking for trouble.
-
@azmodeu said in FAF CLIENT ALWAYS AS ADMIN:
I Disabled UAC years ago XD
This is a fairly important security feature of Windows and you should not be using your operating system in this way unless you know very well what you're doing.
-
I built that window. I would have built an check box sure, BUT I do the check and the warning before ever starting the acctual client programm. Because I wanna avoid doing any operations as an admin. So I can not call any other functionally than I code explitically for that functionallity... and as @Askaholic said just change your system to not run programms with privilidges... it is BAD
-
Well @Azmodeu we are writting a dummy value in the registry so however your system is configured u are doing something wrong. Because this window only pops up if we are able to write/read from the registry
-
Should this function falsebly return that you are an admin I am more than welcome to change it
-
Seems like cals what we are using is deprecated
-
So I take back what I said:
We are not writing registry even tho I think that would also be a way to determine if one has privileges.
We are using cacls.exe to read the permissions of a file we should not be able to read...
https://docs.microsoft.com/de-de/windows-server/administration/windows-commands/cacls
-
If you open Task Manager under details you can click on the table header and select columns(on right click). You can add a column showing you if a process is elevated(Herraufgestuft in German, my windows is in German).
if the client shows as not elevated but shows the warning. We can have you guys type in a commands in a terminal(cmd) and check what commands work better to determine if you are admin.
-
what it should look like -
Heraufgestuft = Elevated
-
Btw if you are not using windows 10 that might be the reason... but I am not sure if I would change it for ppl that are not using a OS with support.
-
@axel12 said in FAF CLIENT ALWAYS AS ADMIN:
Btw if you are not using windows 10 that might be the reason... but I am not sure if I would change it for ppl that are not using a OS with support.
So you are deciding how i have to use my PC ?
This is at least interesting if not outrageous.I stop arguing here since it looks like it depends on your opinion not on support for users.
-
I think it is more that it would be a burden from the development standpoint to try and figure out how to implement detection for a depreciated OS
-
Ehm I offer my help I don't have to capabilities to decide
-
You miss understood me. I offer to fix it if it should be the case that anybody is using windows 10 and the check is broken.