Using the K1000 to disable or even remove a service on clients
Our enterprise deployed Microsoft's UPHClean (User Profile Hive Cleanup) utility prior to a domain migration on all our Windows XP/Server 2003 hosts. In most instances, this application, even though it was deployed using msiexec, does not show up in Add/Remove Programs but is still active as a system service.
I would like to clean this service off of all our hosts as it serves no purpose and is causing some small havoc on certain hosts as it's still looking for the old domain. However, it does not show up in K1000 inventories of installed software on the affected hosts. Is there a way I can use the K1000 to remove or at the very least disable this service on every host in our domain where it still resides?
My research so far has not been successful.
From tshupp: 1) Create a Custom Inventory rule using the following syntax: RegistryKeyExists (HKLM\System\CurrentControlSet\Services\UPHClean) 2) Create a new Machine Smart Label in K1000 to find KACE clients that match the Custom Inventory Rule. From SMal.tmcc: 3) Under K1000 Scripting choose the Configuration Policy tab and then select "Enforce Registry Settings" to create your script that you'll apply against the Smart Label clients. 4) Syntax for the script in this particular case (disabling the service) should be: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UPHClean] "Start"=dword:00000004 5) Make sure to include the line break after the registry location. Save the script and apply it after testing.
Community Chosen Answer
I believe it creates a registry key and subkeys at:
You could create a custom inventory rule to identify machines with that key. That would ID the systems with it installed. Then use managed installs to remove via command line. There are a few uninstall strings found here, under inventory records:
I'd take a look again for a software entry, though... as those inventory records are reported by customers' K1000s.