How to properly image a computer with Notification Server Client (Altiris Agent) installed

book

Article ID: 178717

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server) Deployment Solution Ghost Solution Suite

Issue/Introduction

 

Note:
With recent versions of Ghost Solution Suite and Deployment Solution, the need of manually cleaning up the Symantec Management Agent when it is installed is no longer needed. Please refer to the following KBs:

KB 161011 "Preparing Windows 10 to run a 'Prepare for Image Capture' (sysprep) task using Deployment Solution 7.x/8.x" 
KB 171149 "Preparing Windows 10 to run Sysprep through Ghost Solution Suite Capture Image Task"

Environment

ITMS 7.x, 8.x

Resolution

Question

 

After imaging a computer with Altiris Agent on it, all the computers now have duplicate GUIDs. How can this be corrected?

 

Answer

When imaging a computer that has the Altiris Agent already installed and then deploying that image on other computers, all of those computers will have the same Altiris Agent GUID. This creates an inventory reporting problem since only the data of the last computer that has reported with that Altiris Agent GUID is written to the database.

Before making an image, do the following:
  1. Stop the Altiris Agent service. It needs to still be set to autostart.
  2. Open the Altiris Agent computer’s Registry Editor.
  3. Delete the data located at the following three locations:
    HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Machineguid
    HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\eXpress\MachineGuid
    HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\eXpress\NS Client\MachineGuid
    HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Client Service\LastUpdateComputerInfo (Note: This will exist when the AClient is installed.)
  4. In the file system under install path\Altiris\Altiris Agent\Client Policies, delete the .XML file (there should only be one).
  5. In the file system under install path\Altiris\Altiris Agent\\Software Delivery, delete all GUID folder files in this directory and the AeXSWDPolicy.xml file.
  6. Shut down the computer and image it. Create the image before the Altiris Agent posts any event to the Notification Server. When the Altiris Agent requests a client config policy, a new unique Altiris Agent GUID will be created by the Notification Server and sent to the Altiris Agent. A new policy config XML will be sent to the client. The same Altiris Agent GUID is placed in three locations for backward compatibility reasons.  

    Note: For more information, you could also check article HOWTO2169, "How to prepare a workstation for imaging that includes the SMP/NS Agent". Don't forget to use "prepare for image capture" task with DS before capturing your image.

Additional Note: If you are trying to correct this problem after it has occurred, you can give each computer their own GUID by running the AeXAgentUtil.exe program with the /resetguid switch.