Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

OneAgent installation failed on Windows server


Not able to install Dynatrace on the Windows server, it's going on a rollback plan 

Sharing the logs and snapshot of the issue.



DynaMight Champion
DynaMight Champion

Hi @bulus,

based on the provided logs, I think there is an agent that is already installed and the service is in a stop state, try to enable it or uninstall the current agent and install it again based on your requirements, if you are using another environment you can update the environment using oneagentctl after enabling it or try to uninstall the current agent, and remove the files, for more details check the following link:


MSI (s) (74:24) [15:26:52:602]: Executing op: ActionStart(Name=InstallAgentService,Description=Installing OneAgent service,)
Action 15:26:52: InstallAgentService. Installing OneAgent service
MSI (s) (74:24) [15:26:52:602]: Executing op: CustomActionSchedule(Action=InstallAgentService,ActionType=3073,Source=BinaryData,Target=installAgentServiceAction,CustomActionData=D:\Dynatrace\)
MSI (s) (74:10) [15:26:52:633]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF80D.tmp, Entrypoint: installAgentServiceAction
15:26:52 CustomActionDLL (info): Installing "Dynatrace OneAgent" service...
15:26:52 CustomActionDLL (info): Previous instance of the service is still present, uninstalling...
15:26:52 CustomActionDLL (info): Uninstalling "Dynatrace OneAgent" service...
15:26:52 CustomActionDLL (info): Stopping "Dynatrace OneAgent" service...
15:26:52 CustomActionDLL (info): The service is currently in "Stopped" state
15:26:52 CustomActionDLL (info): Service is already stopped
15:26:52 CustomActionDLL (warning): Failed to update startup type for service to "manual": error code: 1072, error message: The specified service has been marked for deletion.
15:26:52 CustomActionDLL (info): The service is in stopped state
15:26:52 CustomActionDLL (warning): Failed to delete service. error code: 1072, error message: The specified service has been marked for deletion.
15:26:52 CustomActionDLL (severe): Failed to install "Dynatrace OneAgent" service
CustomAction InstallAgentService returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 15:26:52: InstallExecute. Return value 3.

Certified Dynatrace Professional | Certified Dynatrace Services Delivery - Observability & CloudOps | Dynatrace Partner -

Featured Posts