How to Run Inventory Scanner on Devices Without an Agent

Version 6

    Verified Product Versions

    Endpoint Manager 2016.xEndpoint Manager 2017.xEndpoint Manager 2018.x

    Purpose

    The attached document provides information on performing an inventory scan on a device without an agent installed on the device or self-electing agentless scanning enabled on the network.

     

    Note: We recommend utilizing the agentless scanner if you are able. For steps to enable the Agentless Scanner within LDMS 2016.3.x please see the article below:

    Steps To Enable The Agentless Scanner in LDMS 2016.3 and Beyond

     

    Resolution

     

    Note: This resolution assumes that the device that needs to run the scan has the ability to establish a connection with the core server.

     

    1. Connect to the core server's \ldlogon share and run the following command from an administrator command prompt:

     

     

    Ldiscn32.exe /NTT=%coresevername% /s=%coreservername% /f /i=%coreservername%\ldlogon\LdAppl3.ini /sync /V

     

    Note: The most simple way to achieve this would be to map a network drive to the <core server>\ldlogon location

     

     

    No Core Access Resolution

    Note: This resolution assumes that no network connectivity can be made to the core and therefore all scanning files will need to be relocated to the device in which needs to be scanned.

     

    1. In order to scan a device in which has no access to the core server as well as no agent installed the following files will need to be copied the devices local hard drive. Below is the list of files required to get obtain a scan:
      AMTScanner.exe
      ClientRollingLog.dll
      ClientRollingLog.log4net
      elogapi.dll
      GatherProducts.exe
      GPMM.exe
      HPScanner.exe
      Lclxclnt.dll
      ldaccount.dll
      ldapinfo.dll
      ldappl3.ini
      ldapwhoami.exe
      ldavhlpr.dll
      LDISCN32.exe
      LDServerRoles.exe
      LDMBBApi.dll
      LDProfile.exe
      libhttp.dll
      loc32vc0.dll
      LocalPrtInfo.exe
      log4net.dll
      ltapi.dll
      processrunner.dll
      psapi.dll
      ServerScanner.exe
      ThinClientScanner.exe
      vulscan.dll
      WMIRulesScan.exe

    2. In order to run the scan, open an administrator command prompt window and run the following command:

     

     

    Ldiscn32.exe /l- /o=scan.txt /f /i=LdAppl3.ini /sync /noui

     

     

    Additional Information

     

    About Inventory Scanner Switches

    How to run Inventory Scanner on devices with no LDMS agent (Performing an Agentless Scan)

     

    Docx and PDF files outlining the process have been attached to this document for easy access.