Windows System Assessment Scan fails with Exit Code 7


Article ID: 157041


Updated On:


Patch Management Solution for Windows Management Platform (Formerly known as Notification Server)


The scheduled Windows System assessment scan for Patch Management Fails with Exit code 7

Exit Code 7 - Cannot send inventory

CannotSendInventory - Could not send inventory information via the NS Agent.



1. Incorrect installation of SMP agent on Client computer.

2. Assessment Scan to fails due to missing dll's. Inference of cause; laydown of the Agent was not clean following removal of older Agent version.


Please review the following steps and verify that you have a similar issue for Cause #1:

Try to manually run the file from the following path.
C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{6D417916-467C-46A7-A870-6D86D9345B61}\cache
Filename: AexPatchAssessment.exe

1. Verify the correct installation path of SMP agent installed on Client computer.

2. Verify that Queue folder exists i.e. C:\Program Files\Altiris\Altiris Agent\Queue

3. Verify that the following regkey has to correct value

HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Transport\Queue Path
Value: C:\Program Files\Altiris\Altiris Agent\Queue

In our case, customer had an Older version of Altiris Ver6 still installed on the Server in the following directory.

C:\Program Files (x86)\Altiris\Altiris Agent\

Since correct SMP agent version i.e. 7.1 SP2 agent was installed within C:\Program Files\Altiris\Altiris Agent\ except for inventory agent, we cleared out all files and directories from

C:\Program Files (x86)\Altiris\Altiris Agent\ leaving ONLY C:\Program Files (x86)\Altiris\Altiris Agent\Agents\inventory Agent (as this is a valid folder)


Having incorrect files & reference in Registery was causing agent not to process information correctly.

After removing older files, we restarted SMP agent and ran Windows Assessment scan and it returned a success code.




Cause #2: 

  1. Cleaned up agent registry; worked through process outlined on Symantec Connect and this resolved the issue for this environment.
  2. Additionally; may also utilize the best practice migration documentation on DOC5668.


Related KBs:

Title: Windows Assessment Scan Error Codes 


Title: Windows System Assessment Scan fails with Exit Code 6


Title: Windows System Assessment Scan displays failed with Exit Code 3

Applies To

Client - Windows Server 2008 R2