ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solving poorly programmed app that requires local admin rights

    IT Discussion
    local admin windows 10 admin rights
    11
    26
    4.6k
    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.
    • dafyreD
      dafyre
      last edited by

      Check the Task Manager and see what other processes start when you launch the app, and make sure that all of the processes it starts are included in the "Include" filter in Process Monitor.

      You can also search the list for "Access Denied"

      1 Reply Last reply Reply Quote 1
      • iroalI
        iroal
        last edited by iroal

        For this kind of programs I use runasspc

        http://www.robotronic.de/runasspcEn.html

        It creates an encrypt certificate with the user and password with admin rights to execute the program as Admin.

        It's easy to do.

        DashrenderD 1 Reply Last reply Reply Quote 1
        • DashrenderD
          Dashrender @iroal
          last edited by

          @iroal said in Solving poorly programmed app that requires local admin rights:

          For this kind of programs I use runasspc

          http://www.robotronic.de/runasspcEn.html

          It creates an encrypt certificate with the user and password with admin rights to execute the program as Admin.

          It's easy to do.

          This is a work around I'm currently deploying, but it makes things a real hassle because the application is running as another user, hence my documents, printers, etc are all on another profile, not the user's.

          I really want to solve this in the user's own space.

          iroalI 1 Reply Last reply Reply Quote 1
          • iroalI
            iroal @Dashrender
            last edited by

            @Dashrender said in Solving poorly programmed app that requires local admin rights:

            @iroal said in Solving poorly programmed app that requires local admin rights:

            For this kind of programs I use runasspc

            http://www.robotronic.de/runasspcEn.html

            It creates an encrypt certificate with the user and password with admin rights to execute the program as Admin.

            It's easy to do.

            This is a work around I'm currently deploying, but it makes things a real hassle because the application is running as another user, hence my documents, printers, etc are all on another profile, not the user's.

            I really want to solve this in the user's own space.

            Yes, I know it's a real hassle, but sometimes it's faster create a new profile that use other alternatives like Process Monitor.

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @iroal
              last edited by

              @iroal said in Solving poorly programmed app that requires local admin rights:

              @Dashrender said in Solving poorly programmed app that requires local admin rights:

              @iroal said in Solving poorly programmed app that requires local admin rights:

              For this kind of programs I use runasspc

              http://www.robotronic.de/runasspcEn.html

              It creates an encrypt certificate with the user and password with admin rights to execute the program as Admin.

              It's easy to do.

              This is a work around I'm currently deploying, but it makes things a real hassle because the application is running as another user, hence my documents, printers, etc are all on another profile, not the user's.

              I really want to solve this in the user's own space.

              Yes, I know it's a real hassle, but sometimes it's faster create a new profile that use other alternatives like Process Monitor.

              Well, after already soaking the client for 5-10 hours trying to get it to work the other ways, I did resort to runasspc, but I think it's more because I don't have a good handle on the process of solving the problem.

              1 Reply Last reply Reply Quote 0
              • T
                TAHIN
                last edited by TAHIN

                The Standard Analyzer Tool, part of the Application Compatability Toolkit (ACT) from Microsoft might help. It is designed as an application development tool, but I've heard of people using it to supplement installers to give the application appropriate rights during the install. The end result will be two installers. One for the app, and one for the rights.

                https://technet.microsoft.com/en-us/library/cc838047(v=ws.10).aspx

                I've never tried it - ProcMon/Exp has always given me what I needed for simple apps. So if you do use it, please report back 🙂

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender
                  last edited by

                  LOL even MS has a failout to running as local admin.

                  0_1464020788806_failout.png

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    TAHIN
                    last edited by

                    When I go the manual route, I install to a test machine and log in as a normal user. When the app doesn't launch, I start with broad changes (give rights to the whole program files(x86) directory) then test again. I start at the file level, then move to the registry. Have ProcExp open and look for red/green entries. With ProcMon you can play with 'access denied' filters. After you've opened it up enough to get it to work as a standard user, start locking things down one at time until it breaks again.

                    Like I said, I usually get pretty lucky, ProcExp will launch a process that points right to it.

                    DashrenderD 1 Reply Last reply Reply Quote 0
                    • T
                      TAHIN @Dashrender
                      last edited by

                      @Dashrender

                      @Dashrender said in Solving poorly programmed app that requires local admin rights:

                      LOL even MS has a failout to running as local admin.

                      Yep it looks pretty slick. Reddit is still good for something 😛

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @TAHIN
                        last edited by

                        @TAHIN said in Solving poorly programmed app that requires local admin rights:

                        When I go the manual route, I install to a test machine and log in as a normal user. When the app doesn't launch, I start with broad changes (give rights to the whole program files(x86) directory) then test again. I start at the file level, then move to the registry. Have ProcExp open and look for red/green entries. With ProcMon you can play with 'access denied' filters. After you've opened it up enough to get it to work as a standard user, start locking things down one at time until it breaks again.

                        Like I said, I usually get pretty lucky, ProcExp will launch a process that points right to it.

                        Starting from an Open System and locking it down seems like it would be much more difficult than going the other way.

                        For example, I don't want to give full control access to the entire Programs Files directory. Only the application folder in question.

                        T 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @TAHIN
                          last edited by

                          @TAHIN said in Solving poorly programmed app that requires local admin rights:

                          @Dashrender

                          @Dashrender said in Solving poorly programmed app that requires local admin rights:

                          LOL even MS has a failout to running as local admin.

                          Yep it looks pretty slick. Reddit is still good for something 😛

                          I don't follow?

                          T 1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22
                            last edited by

                            Really good question. I didn't know how to even begin to work out an issue like this. Learned something. Thanks!

                            1 Reply Last reply Reply Quote 0
                            • T
                              TAHIN @Dashrender
                              last edited by TAHIN

                              @Dashrender

                              @Dashrender said in Solving poorly programmed app that requires local admin rights:

                              @TAHIN said in Solving poorly programmed app that requires local admin rights:

                              When I go the manual route, I install to a test machine and log in as a normal user. When the app doesn't launch, I start with broad changes (give rights to the whole program files(x86) directory) then test again. I start at the file level, then move to the registry. Have ProcExp open and look for red/green entries. With ProcMon you can play with 'access denied' filters. After you've opened it up enough to get it to work as a standard user, start locking things down one at time until it breaks again.

                              Like I said, I usually get pretty lucky, ProcExp will launch a process that points right to it.

                              Starting from an Open System and locking it down seems like it would be much more difficult than going the other way.

                              For example, I don't want to give full control access to the entire Programs Files directory. Only the application folder in question.

                              Sometimes it's that easy, but sometimes I have trouble narrowing it down to a specific system component (ie - is it registry, the application directory, something in /Windows, /appdata, etc...). I've found that starting with broad strokes can help narrow it down faster.

                              1 Reply Last reply Reply Quote 0
                              • T
                                TAHIN @Dashrender
                                last edited by

                                @Dashrender

                                I don't follow?

                                I learned about that tool on reddit.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jason Banned
                                  last edited by

                                  depends on the program some we use Process Explorer to find what it's doing

                                  other times we use compatibility toolkit like for UPS worldship

                                  https://community.spiceworks.com/how_to/36348-man-ups-allow-users-to-update

                                  1 Reply Last reply Reply Quote 2
                                  • wrx7mW
                                    wrx7m
                                    last edited by

                                    When I migrated from XP to 7, I ran into issues with programs requiring local admin and rights to run. Specifically, the UPS Worldship updater. I found that using the Microsoft Application Compatibility Toolkit was the answer. You create a small DB that allows you to specify certain executable to run as a local admin without prompting the user to specify admin credentials.

                                    https://msdn.microsoft.com/en-us/library/windows/desktop/dd562082(v=vs.85).aspx

                                    1 Reply Last reply Reply Quote 0
                                    • DashrenderD
                                      Dashrender
                                      last edited by

                                      Thanks to those that mentioned the Application Compatibility Toolkit.

                                      I installed this last night and spent around 4 hours having it create and apply mitigations to my program and it still never worked.

                                      Damn this program is stubborn! This program specifically checks what permission level it has on several processes. If I have time I'll dig out a log and post it.

                                      1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender
                                        last edited by

                                        One of the issues I had with the ACT is that I couldn't save the log files unless I ran ACT as an admin, but this brought along the problem that ACT would only run in privileged mode, which allowed my application to run and ACT to create some additional mitigations, but still not enough to make the program work as a non admin.

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          Alex Sage @Dashrender
                                          last edited by Alex Sage

                                          @Dashrender What about RemoteApp? Would that help at all?

                                          DashrenderD 1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender @Alex Sage
                                            last edited by

                                            @aaronstuder said in Solving poorly programmed app that requires local admin rights:

                                            @Dashrender What about RemoteApp? Would that help at all?

                                            RemoteApp is just the application running on a Terminal Server, right? So that wouldn't help, because I'd still have to have it running as an admin on the TS.

                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post