You can enable the Database Agent to start automatically whenever the machine starts up. To do so, create a batch file for starting the agent.
Create a batch file containing the following line:
For a 32-bit system, the set java.library.path="<db_agent_home>\auth\x32"
If you are monitoring multiple databases, you must increase the size of the memory allocation. For more information, see Database Visibility System Requirements.
Click Control panel > Scheduled Tasks.
Select the batch file to execute. This is the file created in step 2.
- Create a new task.
Select When my computer starts. When setting the agent to automatically start up using Task Scheduler when the machine starts or restarts, ensure the agent runs with the highest privileges available.
Enter the administrator's credentials to run the Database Agent as that user.
To start the Database Agent for the first time, right-click the scheduled task and click Run.