Microsoft's customer guidance for WannaCrypt attacks :   - makes available patches for Windows XP, Windows 8 and Windows Server 2003 . 

Also you may have read that the Wannacrypt attacks were disabled by a researcher registering a domain address. However, the underlying vulnerabilities still needs to be patched for different variants of the Wannacrypt ransomware that will likely be released.

https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/