Solution
- This error can happen if some of the information of the target that the utility is deploying to is incorrect. It has been specifically seen when there is an error with the specified serial number, make sure that the serial number matches the one found on your RT Target.
- Password is required to switch the RIO controller to and from safe mode. There is no issue with switching a formatted RIO controller to safe mode for reimaging as the default empty password would be used. However, when an image with a password is deployed to the RIO controller, switching back to running mode will fail. That is the reason why you are seeing the error and rtexe did not start running.
- There were modules on a chassis from which the image was retrieved, that currently don't exist on the chassis to which you are trying to deploy the image. Check if all required modules are installed.
In conclusion, the deployment of an image with a password to a RIO controller without a password can be successful, even if error -2147220622 is reported.
You just have to reboot the controller manually (via NI MAX or power cycle) for the startup rtexe to run, provided that the Force Safe Mode, Disable RT Startup App and Disable FPGA Startup App are not enabled as shown in the figure below.