How to recognise and remove malware or ransomware from your Windows PC
Summary
This guide helps you troubleshoot and resolve: How to recognise and remove malware or ransomware from your Windows PC. Follow the steps below to fix the issue.
Common Causes
Malware and ransomware are two of the most serious threats facing Windows PCs today. Malware (short for malicious software) can slow your computer, steal personal information, or give attackers remote access to your system. Ransomware is a particularly destructive type of malware that locks your files and demands payment for their release. Knowing how to spot the warning signs early and respond quickly can prevent data loss, financial harm, and extended downtime. This guide walks you through identifying an infection and removing it safely from your Windows PC.
Warning signs of infection
Malware and ransomware often announce themselves through unusual behaviour. If you notice any of the following, treat your PC as potentially compromised:
- Unexpected pop-ups, especially those warning of infections or demanding payment
- Files you cannot open, or files with strange new extensions (a common ransomware indicator)
- A ransom note demanding payment in cryptocurrency to unlock your data
- Your browser homepage or search engine has changed without your input
- Your PC is running unusually slowly, the fan is constantly loud, or CPU usage is high when idle
- Programs opening or closing on their own
- You cannot access Windows settings, Task Manager, or Control Panel
- Unknown programs appearing in your Start menu or system tray
- Friends or colleagues receiving strange messages from your email or social accounts
- Disabled or unresponsive antivirus software
What to do first
Before diving into cleanup, take a few precautions to limit the damage:
- Disconnect from the internet. Unplug the Ethernet cable or turn off Wi-Fi. This stops the malware from communicating with attackers or spreading to other devices.
- Disconnect external and network backup drives. Unplug USB drives and disconnect from network shares or backup locations. Ransomware can encrypt connected backups, making recovery impossible.
- Disconnect from shared networks. If you are at a workplace, unplug from any network drives or shared folders to prevent lateral spread.
- Do not delete unfamiliar files yet. Some files may be needed for diagnosis or recovery.
- Note what happened. Write down any suspicious emails, websites, or downloads you recall. This information helps with remediation.
Quick Fix Steps
If you suspect a routine malware infection (not ransomware), these steps can resolve many cases:
- Open Settings > Privacy & security > Windows Security > Virus & threat protection.
- Under Current threats, select Scan options and choose Microsoft Defender Offline Scan.
- Click Scan now. Windows will restart and run the scan before Windows loads, which is more effective against persistent malware.
- Once the scan completes, review any detected threats and select Remove or Quarantine.
- Restart your PC and run a second full scan using Microsoft Defender Antivirus to confirm the system is clean.
Shift while selecting Restart from the Start menu, then choose Troubleshoot > Advanced options > Startup Settings > Restart, and press 5 for Safe Mode with Networking.Detailed Instructions
Step 1: Boot into Safe Mode
Safe Mode loads Windows with only essential drivers and services, which prevents most malware from starting.
- Press
Win + Ito open Settings. - Go to System > Recovery.
- Under Advanced startup, click Restart now.
- After restart, choose Troubleshoot > Advanced options > Startup Settings > Restart.
- Press
4for Safe Mode, or5for Safe Mode with Networking if you need internet access for updates.
Step 2: Remove suspicious programs
- In Safe Mode, open Settings > Apps > Installed apps.
- Sort by Install date to find recently added programs.
- Look for anything you do not recognise or did not intentionally install.
- Click the three dots next to the suspicious app and choose Uninstall.
- Follow the prompts and restart when finished.
Step 3: Clear malicious startup items
- Press
Ctrl + Shift + Escto open Task Manager. - Click the Startup apps tab.
- Review each entry, paying attention to the Publisher column. Unknown or unsigned publishers are red flags.
- Right-click any suspicious entry and choose Disable.
- Repeat the process for scheduled tasks by opening Task Scheduler from the Start menu and reviewing tasks under Task Scheduler Library.
Step 4: Run a full antivirus scan
- Open Windows Security from the Start menu.
- Select Virus & threat protection > Scan options.
- Choose Full scan and click Scan now.
- Allow the scan to complete. This may take an hour or more on larger drives.
- Review the results and remove or quarantine any detected threats.
Step 5: Use a second-opinion scanner
No single antivirus engine catches everything. Running a reputable second scanner can catch threats Microsoft Defender missed. Keep these tools installed for ongoing layered protection if possible.
- Malwarebytes Free — available from malwarebytes.com. Run a full system scan and remove anything detected.
- ESET Online Scanner — a browser-based scanner that does not require installation.
Download, install, and run a full scan. Remove any threats identified.
Step 6: Check your browser for hijackers
- Open your browser (Edge, Chrome, or Firefox).
- Review your installed extensions:
- Edge:
edge://extensions - Chrome:
chrome://extensions - Firefox:
about:addons
- Edge:
- Remove any extensions you did not install or do not recognise.
- Reset your browser's homepage and search engine via Settings > Privacy, search, and services (Edge) or the equivalent in your browser.
- Clear browsing data, including cached files and cookies.
Step 7: Check for ransomware damage
If your files have been encrypted or renamed with strange extensions, ransomware may have run on your system.
- Do not pay the ransom. There is no guarantee files will be restored.
- Visit No More Ransom, a free resource provided by law enforcement and security companies to help victims recover encrypted data.
- Search the site for a decryption tool matching the ransomware variant or file extension found on your system.
Step 8: Ransomware recovery
If your files are encrypted and no decryption tool is available, recovery depends on your backups.
- Ensure the infected PC is fully cleaned and confirmed malware-free before reconnecting any backup drives.
- Do not connect external or network backup drives until the system is verified clean, as ransomware may encrypt them upon connection.
- If you have clean backups, restore your files from those backups after the system has been secured.
- If you do not have backups and no decryption tool exists, contact your MSP for professional assistance. Small businesses without an internal IT team should escalate immediately to limit data loss.
Post-cleanup security steps
After the infection is removed, take these steps to secure your PC and prevent reinfection:
- Change all passwords. Update passwords for your email, banking, social media, and any business accounts accessed from the infected PC.
- Enable multi-factor authentication (MFA). Turn on MFA wherever possible to add an extra layer of security to your accounts.
- Update Windows and all software. Go to Settings > Windows Update and install all available updates. Update third-party applications, browsers, and browser extensions.
- Educate users on phishing. Train staff to recognise suspicious emails, avoid clicking unknown links, and verify unexpected attachments before opening them.
- Review your backup strategy. Ensure backups are running regularly and that at least one copy is stored offline or in a separate network segment to protect against future ransomware attacks.
If you are unsure about any step in this process, or if the infection persists after following this guide, Open a Ticket for assistance from your MSP.
Still Having Issues?
💻 Open a Ticket