I need help with creating a script that will delete a registry entry based on entry name. Reason, we are having issues installing adobe flash through SCCM. Researching the issue, we found that rouge entries of Adobe 11 under HKEY_CLASSES_ROOT\Installer\Products is the cause, if we delete those entries and then deploy the latest version it works perfect.
The problem is that under HKEY_CLASSES_ROOT\Installer\Products\ the next key varies based on the version of Adobe flash. So Adobe
(HKEY_CLASSES_ROOT\Installer\Products\A180D90768E45F34D976E6FA74EE85E5) could be version 22.214.171.124 and then it changes based on older and newer versions of 11.
Instead of manually going through half of our organization, is there a script that will run and delete entries under HKEY_CLASSES_ROOT\Installer\Products with the name "Adobe Flash Player 11 " as that is listed as product name under the key.
Thanks in Advance for you help.