Chicago (Midwest) Data Loss Prevention User Group

 View Only
  • 1.  Remove registry entries of uninstalled software on remote machines

    Posted Feb 11, 2013 02:13 AM

     

    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. 


  • 2.  RE: Remove registry entries of uninstalled software on remote machines

    Posted Feb 11, 2013 01:43 PM

     

    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?



  • 3.  RE: Remove registry entries of uninstalled software on remote machines

    Posted Feb 17, 2013 09:01 AM

    Hi MC ,

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



  • 4.  RE: Remove registry entries of uninstalled software on remote machines
    Best Answer

    Posted Feb 17, 2013 12:27 PM

    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

     



  • 5.  RE: Remove registry entries of uninstalled software on remote machines

    Posted Feb 18, 2013 11:15 AM

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



  • 6.  RE: Remove registry entries of uninstalled software on remote machines

    Posted Feb 18, 2013 12:54 PM

    Seriously!?

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



  • 7.  RE: Remove registry entries of uninstalled software on remote machines

    Posted Mar 02, 2013 04:57 AM

    Thanks all, I have created myself a script for the same.



  • 8.  RE: Remove registry entries of uninstalled software on remote machines

    Posted Mar 02, 2013 04:57 AM

    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