When installing an Exchange update you may run into the following error.
Error: The following error was generated when "$error.Clear(); & $RoleBinPath\ServiceControl.ps1 -Operation:DisableServices -Roles:($RoleRoles.Replace('Role','').Split(',')) -SetupScriptsDirectory:$RoleBinPath; & $RoleBinPath\ServiceControl.ps1 Stop $RoleRoles.Replace('Role','').Split(',') " was run: "Microsoft.Exchange.Configuration.Tasks.ServiceStopFailureException: Service 'tmlisten' failed to stop due to error:'Cannot stop tmlisten service on computer ---> System.InvalidOperationException: Cannot stop tmlisten service on computer ---> System.ComponentModel.Win32Exception: The requested control is not valid for this service
The tmlisten service is associated with the Trend Micro antivirus product and specifically the Trend Micro Listener service. This service requires a password to stop and can not be disabled via either the services snap-in or command line.
The tmlisten workaround
To disable Trend Micro right click on its icon in the system tray and select Exit Security Agent.
You will be prompted to enter a password to shut down the Trend Micro services. Enter this password and click Ok.
You may need to wait about 60 seconds for the Trend Micro services to stop. Once stopped you can continue your Exchange update past this error.
Have you ever run into this problem? What did you do to fix it? Drop a comment below or come join the conversation on Twitter @SuperTekBoy.