Video Screencast Help

Remove registry entries of uninstalled software on remote machines

Created: 11 Feb 2013 • Updated: 02 Mar 2013 | 7 comments
kishorilal1986's picture
This issue has been solved. See solution.
Hi All,
Please help me regarding mentioned subject and requirement is as follows
I have uninstalled some symantec software using some uninstall script which uninstall the software but sometime keeps registry entries in registry DB. 
How can i remove/clean such entries of uninstalled software from registry on remote machine.I wanted to do this operation from machine to all remote machine using some script / tools.
Please provide me any software/ script/tool to get this task. 

Comments 7 CommentsJump to latest comment

mclemson's picture

Create a software resource, including the removal script as part of the package, and then write an uninstall command line that runs the script you included in the package.  Create a detection rule that detects when registry entries are present.  Save the software resource.  Create a managed software delivery policy for the software resource and assign it to all computers.  It will execute on all computers and, if the registry entries are found (detection rule = true), the uninstall command line will run, running the script and removing the registry entries.

Be sure to test and pilot before assigning to all computers in production to ensure you have the expected behavior.  Does this answer your question?

Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner

kishorilal1986's picture

Hi MC ,

can u provide me some script/batch file for registry removal

AngelD's picture

Using the build-in reg.exe command (on windows) would be easy to delete the reg-key/value

To delete the regkey "HKLM\Software\regkey_to_detele" on the computer named "ComputerName" this would look like:

REG DELETE \\ComputerName\HKLM\Software\regkey_to_detele /va /f

kishorilal1986's picture

I am aware about above things but can anyone provide me batch file/script for the same.

AngelD's picture


Create a file called myscript.cmd, edit the file and enter the command you which to execute.

kishorilal1986's picture

Thanks al and specially Angel ID, but above things are not sufficient.

Above al thing already I have reserached and made on a script which runs perfectly as per my expectation.

Again thanks to all