Error 1722 while reinstalling task management
search cancel

Error 1722 while reinstalling task management


Article ID: 161856


Updated On:


IT Management Suite


When attempting to uninstall and reinstall Task Management the installer fails with error 1722. 

The Altiris Object Host Service (atrshost) and / or Altiris Client Task Data Loader (ctdataloader) services are not present.

Note that error 1722 is a generic failure and could require further troubleshooting.


ITMS 7.x, 8.x


The installer is failing because there is a check to see if these services exist. If they do not exist, then the installer will error out.


Manually recreate the services.

Steps to fix:

1. Find the location of the atrshost.exe
2. From a command prompt use the following syntax to recreate the missing services:
sc create AtrsHost binpath= "C:\Program Files\Altiris\Altiris Agent\Client Task Server\AtrsHost.exe"
sc create CTDataLoader binpath= "C:\Program Files\Altiris\Altiris Agent\Client Task Server\CTDataLoad.exe"

NOTE the space between the = sign and the path to the executable is required. Also note that you are providing the short name of the service and not the full name, ie "Altiris Object Host Service"

Note: you can also remove and add the Altiris Client Task Data Loader (CTDataLoad.exe) and Altiris Object Host Services (AtrsHost.exe) back 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"

--To reinstall services (adjust path as needed): 
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" "C:\Program Files\Altiris\TaskManagement\AtrsHost.exe"
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" "C:\Program Files\Altiris\TaskManagement\CTDataLoad.exe"