Create a batch file containing the following line:
java -Xmx2048m -Djava.library.path="<db_gent_home>\auth\x64" -jar <db_agent_home>\db-agent.jar
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 Agent Hardware Requirements.
Click Control panel > Scheduled Tasks.
Select the batch file to execute. This is the file created in step 2.
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 for the first time, right-click on the scheduled task, and click Run.