The majority of infected computers form WannaCry was windows 7, its a common misconception that windows xp was the most hit. But never the less I don't see how this scanner could of prevented that unless he added EnternalBlue etc to the scanner once smb was found to be open.
Uhmm.... so, it detects WindowsXP installations?