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