Kace Agent Registry entry missing
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 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
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago
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:
as a reg merge file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Wow6432node\SOFTWARE\dell\kace]
"InstallId"=-
"MachineId"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\dell\kace]
"InstallId"=-
"MachineId"=-
Posted by:
jknox
10 years ago
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:
http://blog.kace.com/2012/05/24/options-for-deploying-the-k1000-agent/
msiexec /qn /i ampagent-5.3.xxxxx-x86.msi HOST=kboxhostname.company.com.msi CLONEPREP=1CLONEPREP keeps the agent from populating the InstallID and MachineID keys upon install.
http://blog.kace.com/2012/05/24/options-for-deploying-the-k1000-agent/
Comments:
-
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? - murbot 10 years ago-
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. - jknox 10 years ago
Regards,
Marco - StockTrader - StockTrader 10 years ago