Internet Connection Lost After Installing National Instruments Driver

Updated May 3, 2019

Issue Details

After installing certain National Instruments driver software on a Windows operating system, I have lost my internet connection. What can I do to restore it?

Solution

Microsoft has confirmed that this problem stems from Apple’s Bonjour service running on computers with Windows Vista or later.  In this case, the Bonjour service may create a default gateway of 0.0.0.0 on the computer. This incorrect gateway usurps the proper gateway configuration DHCP provides and prevents internet access. 

This issue is exposed by mDNS Responder Service, which is included in many NI drivers such as DAQmx, VISA, and IMAQ. mDNSResponder is a Bonjour system service that implements Multicast DNS Service Discovery for discovery of services on the local network.

NI-VISA 5.0.2 and later contains a fix in mDNS Responder Service that resolves this issue. 

However, if you cannot install a driver that contains the fix, there are 2 other methods for resolving this:
  • The route may be deleted manually by typing route delete 0.0.0.0 into the command prompt as shown in Figure 1. 

Figure 1. Manually deleting gateway route 0.0.0.0 using the command prompt

 
  • You may also disable the National Instruments mDNS Responder Service.  If networked devices are not being used, this service can be disabled.

Note: Starting with NI-DAQmx 9.2.0, NI Device Loader is dependent on the mDNS Responder Service, so the mDNS Responder Service should not be disabled if you are using NI-DAQmx 9.2.0 or later.

To disable this service

    1. For Windows XP and earlier, type services.msc in the Run command line under the Start Menu to open the services window.  In Windows Vista or later, this can be typed directly in the Search Programs and Files tab located under the Start Menu.
    2. Once the Services window is open, right-click on the National Instruments mDNS Responder Service and select Properties as shown in Figure 2.
    3. In the Properties window, select the Startup type drop-down box and select Disabled as shown in Figure 3.

Figure 2. Open Services Window and Find mDNS Responder Service

 

Figure 3. Setting Startup type to Disabled
 

Additional Information

If you are using a Virtual Machine, before installing National Instruments Software, go to the Device Manager in Windows either by searching for 'Device Manager' in the search windows tool bar or by navigating to the control panel.

In the Device Manager window search for Network/Network Adpaters, make a note of each one. Then continue to install the National Instruments software.
In some cases National Instruments software replaces the original driver, this causes the Virtual machine to lose internet connections. 

To fix this compare the original Networks you made a note of, and find the one which National Instruments has replaced. Now right-click on the network adapter and select 'roll back driver'.
 

You should now be able to have access to internet with your Virtual Machine.


For further information over this issue, please visit Microsoft Support:The Default Gateway may have been set to 0.0.0.0 on a Windows Vista-based or later OS running Apple's Bonjour service.