In C:\Windows\Temp there are many APT# folders; each having a different number after them, such as APT0, APT1, etc. These folders all appear to have the same file in them, which could be an installation of a specific Agent, such as Application Metering, Software Delivery Solution, etc.
ITMS 7.x, 8.x
Note: This issue is not longer a reoccurring one due to the agent improvements on recent versions.
Every time an Agent installation or upgrade task is executed, it creates an APT# folder with the MSI file in it. When the install task's policy is set to run multiple times on a schedule (every day, every hour, etc) and the collection always applies to every computer, it continually creates new folders.
--VBScript to remove APT files from c:\Windows\Temp. Script is below:
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set OFWindows = oFSO.GetFolder("c:\windows\temp")
Set OWinFolders = OFWindows.SubFolders
For Each OWinFolder in OWinFolders
if Ucase(left(OWinFolder.name , 3)) = "APT" then OWinFolder.delete force
Next