I am trying to run an OPC application from a gateway script, but it requires to right click on to run as administrator to open properly. How can I do this with system.util.execute(path) or some other function?
Running from script console (logged in as a windows admin) I get no Ignition errors but the encyption error pops up for the application indicating that it isn’t being run as an admin and if I change compatibility properties to run this program as an administrator for all users I get this: Cannot run program (path) CreateProcess error=740, The requested operation requires elevation.
When running the same code in a tag change script, nothing happens, no error, no activity in logs either way.
The OPC application is Advosol uaPlus.