Login to participate
Endpoint Management & Virtualization BlogsRSS

Lots of Collections labeled "Internal Collection for applying SWD Agent Rollout Task" Why are they there and do I need them?

BRING's picture

Recently, while trying to optimize collection refresh times on a 6.x Notification Server, some analysis was performed using the vcollection view.  It was observed that there were a substantial amount of collections, over 1500, that were titled "Internal Collection for applying SWD Agent Rollout Task".  Most of them had a creation date of over 2 years ago, and modified dates that coincided with the last time the Software Delivery Solution was upgraded on this Notification Server, in this case to 6.1.

it was clear that  the time to run the collection refresh scheduled tasks would be affected by the presence of these collections.  In this particular case, they represented over 25% of the total collection definitions.

So what are these collections and are they necessary?   These are older collections that were created by a previous installation of Software Delivery and have been upgraded by the latest install of Software Delivery Solution.   They are not used regularly and can be cleaned up (deleted).  However,  the purging of these collections needs to be done manually.

1.  Download the file DeleteInternalSWDAgentCollectionItems.cs attached to this article.
2.  Place it on your Notification Server at \Program Files\Altiris\Notification Server\Bin.
2.  At a command-prompt, browse to the above location and run this command-line:
         Nscript.exe DeleteInternalSWDAgentCollectionItems.cs
3.  When the execution has completed, please check the A.log files on the Notification Server for possible errors.

You may also encounter other internal collections, such as those labeled "Internal Collection for Application Inventory Task".  To clean those up, see
https://kb.altiris.com/article.asp?article=24176&p=1