What does the Coresettings.config variable MaxAgentDownloadTryingTimeMins do? Also, what does the registry key PkgDownloadFromNS do? How do the two interrelate?
NOTE: in ITMS 7.6 HF7 and later the PkgDownloadFromNS coresetting no longer exists. Setting the MaxAgentDownloadTryingTimeMins to "0" will prevent downloading packages from the SMP if a package server is present in the same site.