Uninstall the Database Agent as a Service

To uninstall the database agent service, run the following command as an administrator:

cscript <db_agent_home>\UninstallService.vbs

For example:

cscript C:\db-agent\UninstallService.vbs

To uninstall the database agent service if you have started using a service name, run the following command as an administrator:

cscript UnstallService.vbs servicename=<name_of_the_service>