How can I be sure there is no AMPAgent UID on my images? From what I understand the uninstall alone will not remove the UID, but maybe that was pre 6.2. I'm at 6.2.1025. I do check the option to remove all data files.

I'm building an image for our techs and I want to be sure the agent is not installed, but if it was installed, I want to be sure there are no registry values that could cause problems with the GUID after the builds.

I have HKLM\SOFTWARE\ and no Dell or Kace key. But AMPAgent.exe is running and the files are present in the Prog Files (x86)\Dell\Kace directory. There are references to it under some of the Classes\Source keys, and other stuff regarding the install but no UID.

2 Comments   [ - ] Hide Comments


  • For 64bit Windows machines the keys are under HKLM\Software\Wow6432Node\Dell\Kace.....
    Marco - StockTrader
  • Thanks. I haven't done the images for a few years and always forget about that Wow key. Very much appreciate it!
Please log in to comment

Answer this question or Comment on this question for clarity


when I run my sysprep I run a batch file to call the sysprep command and one of the other steps in the batch file is to delete the kace keys.  I have a few keys I delete just prior to sysprep so they do not put unwanted registry entries in the deafult users profile.

as a reg merge file:
Windows Registry Editor Version 5.00



Answered 12/12/2014 by: SMal.tmcc
Red Belt

Please log in to comment
The best way to do this would be to install the agent after the machine is imaged. But if it has to be included in an image, you can use the CLONEPREP setting similar to this:
msiexec /qn /i ampagent-5.3.xxxxx-x86.msi HOST=kboxhostname.company.com.msi CLONEPREP=1
CLONEPREP keeps the agent from populating the InstallID and MachineID keys upon install.

Answered 12/17/2014 by: jknox
Red Belt

  • That is kinda cool. I agree though about not having on the image in the first place ..if possible. I don't want to risk confusion between me and the techs when I hand this over to them. We'll stick with the absolute value of no agents on the image. But I'm keeping this in my pocket for testing in the future.

    I just searched, but didn't find much. Do you know if CLONEPREP=1 works for other MSI's? I mean I know it won't work/apply for all of course, but is it a comment thing to add to agent installs that are better left off images?
    • To my knowledge, it works on all agent installer MSI files 5.3 and above. The release notes and/or admin guides should confirm this.
Please log in to comment