Module 8 · USB Drives and External Storage · Lesson 33 of 39

Scanning flash drives for viruses

Protect your computer from infected drives: scan before opening, turn on automatic scans and real-time protection, and never run unknown programs from a drive.

In this lesson · about 8 minutes

  • Scan a USB drive with antivirus software
  • Turn on real-time protection and automatic scanning
  • Avoid running unknown files or programs from a drive
  • Know when to format a suspicious drive
To do thisOn WindowsOn a Mac
Scan the driveIn File Explorer, right-click the drive → Show more options → Scan with Microsoft DefenderMacs scan for known threats automatically (XProtect). For extra checks, use a reputable antivirus app's scan option
Check real-time protection is on⊞ Start → Windows Security → Virus & threat protection → Manage settings → Real-time protection: OnKeep macOS up to date: System Settings → General → Software Update, with automatic updates on
Auto-scan drivesReal-time protection checks files as you open them. Many antivirus apps also have a setting to scan removable drives when connectedSame in third-party antivirus apps, if you use one

Decision scenario

A USB stick in the car park

You find a USB stick on the ground outside your office. It's labelled 'Salaries 2026'.

You're curious, and it might belong to a colleague. What do you do?

What do you recommend?

0 of 3 options explored. Try the others to see how each would play out.

Check your understanding0 of 3 correct

Question 1

1.A friend lends you a USB drive. What should you do before opening its files?

Question 2

2.Which file on a borrowed drive is the riskiest to open?

Question 3

3.What does real-time protection do?

Quiz score: 0 of 3

Tip: answer every quiz question correctly first.

Written by Noviq Academy in its own words. Steps are for Windows 11 and recent versions of macOS; menus can look slightly different on other versions. Lumen Photo Editor, lumenapps.com and the other sites, files and people in the practice tools are made up. Windows, Mac, ChatGPT, Gemini, Copilot, Claude, Grok and other product names belong to their owners. Read-aloud uses your device's built-in voices.