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. Silent Windows agent install 3.9.235

Silent Windows agent install 3.9.235

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 29.1k 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.
  • D
    D
    Dawid Kellerman
    wrote on last edited by
    #1

    Hi
    I am adding this in the hopes that it  would save someone time.  Another older post from Alex put me on the right track.

    We are installing the windows agent with opsi a software deployment package, so a silent unattended install. The following two options are available in the manual install and not selected by default. We wanted them on and  could not see a way to select it with the silent options.

    [ ]Install session agent (will run in every user session)
    To see who is logged in and take a screen shot.

    [ ]Install user support application (will run in every user session)
    To send a application support message.

    Part of our silent string:
    files1\nxagent-3.9.235-x64.exe" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /LOG "$LogDir$\$ProductId$.install_log.txt" /SERVER=netxms.xxx.com.na /TUNNEL /LOGFILE=C:\NetXMS\log\nxagentd.log /SUBAGENT=FILEMGR

    The following black registry were needed especially the second dword one if that is not in no sending messages.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    NetXMSSessionAgent    REG_SZ    C:\NetXMS\bin\nxsagent.exe -c C:\NetXMS\etc\nxagentd.conf -H
    NetXMSUserAgent    REG_SZ    C:\NetXMS\\bin\\nxuseragent.exe

    This part was setup by the silent install.

    [HKEY_LOCAL_MACHINE\SOFTWARE\NetXMS\Agent]
    InstallPath    REG_SZ    C:\\NetXMS
    ConfigFile    REG_SZ    C:\NetXMS\etc\nxagentd.conf
    ConfigIncludeDir    REG_SZ    C:\NetXMS\etc\nxagentd.conf.d
    ReloadFlag    REG_DWORD    0x00000001(1)

    WithUserAgent REG_DWORD 0x00000001 (1)

    Regards Dawid


    Capture.PNG

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

      Hi,

      few notes here. First, you don't need both session agent and user agent - use agent has all the functionality of session agent.
      And you can select "Install user support application" in unattended installer by adding to installer command line option

      /MERGETASKS="useragent"

      Best regards,
      Victor

      1 Reply Last reply
      0
      • D
        D
        Dawid Kellerman
        wrote on last edited by
        #3

        Thank you Victor!

        So I will be removing all the mess I made  :-[
        Then do it with the /MERGETASKS I misses while skimming thru while being in a rush..

        Act in haste repent at leisure..

        Thanks Again!

        Dawid

        P.S. The /MERGETASKS="useragent"  Worked like a charm.  Thank you!

        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