• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
FAForever Forums
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

FAF CLIENT ALWAYS AS ADMIN

Scheduled Pinned Locked Moved FAF support (client and account issues)
38 Posts 9 Posters 2.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Azmodeu
    last edited by 11 Jun 2021, 13:43

    Hi i got a message everytime do delete C:\ProgramData\FAForever and dont run it on admin mode.

    BUT im not running it as admin....

    Is there something that i can do to fix this?

    I looked the files and its not on admin mode and deleting the folder do nothing as it just recreate again next login.

    1 Reply Last reply Reply Quote 1
    • S
      Sheikah
      last edited by 11 Jun 2021, 14:30

      Is the account you are running it with an admin account?

      1 Reply Last reply Reply Quote 0
      • A
        Azmodeu
        last edited by 11 Jun 2021, 14:38

        Yes its a admin account

        1 Reply Last reply Reply Quote 0
        • U
          Uveso
          last edited by 11 Jun 2021, 14:40

          Same here. i can't use a not admin account, and have also this nag window

          1 Reply Last reply Reply Quote 0
          • S
            Sheikah
            last edited by 11 Jun 2021, 15:10

            Then yes because it is an admin account you are by default running it in admin mode and that is why you have the window pop up.

            1 Reply Last reply Reply Quote 0
            • A
              Azmodeu
              last edited by 11 Jun 2021, 15:12

              Why? never had that problem with any other program, is there something i can do besides creating another user just for FAF.

              Its strange that im playing with 3 other guys and im the only one getting this error and i didint have it back a year when i last played.

              1 Reply Last reply Reply Quote 0
              • S
                Sheikah
                last edited by 11 Jun 2021, 15:32

                If you are always admin and will have no permissions issues you can just close the window on startup.

                U 1 Reply Last reply 11 Jun 2021, 15:51 Reply Quote 0
                • U
                  Uveso @Sheikah
                  last edited by 11 Jun 2021, 15:51

                  @sheikah said in FAF CLIENT ALWAYS AS ADMIN:

                  you can just close the window on startup

                  But thats not what we want...

                  We want at least a checkbox where we can disable this window.

                  1 Reply Last reply Reply Quote 1
                  • Z
                    ZLO
                    last edited by 11 Jun 2021, 16:45

                    What is difference between running as admin and having admin rights?
                    99% of users use accounts with admin rights, it just FAF does not need them and does not ask for them.
                    But you can still "run as admin" and that will trigger UAC dialog window apper...

                    My suspection is that there is something different with windows install or settings, for example UAC is off or something... not really sure at all...
                    or opposite... if when you run FAF if UAC appears you need to say "no" or turn it off or adjust file settings so it does not run with admin rights

                    (you can force application to run without admin rights even if it wants to, but afaik it needs registy editing, it is not hard i can provide instructions if you need)

                    TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

                    1 Reply Last reply Reply Quote 0
                    • U
                      Uveso
                      last edited by Uveso 6 Nov 2021, 17:37 11 Jun 2021, 17:34

                      @ZLO

                      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.

                      K 1 Reply Last reply 13 Jun 2021, 20:22 Reply Quote 0
                      • K
                        Katharsas
                        last edited by Katharsas 6 Nov 2021, 19:26 11 Jun 2021, 19:25

                        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.

                        U 1 Reply Last reply 11 Jun 2021, 20:14 Reply Quote 0
                        • U
                          Uveso @Katharsas
                          last edited by 11 Jun 2021, 20:14

                          @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.
                          1 Reply Last reply Reply Quote 0
                          • A
                            Azmodeu
                            last edited by 11 Jun 2021, 20:56

                            I Disabled UAC years ago XD

                            S 1 Reply Last reply 12 Jun 2021, 09:25 Reply Quote 0
                            • Z
                              Zokora
                              last edited by 11 Jun 2021, 23:58

                              That window is quite annoying and should be purged. Give us an option to do it, please.

                              1 Reply Last reply Reply Quote 0
                              • A
                                Askaholic
                                last edited by 12 Jun 2021, 01:25

                                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.

                                1 Reply Last reply Reply Quote 1
                                • S
                                  Sheeo @Azmodeu
                                  last edited by 12 Jun 2021, 09:25

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    left_boy
                                    last edited by 12 Jun 2021, 12:10

                                    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

                                    Soon™️

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      left_boy
                                      last edited by 12 Jun 2021, 12:13

                                      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

                                      Soon™️

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        left_boy
                                        last edited by 12 Jun 2021, 12:15

                                        https://github.com/FAForever/downlords-faf-client/blob/cf2a14238666e2afa8537c8563423227fa34b3e7/src/main/java/com/faforever/client/util/WindowsUtil.java#L8

                                        Should this function falsebly return that you are an admin I am more than welcome to change it

                                        Soon™️

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          left_boy
                                          last edited by 12 Jun 2021, 12:19

                                          Seems like cals what we are using is deprecated

                                          Soon™️

                                          1 Reply Last reply Reply Quote 0
                                          8 out of 38
                                          • First post
                                            8/38
                                            Last post