REM State

04 Jun

Windows Defender

Another anti-badware piece of software offered by Microsoft itself is good ol’ Windows Defender. This is an MSI that uses a somewhat standard property to control the installation directory, but there’s a twist in that it opens up a GUI after installation is complete. Thus, we need to take an extra step to kill the window — the full command sequence is as follows:

start /wait msiexec /qn /i WindowsDefender.msi TARGETDIR="D:\Program Files\Windows Defender"
SLEEP 5
TASKKILL /FI “WINDOWTITLE eq Windows Defender”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Comment Preview:

© 2009 REM State | Entries (RSS) and Comments (RSS)

Global Positioning System Gazettewordpress logo