12 Replies Latest reply on Feb 9, 2016 10:12 AM by CTinat

    The requested operation requires elevation

    Rookie

      I have put together a Distribution Package for an .exe and selected Run as a specified user under the Accounts section. I am a Domain Admin which has administrative rights to all computers on our domain. The scheduled task keeps failing with Result "The requested operation requires elevation.

      Any insight is appreciated.

        • 1. Re: The requested operation requires elevation
          MarXtar ITSMMVPGroup

          Have you tried the package without using the 'Run As'? by default LANDESk will launch the installer as LocalSystem which has local admin rights. You would generally only need to use a different account if the installer needs network rights or it has some specific need to access a user registry hive.

           

          Mark McGinn

          MarXtar Ltd/MarXtar Corporation

          http://landeskone.marxtar.co.uk

          LANDESK One Development Partner

           

          The One-Stop Shop for LANDESK Enhancements

          • 2. Re: The requested operation requires elevation
            Rookie

            Yes, I am using the 'Run As' with my domain login. I am a Domain Administrator.

            • 3. Re: The requested operation requires elevation
              JoeDrwiega SupportEmployee

              Does the Domain Administrator have Local Administrative rights on the device you are trying to run the package?

              • 4. Re: The requested operation requires elevation
                Rookie

                Sorry Mark, I read your question wrong. Yes I have tried Local Administrator account selection.

                • 5. Re: The requested operation requires elevation
                  Rookie

                  Yes, my account has local admin rights on all of our computers.

                  • 6. Re: The requested operation requires elevation
                    JoeDrwiega SupportEmployee

                    Could you post a copy of the log from the device?

                    • 7. Re: The requested operation requires elevation
                      Rookie

                      Argh. Unfortunately, the logs are no longer available. Long story. I've been trying to recreate the problem, but of course, now it's working. Oh well.

                      • 8. Re: The requested operation requires elevation
                        Rookie

                        Ok, I was able to recreate it. Here is the log file:

                        Fri, 05 Feb 2016 10:35:02 ******* sdclient starting to process task *******
                        Fri, 05 Feb 2016 10:35:02 Task id to process: 7852
                        Fri, 05 Feb 2016 10:35:02 Command line: /policyfile="C:\ProgramData\LANDesk\Policies\CP.7852.RunNow._NmC6rXrz9SvVPw83dEqSd66y2JI=.xml"
                        Fri, 05 Feb 2016 10:35:02 The nostatus flag has NOT been set.
                        Fri, 05 Feb 2016 10:35:02 Core name 'S39.int.mycreditunion.com' obtained from active task list
                        Fri, 05 Feb 2016 10:35:02 Sending task status, cmd line -coreandip=S39.int.mycreditunion.com -taskid=7852 -retcode=229392442 -pkgid=5307
                        Fri, 05 Feb 2016 10:35:03 File (\\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe) is cached locally
                        Fri, 05 Feb 2016 10:35:03 The nostatus flag has NOT been set.
                        Fri, 05 Feb 2016 10:35:03 Core name 'S39.int.mycreditunion.com' obtained from active task list
                        Fri, 05 Feb 2016 10:35:03 Sending task status, cmd line -coreandip=S39.int.mycreditunion.com -taskid=7852 -retcode=229392444 -pkgid=5307
                        Fri, 05 Feb 2016 10:35:03 About to call DownloadFiles (1 files) with these settings:
                        Fri, 05 Feb 2016 10:35:03 m_allowedBandwidthWAN: 50
                        Fri, 05 Feb 2016 10:35:03 m_allowedBandwidthLAN: 75
                        Fri, 05 Feb 2016 10:35:03 m_discardPeriodSeconds: 604800
                        Fri, 05 Feb 2016 10:35:03 m_preserveDirectoryStructure: 1
                        Fri, 05 Feb 2016 10:35:03 m_bUseWanBWForPush: 0
                        Fri, 05 Feb 2016 10:35:03 m_bSynchronize: 0
                        Fri, 05 Feb 2016 10:35:03 Allowed download methods(m_downloadControl):
                        Fri, 05 Feb 2016 10:35:03 PeerOneSource
                        Fri, 05 Feb 2016 10:35:03 Peer
                        Fri, 05 Feb 2016 10:35:03 Source
                        Fri, 05 Feb 2016 10:35:03 m_preferredServerControl: AttemptPreferredServer
                        Fri, 05 Feb 2016 10:35:05 The nostatus flag has NOT been set.
                        Fri, 05 Feb 2016 10:35:05 Core name 'S39.int.mycreditunion.com' obtained from active task list
                        Fri, 05 Feb 2016 10:35:05 Sending task status, cmd line -coreandip=S39.int.mycreditunion.com -taskid=7852 -retcode=229392444 "-message=100%" -pkgid=5307
                        Fri, 05 Feb 2016 10:35:06 The nostatus flag has NOT been set.
                        Fri, 05 Feb 2016 10:35:06 Core name 'S39.int.mycreditunion.com' obtained from active task list
                        Fri, 05 Feb 2016 10:35:06 Sending task status, cmd line -coreandip=S39.int.mycreditunion.com -taskid=7852 -retcode=229392258 -pkgid=5307
                        Fri, 05 Feb 2016 10:35:06 ExpandEnvironmentVariables Result: /s /v" /qn"
                        Fri, 05 Feb 2016 10:35:06 LSWD or Executable Client Thread
                        Fri, 05 Feb 2016 10:35:06 PackagePath:  [\\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe]
                        Fri, 05 Feb 2016 10:35:06 Processing generic executable
                        Fri, 05 Feb 2016 10:35:06 LaunchAsSpecifiedUser: no user loged on, set hide to true.
                        Fri, 05 Feb 2016 10:35:07 Failed launch process as user (error 740, 0x000002e4)
                        Fri, 05 Feb 2016 10:35:07 Launched application 'C:\Program Files (x86)\LANDesk\LDClient\sdmcache\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe' ('/s /v" /qn"') result 740
                        Fri, 05 Feb 2016 10:35:07 Installation result 8DB502E4
                        Fri, 05 Feb 2016 10:35:07 RunPackageInstall: stop on returncode=8db502e4 of package=Altus Client 1.2.0 x64
                        Fri, 05 Feb 2016 10:35:07 processing of package is complete, result -1917517084 (0x8db502e4 - code 740)

                        • 9. Re: The requested operation requires elevation
                          JoeDrwiega SupportEmployee

                          Do you have this package set it to run from source? Can you also change the switches to look like this /s /v"/qn" without the space /s /v" /qn" then reset the package hash on the Distibution Package and then recreate the schedule task and run it again?

                          • 10. Re: The requested operation requires elevation
                            Rookie

                            Ok, just tried it and it failed with the same error.

                            Here is the log:

                            Fri, 05 Feb 2016 14:23:08 ******* sdclient starting to process task *******
                            Fri, 05 Feb 2016 14:23:08 Task id to process: 7853
                            Fri, 05 Feb 2016 14:23:08 Command line: /policyfile="C:\ProgramData\LANDesk\Policies\CP.7853.RunNow._iNhhtNinEitvyT0Ws+IzYU3pfJ4=.xml"
                            Fri, 05 Feb 2016 14:23:08 The nostatus flag has NOT been set.
                            Fri, 05 Feb 2016 14:23:08 Core name 'S39.int.mycreditunion.com' obtained from active task list
                            Fri, 05 Feb 2016 14:23:08 Sending task status, cmd line -coreandip=S39.int.mycreditunion.com -taskid=7853 -retcode=229392442 -pkgid=5307
                            Fri, 05 Feb 2016 14:23:09 File (\\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe) is cached locally
                            Fri, 05 Feb 2016 14:23:09 The nostatus flag has NOT been set.
                            Fri, 05 Feb 2016 14:23:09 Core name 'S39.int.mycreditunion.com' obtained from active task list
                            Fri, 05 Feb 2016 14:23:09 Sending task status, cmd line -coreandip=S39.int.mycreditunion.com -taskid=7853 -retcode=229392258 -pkgid=5307
                            Fri, 05 Feb 2016 14:23:09 ExpandEnvironmentVariables Result: /s/v" /qn"
                            Fri, 05 Feb 2016 14:23:09 GetPreferredServerList(called on \\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe) returned:
                            Fri, 05 Feb 2016 14:23:09 S39
                            Fri, 05 Feb 2016 14:23:09 Putting preferred servers in the following order by time:
                            Fri, 05 Feb 2016 14:23:09 S39 (71)
                            Fri, 05 Feb 2016 14:23:09 Updating system environment variable LDMS_PREFERRED_SERVER: S39
                            Fri, 05 Feb 2016 14:23:09 Download of '\\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe' was redirected to '\\S39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe'
                            Fri, 05 Feb 2016 14:23:10 LSWD or Executable Client Thread
                            Fri, 05 Feb 2016 14:23:10 PackagePath:  [\\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe]
                            Fri, 05 Feb 2016 14:23:10 Download of '\\s39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe' was redirected to '\\S39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe'
                            Fri, 05 Feb 2016 14:23:10 Processing generic executable
                            Fri, 05 Feb 2016 14:23:10 LaunchAsSpecifiedUser: no user loged on, set hide to true.
                            Fri, 05 Feb 2016 14:23:18 Failed launch process as user (error 740, 0x000002e4)
                            Fri, 05 Feb 2016 14:23:18 Launched application '\\S39\apps\AltusAD1.2.0\Clients\Altus AD Workstation\x64\setup.exe' ('/s/v" /qn"') result 740
                            Fri, 05 Feb 2016 14:23:18 Installation result 8DB502E4
                            Fri, 05 Feb 2016 14:23:18 RunPackageInstall: stop on returncode=8db502e4 of package=Altus Client 1.2.0 x64
                            Fri, 05 Feb 2016 14:23:18 processing of package is complete, result -1917517084 (0x8db502e4 - code 740)

                            • 11. Re: The requested operation requires elevation
                              JoeDrwiega SupportEmployee

                              I did a little reading on the Altus AD Workstation from the April version of DigitalPersona Altus - Client Guide.PDF and found this in reading below:

                              Remote installation of Altus Workstation

                              The installer for Altus Workstation uses Microsoft Windows Installer (MSI) technology, which allows
                              administrators to remotely install or uninstall the software using Active Directory administration tools, or
                              other software deployment tools.


                              Command line Installation
                              DigitalPersona Altus Workstation can also be installed or uninstalled using MSI at the command line.
                              The syntax of the msiexec command is shown below and is followed by a description of the command line
                              options, parameters and values available:
                              msiexec /i setup.msi INSTALLDIR=[directory] ADDLOCAL=[software] REMOVE=[software]
                              TRANSFORMS=[Name of transform file]/qn

                               

                              I once worked on software where I had to first create the Remote installation of Altus Workstation first before deploying to users via LANDESK. The software for whatever reason NEVER worked as local Admin or Domain Admin via LANDESK Software Distribution.

                              • 12. Re: The requested operation requires elevation
                                Rookie

                                I'm sorry, this is over my head.