Description of MaxAgentDownloadTryingTimeMins, and PkgDownloadFromNS Package Download Settings

Article:HOWTO4651  |  Created: 2006-08-15  |  Updated: 2008-02-12  |  Article URL
Article Type
How To


What does the Coresettings.config variable MaxAgentDownloadTryingTimeMins do and how is it set?  Also, what does the registry key PkgDownloadFromNS  do and how is it set?  How do the two interrelate?


  1. The Coresettings.config variable MaxAgentDownloadTryingTimeMins is a value in minutes that tells the Notification Server how long the agent will continue to try to download from a Package Server before bypassing the Package Server and downloading directly from the Notification Server. This setting is more correctly defining a Notification Server behavior rather than Agent behavior. The Altiris Agent always downloads packages from the codebases that are given out by the Notification Server. In Notification Server 6.0 SP2, the server does not provide its own codebases to agents that are members of defined site on the Site Maintenance page; this change was due to a very common customer request.

    This setting is disabled by default, and the value to disable it is 0. This will not allow the agent to receive codebases from the Notification Server. Any other value than 0 results in a time value that is sent to the server when it makes its calls to GetPackageInfo.aspx. When this time value exceeds the MaxAgentDownloadTryingTimeMins value, Notification Server will hand out its codebases a long with the codebases of any Package Server in the Notification Server's site/subnet. Notification Server SP3 introduced a new type of Package Server called a "Constrained" Package Server which, by default, will not receive codebases for the Notification Server, but rather will be given only the codebases of other Package Servers listed in its same site. In the event that the Primary Package Server in that site has failed, this setting could be used to get the packages down to the Constrained Package Server
  2. The registry key PkgDownloadFromNS is an on/off registry key found at HKLM\Software\Altiris\Express\Notification Server. When set to 1, if package servers are present, the agents are able to download their packages from package servers, AND the Notification Server directly. When set to 0, agents cannot download from the Notification Server, only site-local Package Servers. Note: This setting only works when SITES are defined.
  3. How do the two interrelate? Both of these settings control what the Notification Server allows or does not allow packages to download from the Notification Server and when that can occur, if allowed. To assure that packages only come from sites and Package Servers, set PkgDownloadFromNS to 0, and MaxAgentDownloadTryingTimeMins to 0 as well.

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices