This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

NI Salt-Minion Service Could Not Be Stopped Error in SystemLink Client

Updated Dec 19, 2022

Reported In

Software

  • SystemLink Client

Operating System

  • Windows

Issue Details

  • My SystemLink client lost connection to the SystemLink Server and now is showing an error in the NI SystemLink Client app:
  • I am unable to connect a client to a new SystemLink server as an error is being reported in the SystemLink client:
The NI Salt-Minion Service could not be stopped
 
client_error.png

Solution

This error appears when the Salt-Minion service is not responding correctly, this can happen due to the lack of a required registry key or an issue with the service itself. To start troubleshooting, verify the following:
 
1. Open the Windows Services by pressing <Windows+R>, typing services.msc and clicking OK.
2. Locate the services with "NI" names and confirm if the NI Salt-Minion is listed. A healthy service is shown in the following image:
 
image.png

3. If the NI Salt-Minion service is listed, tried restarting the service by right-clicking it and selecting Restart
  • If it fails, note any error that is shown, the Windows Event logs might also log more information if an error occurs when trying to restart the service. To access the Windows logs you can press <Windows+R>, type eventvwr and click OK, then go to Windows Logs.
4. If the restart does not fix the issue or the service is not listed, open the Windows Registry Editor by pressing <Windows+R>, typing regedit and clicking OK.
5. Browse to the Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ location within the registry and confirm if the nisaltminion key exists. A healthy key is shown in the following image :
 
registry.PNG

6. If the key is missing any sub-key or parameter, you will need to repair or reinstall the SystemLink Client software installation for the keys to be regenerated. Attempting the repair or reinstall is recommended as well if the keys are correctly registered and the error continues, since this can also regenerate missing files within the C:\Program Files\National Instruments\Shared\salt-minion folder that might be causing the issue. If there is an error during the repair or reinstall process make sure to:
  • Use an administrator user to avoid permissions issues.
  • Verify if the antivirus or firewall software is blocking one of the components of the SystemLink Client application, such as the nssm.exe that gets installed in the C:\Program Files\National Instruments\Shared\salt-minion folder. If it is, the recommendation is to specifically whitelist the file provided as part of SystemLink in the previously mentioned directory.
  • You can also generate logs for NI Package Manager for further review.
7. Once the keys are correctly registered the NI Salt-Minion service will be listed under the Windows Services again, and the error will be cleared.
 

Additional Information

If there are multiple computers in the same network presenting the same error, or the issue started to happen without any changes done in the client, besides changing connection settings in the SystemLink Client application, consider checking with your IT department and verify if the antivirus/firewall policies were updated. In some cases the C:\Program Files\National Instruments\Shared\salt-minion\nssm.exe file can be mistakenly removed, which will leave the Salt Minion Service in an unstable state.