search cancel

Task server will not accept any client registrations while the Windows Firewall Service is disabled.


Article ID: 161696


Updated On:


IT Management Suite


 Task server appears installed correctly, but no clients are able to register with it. There is no error associated with the failed registration attempts. 

 When restarting the agent services on the task server,check for the following error in the agent logs. 


Unable to add firewall exception: System.Runtime.InteropServices.COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

   at System.Runtime.InteropServices.CustomMarshalers.EnumerableViewOfDispatch.GetEnumerator()

   at System.Collections.IEnumerable.GetEnumerator()

   at System.Linq.Enumerable.<CastIterator>d__aa`1.MoveNext()

   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)

   at Altiris.DotNetLib.Utilities.WindowsFirewall.AddAppRuleToPolicy(String appPath, String ruleName, Int32 protocolNumber, INetFwPolicy2 firewallPolicy)

   at Altiris.DotNetLib.Utilities.WindowsFirewall.AddRuleToTrustApplication(String ruleName, String fileName)


   at Altiris.DotNetLib.Utilities.WindowsFirewall.AddExceptionNE(String name)


 When the Task Server starts up it may decide that it need to create Firewall rules to allow for it's traffic. If the Windows Firewall Service is disabled it won't be able to create the firewall rule, and will not accept any client registrations. 


 Enable the Window Firewall Service and then restart Client Task Data Loader and Object Host Service  You should see agents start to register with the site server.