Windows System Assessment Scan fails with Exit Code 7

Article:TECH196681  |  Created: 2012-09-13  |  Updated: 2014-03-28  |  Article URL http://www.symantec.com/docs/TECH196681
Article Type
Technical Solution


Issue



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


Error



Exit Code 7 - Cannot send inventory

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

 


Environment



Client - Windows Server 2008 R2


Cause



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.


Solution



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
http://www.symantec.com/docs/TECH179849 

 

Title: Windows System Assessment Scan fails with Exit Code 6
http://www.symantec.com/docs/TECH182272

 

Title: Windows System Assessment Scan displays failed with Exit Code 3
http://www.symantec.com/docs/TECH185079




Article URL http://www.symantec.com/docs/TECH196681


Terms of use for this information are found in Legal Notices