Fix "We Can't Verify Who Created This File" Error
In this article
To fix the "We can't verify who created this file" error in Windows, you need to unblock the file in its Properties dialog. This error appears when Windows blocks a file downloaded from the internet or transferred from another computer because it lacks a valid digital signature or originates from an untrusted source. The fix is quick: right-click the file, select Properties, check Unblock in the General tab, and click OK. If the Unblock checkbox is missing, you may need to clear the file's alternate data stream (ADS) using PowerShell or use the Unblock-File cmdlet. Below are detailed steps for both methods, plus what to do if the error persists.
What You'll Need
- Access to the file in question (you need to be able to right-click it).
- Administrator rights on the computer (for the PowerShell method).
- Windows 10 or Windows 11 (steps are similar on older versions, but menus may differ slightly).
Step-by-Step
Method 1: Unblock via File Properties (Easiest)
- Locate the file that shows the error. It might be an executable (.exe), a script, or a document.
- Right-click the file and select Properties from the context menu.
- In the General tab, look for a section labeled Security at the bottom. If the file was downloaded from the internet, you'll see a checkbox next to Unblock.
- Check the Unblock checkbox.
- Click Apply, then OK.
- Try opening or running the file again. The error should be gone.
Method 2: Use PowerShell to Unblock the File
If the Unblock checkbox is not visible (this can happen if the file is on a network drive or if the zone identifier is not set), you can use PowerShell to remove the block.
- Open PowerShell as an administrator. Press Windows + X and select Windows Terminal (Admin) or PowerShell (Admin).
- If you're not sure of the exact file path, navigate to the folder containing the file in File Explorer, then hold Shift and right-click the file. Select Copy as path.
- In PowerShell, type the following command and press Enter:
Unblock-File -Path "C:\path\to\your\file.exe"
Replace the path with the actual path to your file. For example:Unblock-File -Path "C:\Users\John\Downloads\setup.exe" - If you want to unblock all files in a folder, use:
Get-ChildItem -Path "C:\folder\path" | Unblock-File - Close PowerShell and try opening the file again.
Method 3: Clear the Zone.Identifier Stream Manually
If the above methods don't work, you can manually remove the hidden data that marks the file as coming from the internet.
- Open Command Prompt as administrator (type "cmd" in the Start menu, right-click, and select Run as administrator).
- Navigate to the folder containing the file using the
cdcommand. For example:cd C:\Users\John\Downloads - Type the following command and press Enter:
type file.exe > file2.exe
Replacefile.exewith your file's name andfile2.exewith a new name. This copies the file content without the zone identifier. - Delete the original file and rename the new file to the original name. For example:
del file.exe
ren file2.exe file.exe - Now try opening the file. The error should be resolved.
Common Mistakes
- Skipping the Unblock checkbox – Many users miss the checkbox because it's at the bottom of the General tab, below the file attributes. Make sure to scroll down if needed.
- Using the wrong PowerShell path – If you type the path incorrectly, PowerShell will show an error. Use the "Copy as path" feature to avoid typos.
- Unblocking the wrong file – If you have multiple files with the same name, double-check you're unblocking the one that's actually causing the error.
- Forgetting to close and reopen the file – After unblocking, you may need to close the file if it's already open, or close and reopen the application that uses it.
Tips
- Check the file's source – The error is a safety feature. Only unblock files you trust. If you're unsure, scan the file with your antivirus before unblocking.
- Use the right-click menu – In some Windows versions, you can right-click a file and select Properties > Unblock directly, without opening the full Properties dialog.
- For multiple files – If you have many files from the same source, you can unblock them all at once by selecting them all, right-clicking, and choosing Properties. The Unblock checkbox will appear if any of them are blocked.
- Network drives – Files on network shares may not have the Unblock checkbox. In that case, use the PowerShell method.
Troubleshooting
If the error persists after trying the steps above, here's what to do:
- Check if the file is actually signed – Right-click the file, go to Properties > Digital Signatures. If it says "No signatures", the file is unsigned. Unblocking it will still work, but Windows may warn you again when you run it. You may need to click More info and then Run anyway on the SmartScreen prompt.
- Clear the file's attributes – In Command Prompt, run
attrib -r -s -h file.exe(replace with your file name) to remove read-only, system, and hidden attributes that might interfere. - Move the file to a local drive – If the file is on a network share or USB drive, copy it to your local disk (e.g., Desktop) and try unblocking there.
- Restart your computer – Sometimes the zone identifier is cached. A restart can clear it.
- Check Group Policy – In some corporate environments, administrators may block unblocking. If you're on a work computer, contact your IT department.
Frequently Asked Questions
Why does this error appear?
Windows adds a hidden marker (called a Zone.Identifier) to files downloaded from the internet or received via email. This marker tells Windows the file may be unsafe, and the "We can't verify who created this file" error is a warning that the file's publisher is unknown.
Is it safe to unblock a file?
Only unblock files you trust. If you downloaded the file from a reputable source, unblocking is generally safe. If you're unsure, scan the file with antivirus software first.
What if the Unblock checkbox is grayed out?
This can happen if you don't have permission to change the file's properties, or if the file is on a network drive. Try copying the file to your desktop, or use the PowerShell method with admin rights.
Can I unblock all files in a folder at once?
Yes. In PowerShell, run Get-ChildItem -Path "C:\folder" | Unblock-File. This will unblock every file in that folder.
Will unblocking remove the file's digital signature?
No. Unblocking only removes the zone identifier. The digital signature (if any) remains intact. If the file is signed, you'll see the signature in the Digital Signatures tab.
Does this error appear on Mac or Linux?
No. This is a Windows-specific error. Mac uses a similar quarantine feature (Gatekeeper) but with a different message. Linux typically doesn't block files this way.
What if the file is from a CD or DVD?
Files from optical discs usually don't have the zone identifier, so the error shouldn't appear. If it does, the disc may have been burned with the identifier, and you can unblock it using the same steps.