How to Start iFIX at Boot on Windows 10
How to Start iFIX at Boot on Windows 10
Question
On Windows 10, how do I start iFIX at system boot without running iFIX as a service?
In earlier versions of Windows, you could create an iFIX Desktop Shortcut to start a configured iFIX session by identifying an SCU and node name and placing the created shortcut in the Startup Folder found in the Windows menu. This no longer works on the Windows 10 or Windows Server 2016 operating systems.
Resolution
Here are the steps to run iFIX on startup of a Windows 10 or Windows Server 2016 operating system without configuring iFIX to run as a service:
Create a new Notepad document, save the document as StartiFIX.bat.
In the newly created batch file, enter the following code replacing the variables between the "<>" brackets with your unique iFIX information:
@echo off
start launch.exe /s"<full path to SCU>" /n<SCADA Local Nodename> /l<SCADA Logical Nodename>
Take note that the command line parameters after launch.exe are /s, /n, and /l (L) and that there is no space between the parameter and the variable.
The example below will start an iFIX SCU called SCADA1.SCU located in the path C:\Projects\SCADA1\LOCAL with a local and logical node name of SCADA1:
@echo off
start launch.exe /s"C:\Projects\SCADA1\LOCAL\SCADA1.SCU" /nSCADA1 /lSCADA1
When you have completed your code, save your changes, ensuring that you maintain the .BAT file extension.
When the file is saved, use RUN (Windows Key + R) and enter shell:common startup in the field and press enter. This should open the File Explorer in the correct folder path, typically C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup.
Copy and paste the batch file into this folder.
Reboot your system and test. iFIX should start up with your configured project a few seconds after the Windows desktop finishes loading.
AutomaTech Inc.