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