What untrusted files are and why they matter
An untrusted file is a program, script, or document your operating system has flagged as potentially dangerous because it came from the internet or an unknown source, or because its origin cannot be verified. Windows, macOS, and Linux all maintain records of which files they consider risky. These files are not automatically blocked — you can still open them — but the system warns you first so you can decide whether to proceed.
Untrusted files matter because they can carry malware, ransomware, or spyware. A file downloaded from a suspicious website, sent in an email attachment, or obtained through a peer-to-peer network may have been modified by someone with harmful intent. Even legitimate software can be flagged if it was not signed by a trusted publisher or if your system has never seen it before.
Checking your system for untrusted files is a way to review what you have downloaded or installed and decide whether each one is actually something you want to keep. It is not a substitute for antivirus software, but it is a practical step you can take yourself without special tools.
Key Takeaways
- Windows shows untrusted files in File Explorer with a "blocked" indicator, and you can unblock them one at a time in the file properties dialog.
- macOS quarantines files downloaded from the internet and stores them in a quarantine folder you can review and delete.
- You can search your Downloads folder and recent files for items you do not recognize, which is often where untrusted files end up.
- Antivirus software can scan your entire system for suspicious files, but built-in OS tools let you review flagged files manually first.
- If you are unsure whether a file is safe, checking the publisher's website or running it through a file scanner before opening it is safer than opening it blind.
How Windows marks and stores untrusted files
When you download a file in Windows, the system attaches metadata called the Zone Identifier that marks where it came from. Files from the internet, email, or instant messaging are tagged with this marker. Windows does not automatically delete or quarantine these files — they sit in your Downloads folder or wherever you saved them — but File Explorer shows a warning icon next to them.
To see which files are marked untrusted in Windows, open File Explorer and navigate to your Downloads folder. Look for files with a small shield icon or a warning badge. Right-click any file and select Properties. At the bottom of the General tab, you may see a message that says "This file came from another computer and might be blocked to help protect your computer." If you see this, the file is flagged as untrusted.
Windows does not keep a central list of all untrusted files across your system — you have to find them by browsing folders. The Downloads folder is the most common place, but files can also be marked if they arrived as email attachments or were extracted from a ZIP file downloaded from the internet. If you want a full scan, you will need to use antivirus software or Windows Defender, which can search your entire hard drive.
How macOS quarantines downloaded files
macOS takes a different approach. When you download a file, the system quarantines it — meaning it marks the file as untrusted and prevents it from running until you explicitly allow it. The file itself stays in your Downloads folder, but macOS keeps a record of its quarantine status in a hidden attribute.
The first time you try to open a quarantined file on macOS, a dialog appears asking "Are you sure you want to open it?" This is macOS telling you the file came from the internet and has not been verified. You can click Open to proceed, or Cancel to stop. Once you open a file, macOS removes the quarantine flag and will not ask again.
To see which files are currently quarantined, open Terminal and run the command ls -la@ ~/Downloads to list files with extended attributes. Files with a com.apple.quarantine attribute are flagged. You can also use the Finder to browse your Downloads folder and look for files you do not recognize, then delete them before opening. If you want to remove the quarantine flag from a file without opening it, run xattr -d com.apple.quarantine /path/to/file in Terminal.
Scanning your Downloads folder and recent files
The fastest way to find untrusted files is to look where they usually land: your Downloads folder. Open File Explorer (Windows) or Finder (macOS) and navigate to Downloads. Sort by date modified so the newest files appear at the top. Look for files you do not remember downloading, files with unfamiliar names, or files with unusual extensions like .exe, .msi, .dmg, .pkg, or .sh.
On Windows, you can also check your Recent files. Press the Windows key and type Recent, then open the Recent files folder. This shows files you have opened or downloaded in the last few weeks. Delete anything you do not recognize.
On macOS, open System Settings, go to General, then Login Items and Allow in the Dock to see what programs are set to run automatically. If you see something unfamiliar, remove it. You can also check System Settings > General > Software Update > Automatic Updates to see what has been installed recently.
Using antivirus and built-in security tools
Windows Defender (built into Windows 10 and 11) can scan your entire system for untrusted and malicious files. Open Windows Security by pressing the Windows key and typing Windows Security. Click Virus & threat protection, then Scan options. Choose Full scan to check every file on your drive, or Quick scan to check common infection locations. The scan can take 30 minutes to several hours depending on your drive size.
macOS includes XProtect, which automatically scans files you download and open. You cannot run XProtect manually, but it works in the background. For a more thorough check, you can download free antivirus software like Malwarebytes or ClamXav and run a full system scan.
Third-party antivirus programs like Norton, McAfee, Kaspersky, or Bitdefender offer more detailed reports about which files are untrusted and why. They can quarantine suspicious files automatically and show you a list of everything they found. If you are concerned about your system, running one of these scans is more thorough than checking manually.
What to do if you find an untrusted file
If you find a file you do not recognize, the safest choice is to delete it. Right-click the file and select Delete (Windows) or drag it to Trash (macOS). Empty your Recycle Bin or Trash afterward to remove it permanently.
If you are unsure whether a file is safe but think you might need it, you have a few options. You can upload the file to VirusTotal.com, a free service that scans files using 70+ antivirus engines and shows you the results. This takes a few seconds and does not install anything on your computer. If multiple antivirus engines flag it as malicious, delete it. If none do, it is probably safe to open.
You can also search the internet for the file name plus "malware" or "virus" to see if others have reported it as dangerous. If the file is a program you actually want, visit the publisher's official website and download a fresh copy from there instead of using the untrusted version you found.
On Windows, if you want to unblock a single file you trust, right-click it, select Properties, and check the box that says Unblock at the bottom of the General tab. This removes the untrusted flag. Do this only for files you are confident about.
Preventing untrusted files from accumulating
The best way to manage untrusted files is to avoid downloading them in the first place. Be cautious about email attachments from people you do not know, links in unsolicited messages, and downloads from unfamiliar websites. If a website looks suspicious or asks you to disable your antivirus, leave it.
Keep your Downloads folder clean by deleting files you no longer need. Once a month, open Downloads, sort by date, and remove anything older than a few weeks that you have not used. This reduces clutter and makes it easier to spot new untrusted files.
Enable automatic updates for your operating system and antivirus software. Windows Update, macOS Software Update, and antivirus programs release patches that close security holes and improve detection of new threats. Keeping your system current is one of the most effective ways to stay safe.
Frequently Asked Questions
Can I get infected just by downloading a file without opening it?
No. Simply downloading a file does not execute it or give it access to your system. You have to open or run the file for it to do anything. However, some file types like .exe, .msi, .dmg, and .pkg are designed to install software, so opening them can be risky if you do not trust the source.
What does "blocked" mean in Windows file properties?
It means Windows detected that the file came from the internet or another computer and has not verified the publisher. The file is not deleted or quarantined — it is just flagged. You can unblock it in properties if you trust it, but do this only for files you are sure about.
Is it safe to open a file if VirusTotal says it is clean?
VirusTotal is a good indicator, but not a may provide. If multiple antivirus engines flag a file as malicious, do not open it. If none do, the file is probably safe, but there is always a small risk with files from unknown sources. Use your judgment based on where the file came from.
Do I need antivirus software if I check my system manually?
Manual checking is useful, but antivirus software is more thorough because it can scan your entire system automatically and detect threats you might miss. Antivirus is especially important if you download files frequently or visit unfamiliar websites.
What should I do if antivirus software finds a threat?
Most antivirus programs will quarantine the file automatically, meaning they move it to an isolated folder where it cannot run. Review the scan report to see what was found, then delete the quarantined files. If the threat is in a program you use regularly, uninstall that program and download a fresh copy from the publisher's official website.