Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Credential-less discovery installs npcap loopback adapter that breaks DNS resolution. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Credential-less discovery installs npcap loopback adapter that breaks DNS resolution.
KB0761174

Credential-less discovery installs npcap loopback adapter that breaks DNS resolution.


781 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Enabling Credential-less discovery installs nmap and npcap on the MID Server host.  

Release

All

Cause

When npcap is installed, by default it creates a virtual loopback interface on the MID Server host. 
There are instances where the installation of this virtual loopback adapter by nmap tends to create DNS resolution conflicts on the host machine. Though this is a control from nmap as a tool, we do have a means of disabling the loopback adapter from being created.

Resolution

1. Head into the ecc_agent_script_file table
https://<INSTANCE-NAME>.service-now.com/ecc_agent_script_file_list.do

2. In the name field filter for the keyword "NmapInstallation.ps1"
Open the script NmapInstallation.ps1

3. In the script NmapInstallation.ps1, in line 67 we have
$nmap_installer_params = "/S /REGISTERPATH=NO /ZENMAP=NO "
This needs to change to
$nmap_installer_params = "/S /REGISTERPATH=NO /ZENMAP=NO /LOOPBACK_SUPPORT=NO"

Please note:

  • As soon as we change the script on the instance all active MID Servers will sync to this version and if we enable credential-less discovery following this on the MID Server, it will utilize the new script
  • Using /LOOPBACK_SUPPORT=NO, we install npcap but we don't create any virtual loop back interface
  • Please be aware that if NPCAP was already installed on the host machine we don't re-intsall npcap, but we use the existing one. In the case that npcap was installed on the host machine with default (lookback_support = true) , we will need to disable the adapters manually
  • Test if discovery runs without issues




The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.