vCenter scan fails with MgsIPScan error
When performing vCenter discovery, the MgsIPScan error can occur on beacon versions 17.0 and previous if you’re using an outdated version of NpCap.
When the MgsIpScan error occurs
- The .err file on the beacon will show: dnet: Failed to open device eth0QUITTING!
You can locate the .err file on the beacon in the following directory: C:\Windows\TEMP\ManageSoft\discovery
Example
202256_16532-45c6cf6d1e-07ee-4d84-894e-4d7cb227c3b4.err
- The MgsIPScan error will also appear in the discovery log.
2022-05-06 16:05:32,521 [iscovery.NMapDiscovery|IPScan] [INFO ] Command line for mgsipScan: -p T:22,139,443,445,U:443 -oX "C:\Windows\TEMP\ManageSoft\discovery\mgsipscan-t-202256_16532-45c6cf6d1e-07ee-4d84-894e-4d7cb227c3b4.xml" -PM -sS -sU -iL "C:\Windows\TEMP\tmpBEFE.tmp"
2022-05-06 16:05:33,117 [iscovery.NMapDiscovery|IPScan] [ERROR] MgsIPScan exited with error 1
How to correct the MgsIPScan error
- Download the MgsIPScan.zip file attached to this article and extract the contents.
- Uninstall the old version of NpCap on the beacon located at C:\Program Files (x86)\NpCap\uninstall.exe.
- Install the new version of NpCap from the zip file attached to this article (npcap-1.00.exe).
- Back up the current MgsIPScan folder, located at C:\Program Files (x86)\Flexera Software\Inventory Beacon\Remote Execution.
- Copy the extracted MgsIPScan folder from the zip file to C:\Program Files (x86)\Flexera Software\Inventory Beacon\Remote Execution.
- Rerun the rule and check the discovery log to see if the error is resolved.
Was this helpful?
© 2026 Flexera. All rights reserved.