In many Ugandan offices and homes, a computer gets infected the same way: someone brings a flash disk from the printing shop, plugs it in, and within a week files have turned into shortcuts and the machine has slowed to a crawl. Learning how to keep your computer free from viruses is mostly about building a few good habits and setting your computer up properly. This guide covers both, whether you use Windows or a Mac, at home, in a school or in a busy Kampala office.
Understanding the threat: what counts as a computer virus?
People say "virus" for any harmful software, but there are several types worth knowing:
- Viruses and worms: programs that copy themselves and spread, often through flash disks and shared folders.
- Shortcut viruses: a common problem in Uganda, where files on a flash disk appear as shortcuts and the real files are hidden.
- Trojans: harmful software disguised as something useful, such as a free game or a "crack" for paid software.
- Ransomware: locks your files and demands payment to unlock them. This is especially damaging for businesses.
- Spyware and keyloggers: secretly record what you type, including passwords and banking details.
- Adware: floods you with pop ups and changes your browser home page.
The five main ways computers get infected
- Flash disks and external drives that have been used on infected machines, such as public computers in cyber cafes and printing shops.
- Pirated software and "cracked" versions of Windows, Office, Photoshop or games, which very often carry hidden malware.
- Email attachments and links in messages pretending to be invoices, delivery notices or bank alerts.
- Fake download buttons on movie, music and free software websites.
- Outdated systems that no longer receive security updates.
If you close these five doors, you prevent most infections.
Your setup checklist: do this once
1. Turn on built in protection
On Windows 10 and 11, Microsoft Defender (Windows Security) is free and built in. Open Start, type "Windows Security" and check that Virus and threat protection shows a green tick. Make sure real time protection is on. If you prefer a different antivirus, choose a well known, reputable product and install only one, because two antivirus programs can conflict.
Macs include built in protections too. Keep them on, and only install apps from the App Store or identified developers.
2. Turn on automatic updates
- Windows: Settings, Windows Update. Install pending updates and keep automatic updates on.
- Mac: System Settings, General, Software Update.
- Update browsers such as Chrome, Edge and Firefox, and apps like Zoom and PDF readers.
If data costs are a concern, schedule updates to run when you are connected to office WiFi or using a night bundle, but do not skip them.
3. Use a standard user account for daily work
Most people use their computer as an administrator. If malware runs while you are logged in as admin, it can do more damage. Create a standard account for daily use and keep the admin account for installing software.
4. Show file extensions
In Windows File Explorer, go to View and turn on File name extensions. This helps you spot tricks like "invoice.pdf.exe", which looks like a PDF but is actually a program.
5. Stop flash disks from auto running
Open Settings, Bluetooth and devices, AutoPlay, and turn AutoPlay off. This prevents a flash disk from automatically opening or running anything when inserted.
Your daily habits: do this always
- Scan every flash disk before opening it. Right click the drive and choose scan with your antivirus.
- Avoid cracked software. Use free alternatives such as LibreOffice, GIMP or VLC instead of pirated programs.
- Download from official sites only. Get software from the developer's website or the Microsoft Store.
- Pause before clicking. Be suspicious of emails that create urgency, contain spelling errors or come from unknown senders.
- Use a strong password on your computer and lock it when you step away.
- Do not ignore warnings. If your browser or antivirus warns about a site or file, take it seriously.
Back up like your files depend on it
Even the best protection can fail, especially against ransomware. Backups are your safety net:
- Keep important files in a cloud service such as OneDrive or Google Drive, which keeps older versions.
- Also keep a copy on an external hard drive, and unplug it after the backup so ransomware cannot reach it.
- Test your backup occasionally by restoring a file.
For businesses, the website and email deserve the same thinking. Baasa Cloud hosting includes daily backups, so a problem on a staff computer does not take your website or mailboxes down with it.
Signs your computer may already be infected
- It is suddenly much slower than usual.
- Files on flash disks appear as shortcuts.
- Pop ups appear even when the browser is closed.
- Your browser home page or search engine has changed by itself.
- Antivirus has been switched off and will not turn back on.
- Files have strange new extensions and will not open.
- Friends receive emails from you that you did not send.
What to do if your computer has a virus
- Disconnect from the internet and network to stop it spreading to other machines.
- Run a full scan with Windows Security, and an offline scan if available.
- Remove suspicious programs from Settings, Apps.
- Reset browsers to remove unwanted extensions.
- Change passwords from a clean device, especially email and banking.
- Restore files from backup if anything was damaged.
- Reinstall Windows if problems persist. It is often faster than fighting a stubborn infection.
- Get professional help for ransomware or business machines with sensitive data.
Tips for offices, schools and cyber cafes
- Use a shared policy: no unscanned flash disks, no unapproved software.
- Keep every machine updated and protected, not just the boss's laptop.
- Use shared cloud folders instead of passing flash disks around.
- Train staff to recognise phishing emails.
Frequently asked questions
Is Windows Defender enough?
For most home users and small offices, Microsoft Defender combined with updates and safe habits provides good protection. Larger businesses may want centrally managed security tools.
How do I fix the shortcut virus on my flash disk?
Scan the flash disk with your antivirus, then show hidden files to recover your originals. Copy them to a safe place and format the flash disk before using it again.
Can Macs get viruses?
Yes, although they are targeted less often than Windows. Keep macOS updated and avoid pirated apps.
Conclusion
Keeping your computer free from viruses comes down to a solid setup and steady habits: built in antivirus switched on, updates installed, flash disks scanned, cracked software avoided and backups kept. Do these things consistently and most threats simply will not get in, and if one does, you will recover quickly.