Autostart IBEX on Computer Restart - ISISComputingGroup/ibex_developers_manual GitHub Wiki

Wiki > Deployment > Autostart IBEX on Computer Restart

Windows Server 2012 R2

This appears to work but doesn't because the user does not have interactive mode permissions. There is a ticket to sort this out

To make the ibex server restart when the computer restarts, do the following:

  1. Ensure that the user who will run IBEX server has "log on as batch job" rights
    1. Open "Local Security Policy" as an admin
    2. Find "Local Policies" -> "User Right Assignments" click
    3. Find "Log on as a batch Job"
    4. Open and add the user above if they are not in this list
  2. Create a scheduled task to start on reboot
    1. Open "Task Scheduler" as an admin
    2. Create a basic task
    3. Call in "Start IBEX on restart"
    4. Trigger: Trigger on "When the computer starts"
    5. Action: Start a program
    6. Start a program:
      1. Program script is cmd
      2. Add arguments is /c "C:\Instrument\Apps\EPICS\start_ibex_server.bat 2>&1 > C:\Instrument\var\logs\startup.log
      3. StartIn C:\Instrument\Apps\EPICS
    7. Finish: Click "Open the Properties dialog for this task when I click Finish"
    8. Enter credentials for user running ibex server
    9. General Tab: Make sure Run whether user is logged on or not
    10. Check other tabs