On-premise entry batch - unencrypted credentials
- Last UpdatedAug 13, 2025
- 2 minute read
This type of batch has the following draw backs, firstly the administrator credentials are shown in plain text to anyone with access to the file, and secondly the file can be triggered by any windows user as all the credentials for AVEVA needed to run the file are held within.
ADMIN -module: monitor -project:APS -user: SYSTEM -password: XXXXXX -mdb: /ALL

This line will deliver the user into Monitor with device mode set to Graphics (which is default).
ADMIN -module: monitor -project:APS -user: SYSTEM -password: XXXXXX -mdb: /ALL TTY

In this case an initial argument of TTY is passed this means that the application will be run without graphics, with just command line. TTY allows applications to open and complete processes quicker as these processes tend to be run "unattended" TTY is often preferred.
Whilst in Monitor we can select if the product is set to graphics being on, which is the default (command= dev gra), or graphics being off (command = dev tty). Turning the graphics off makes the product quicker and able to complete processes quicker.
Monitor offers us the opportunity to change project (as long as evars are set correctly), change user, change MDB, or change databases current in an MDB. Having made these choices and settings in monitor we can enter the actual application.
There is an additional argument that needs to be set for the macro that is to be run.
ADMIN -module: monitor -project:APS -user: SYSTEM -password: XXXXXX -mdb: /ALL TTY -macro: c:\temp\examplemac.mac
In this macro being called (examplemac.mac) the first line starts the application the user would like to run.
RUN MODEL (DRAW,PARAGON,ISODRAFT,SPOOLER are also legal here if E3D mon.exe is called)
ALP LOG /c:\temp\MAP_LOG.txt over
MAP BUILD MDB
SAVEWORK
FINISH