ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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

book

Article ID: 161696

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

 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)

Cause

 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. 

Resolution

 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.