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”

