Most of the worms, in particular the most famous, use known vulnerabilities in Windows services which are enabled by default and that often cant be disabled via the OSs configuration.
Even with these services patched with Microsoft security fixes, they are still exposed to the Internet at large ready to be exploited by the next exploit.
Windows Worms Doors Cleaner allows you to close these services the worms rely on.