You're right I was wrong about MSE which was the Windows 7 era. But Windows Defender was released in 2005 and was a rebrand of Microsoft AntiSpyware, which itself was a rebrand of GIANT AntiSpyware.
The version of Windows Defender that came with Vista was a bit different and included realtime scanning when executables were run.