Click here for important information about

Registry Key for Security Center

June 26, 2011 at 03:46:22
Specs: Windows 7 XP \vista, na
Hi, i'm looking for a way to list the name of the product stored in the Security Center Anti Virus section, the reason being, i'm looking for a way to automate the removal of AV software so my job of reinstalling is much easier.

i.e. use FOR statement to list the product name via reg query
use stored FOR reg query result to find the uninstall string and start the command for removal.

Many thanks


See More: Registry Key for Security Center

June 30, 2011 at 05:20:14
OK, through trial and error, I've got the registry keys and the program that accesses them and have integrated them together in a nested FOR /F command.

Yaye me.

However, the resultant key that is given to me which is the uninstall string for the currently installed antivirus, I can't seem to run it using the standard START /D command as the uninstall string contains switches...

"C:\program files (x86)\antiviruscompany\antivirusproduct.exe /remove"

and the START /D command needs it in the following format:

START /D "C:\program files (x86)\antiviruscompany\" antivirusproduct.exe

how would I get the fig1 into fig2 format and work with the switch command?

Report •
Related Solutions

Ask Question