Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Run agent command (action) under User session

Run agent command (action) under User session

Scheduled Pinned Locked Moved Support
5 Posts 4 Posters 133.0k Views
  • 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.
  • V
    V
    VSS
    wrote on last edited by
    #1

    Hello,

    All exe started from agent Action will be running under account of Agent service (system by default).

    Is it somehow possible to start exe from agent Action under current user account?

    P.S. as we know there is special nxsagent.exe to run under user session. Maybe there is possibility to use it.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      currently it's not possible. And what do you mean by "current user" - it is current to what?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        Tursiops
        wrote on last edited by
        #3

        Hi,

        I assume VSS is referring to whoever is logged in to the Console session at the time.

        The ability to actually authenticate and run actions as any given user, independent of it they are currently logged on or not (which would require providing and/or securely storing credentials), would be nice, too. 🙂

        Cheers

        1 Reply Last reply
        0
        • V
          V
          VSS
          wrote on last edited by
          #4

          @tursiops said in Run agent command (action) under User session:

          Hi,

          I assume VSS is referring to whoever is logged in to the Console session at the time.

          Cheers

          Yes you are right! We need to have ability to start process the same user as nxsagent.exe.

          1 Reply Last reply
          0
          • H
            H
            hmjvaline
            wrote on last edited by
            #5

            Although the operation of the action is executed under the system account by default under the agent, 
            it is invisible under the Windows session of the user currently logged in, 
            which is a great advantage for background system management, 
            but it is not necessary for the operation that needs to be known to the user at the front desk. It is not easy to achieve, such as the agent's "send user support application notification", 
            other front-end operations such as opening a browser to connect to a website, 
            and the execution of programs that require GUI display.

            It would make netxms more complete if ACTION had an execution option for now logged in user session.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups