When attempting to start the Altiris Client Message Dispatcher Service, a 1053 error is returned. The dispatcher service will not start at all, although other Altiris services run without issues, including the Altiris Service.
In SP2, the service tries to start the Altiris service on the same thread that it was started on. If for whatever reason Altiris is slow in starting up, the Service Control Manager would assume aexsvc didn't start correctly.
In SP3, the service thread spawns a new thread which starts Altiris.
To run in console mode stop the Altiris Service and run the following command:
This will start the service in a MS-DOS window allowing you to see any .NET errors that may be occurring during startup.
In one reported incident, upgrading to Notification Server 6.0.6074 (SP3) did not resolve the issue. This was due to a corrupt registry entry for the dispatcher service. In this particular case the issue was resolved by following the steps below.
Uninstall the Altiris Service and the Altiris Client Message Dispatcher Service through one of two methods:
InstallUtil.exe is a Microsoft .NET utility, located under %WINDIR%\Microsoft.NET\Framework\v1.1.4322, which will remove any related assemblies.
If the previous method does not remove the services, you can then use the following command to remove the services:
sc delete aexsvc.exe
2. Verify that the Services are removed. You will need to check the registry at Hkey_Local_Machine\System\Current Control Set\Services and make sure that the Altiris Client Message Dispatcher and the Altiris Service registry keys are both gone. They may need to be removed manually. If the services list still displays the services after the registry keys are gone you will need to reboot the server and verifty after the reboot that the services are not listed anymore. Once they are gone from the list then proceed with the next step.
3. Reinstall the Altiris Service and the Altiris Client Message Dispatcher Service. This command will reinstall the services:
It may be necessary to reboot the server after the services are recreated.
Note: In case of the above mentioned services or similar services, for newer .NET versions used for ITMS 7.1, 7.5, you can remove and add the Altiris Client Task Data Loader (CTDataLoad.exe) and Altiris Object Host Services (AtrsHost.exe) for example by using the following commands from the command prompt:
--To uninstall services if present (adjust path as needed): "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" /u "C:\Program Files\Altiris\TaskManagement\CTDataLoad.exe" "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" /u "C:\Program Files\Altiris\TaskManagement\AtrsHost.exe"