How to delete Registry entry with Regular Expression
Hello, I would like to delete 2 registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@java.com/JavaPlugin,version=10.6.2HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@java.com/DTPlugin,version=10.6.2 I can do that with a .reg file or with the reg.exe delete command from the command line for this specific version. The problem is that we have to delete this entry for many PCs and the have different versions: @java.com/DTPlugin,version=X.Y.Z Is there any way I can delete them with reg.exe command or .reg file using some kind of regular expression like reg delete hklm\SOFTWARE\MozillaPlugins\@java.com* where the "*" would be any string after that. Would appreciate any help on this. Thx, hugo
August 29th, 2012 4:35pm

Can you try exporting the entries to a text file on the fly , use some string manipulation tools to pick the required entries and then use them to perform the delete?Janaki Hariharan
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 2:04am

Hi, I suppose these function can be done by an script. I hope you would find an answer at the Windows Script forum. .Your Name TechNet Community Support
August 31st, 2012 12:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics