Discovery processes that run mgsipscan.exe on beacons may fail due to a missing a dependency on msvcr120.dll from the x86 (32 bit) Visual C++ Redistributable Package for Visual Studio 2013.
If the Visual C++ Redistributable Package for Visual Studio 2013 is not installed, attempts to run <Beacon install directory>\RemoteExecution\MgsIPScan\mgsipscan.exe processes will fail. Logging similar to the following will appear in the discovery.log file associated with the discovery process:
2022-06-29 12:02:04,798 [iscovery.NMapDiscovery|IPScan] [INFO ] Command line for mgsipScan: -p T:80,443,U:80,443 -oX "C:\Users\svc-flexnet\AppData\Local\Temp\ManageSoft\discovery\mgsipscan-t-2022629_1224-496b4d6c2d-a88e-4e5f-83a4-8bbdb4240dc5.xml" -Pn -sS -sU 220.127.116.11-255
2022-06-29 12:02:04,813 [iscoveryActionExecuter|Async] [INFO ] Enumerating devices from store after DNS lookup
2022-06-29 12:02:04,813 [iscoveryActionExecuter|Async] [INFO ] Completed enumeration of devices from store after DNS lookup
2022-06-29 12:02:05,001 [iscovery.NMapDiscovery|IPScan] [ERROR] MgsIPScan exited with error -1073741515
2022-06-29 12:02:05,001 [ource.NMapDeviceSource|IPScan] [ERROR] Failed to perform an IP scan.
System.IO.FileNotFoundException: Could not find file 'C:\Users\svc-flexnet\AppData\Local\Temp\ManageSoft\discovery\mgsipscan-t-2022629_1224-496b4d6c2d-a88e-4e5f-83a4-8bbdb4240dc5.xml'.
Attempting to run mgsipscan.exe directly from a command shell window will fail with an error dialog showing a message like the following (exact wording may vary based on the operating system version):
The program can't start cause MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.