My machine has a virus or ransomware — what is the first step?

Answered by Engineer Saeed Baatiah — computer engineer and web and mobile developer in Riyadh, serving clients inside Saudi Arabia.

Everyday IT Support and Small Technical Jobs

My machine has a virus or ransomware — what is the first step? — answered by Engineer Saeed Baatiah

The first step is to **disconnect the machine from the network immediately** — pull the cable or switch off Wi-Fi. Ransomware spreads to shared devices and drives, and minutes matter. Do not pay the ransom and do not keep rebooting. Do not attach a backup drive to the infected machine, because it will be encrypted too. Then photograph the screen and keep the ransom note text — it can identify a strain with a known decryption tool. Message me before anything else: wa.me/966573784181

Why disconnecting comes first: ransomware looks for shared drives and other machines on the same network and encrypts them too. One infected machine attached to an office network can turn a single-device problem into a total outage within minutes. Pull the cable or switch off Wi-Fi before thinking about any fix — the order here determines the size of the loss.

And three mistakes that increase the loss: repeated rebooting (some strains continue encrypting on each boot), attaching the backup drive to the infected machine so it is encrypted too and you lose your last line of defence, and paying the ransom — which guarantees nothing and confirms to the attacker that you are a profitable target. Keep the ransom note text and photograph the screen: some strains have free published decryption tools, and identifying the strain is the real first step.

And once contained, the important question: how did it get in? The commonest routes are an email attachment, software downloaded from an unofficial source, or a remote-desktop service exposed to the internet behind a weak password. Fixing the entry point matters more than cleaning the machine — cleaning without closing the door means the incident repeats.

  • Disconnect from the network immediately — before anything else
  • Do not attach the backup drive to the infected machine
  • Do not pay the ransom and do not keep rebooting
  • Keep the note text — some strains have free decryption tools
  • Fix the entry point, not just the machine, or it recurs

Last updated:

Want to Apply These Insights to Your Business?

I offer free consultations to discuss your current digital presence and how to improve it with minimal cost and maximum ROI.

Direct WhatsApp: wa.me/966573784181