The governments of the world should treat the cyber attack as a "wake-up call", the president of Microsoft has said.
In a blog post Brad Smith wrote that after a vulnerability was identified a security update was released for newer Windows systems, but "many remained unpatched globally".
Mr Smith continued that engineers had been "working around the clock" to try and help all Micorsoft customers affected by the attack and that "broader and important lessons" should be learnt from the "WannaCrypt" malware.
He continued that users must ensure they update their computer's security systems regularly.
Mr Smith stressed that governments must report vulnerabilities in their computer systems to the companies they have bought them from.
He finished by saying: "We should take from this recent attack a renewed determination for more urgent collective action.
"We need the tech sector, customers, and governments to work together to protect against cybersecurity attacks.
"More action is needed, and it’s needed now.
"In this sense, the WannaCrypt attack is a wake-up call for all of us."
Hospitals have stopped diverting patients following last week's cyber attack which crippled many NHS Trusts' IT systems.
A young computer expert from north Devon who was hailed a hero for helping to stop the global cyber attack said he was just "doing my bit".
One surgery has no access to medical records.