Installing self contained agent off network causes a 10 minute delay

Version 4

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.x

    Environment

    LDMS 9.x

     

    Problem

    I have built a self contained agent.exe for the purpose of installing agents on PC's that are off the network but when it runs I see a 10 minute delay during the installation.

     

    Solution

    This delay is caused by Vulscan looking for a DNS Server, and in this case won't find it so it will wait 10 minutes before timing out. To get around this you can do the following;

     

    1. Modify the NTSTACFG.INI and/or the NTSTACFG.IN# to tell vulscan to run offline. (If you modify the NSTSTACFG.# file you will need to run stamper.exe)

    ntsaoffline.JPG

    2. From the console you need to do a "rebuild all" task for your agent configurations.

    3. Browse to ldlogon and edit your Agent.ini to add the same /offline switch.

    agentini.JPG

    4. Create your self-contained agent.exe

     

    NOTE: You will want to change these settings back and do a rebuild all so that your online (typical) agent installs do not have the /offline switch.