The Open File - Security Warning prompt can appear because Windows marked a downloaded file as coming from the internet. For a file you've checked and trust, open its Properties, select Unblock on the General tab, and apply the change.
That removes the file's internet download mark. A prompt asking to change the computer, an antivirus detection, or a Windows protected your PC screen needs a different response. Read the window's title before changing a setting.
In this guide
Identify the warning and check the downloaded file
The Open File - Security Warning window asks whether to open or run a file. It can list the name, publisher, type, and location.
If it says the publisher is unknown, Windows hasn't identified a trusted publisher for that file. Check more than the filename.
Before unblocking, confirm the download matches your intended maker or sender, check its complete extension, and scan it with your security software. Leave unexpected attachments and files flagged as harmful unopened.
In Windows 11 File Explorer, select View > Show > File name extensions. On Windows 10, select File name extensions on the ribbon's View tab. Read the final ending, especially when the file claims to be a document.
The file extension guide explains misleading names that look like documents but end in EXE. Even with a familiar document icon, an EXE file is a program.
Right-click the download. With Defender as your antivirus, use Scan with Microsoft Defender, opening Show more options first when needed. Use the corresponding scan command if your computer uses another security product.
If the file checks out and the repeated warning is the problem, continue to its Properties. A malware warning needs the security product's advice instead of this file-unblocking procedure.

Remove the block through the file's Properties
Find the actual downloaded file in File Explorer. For a shortcut, locate the file it launches instead of editing just that shortcut. A shortcut's Target field identifies the location of its program.
- Right-click the file and select Properties.
- Open the General tab.
- Look for the security notice near the bottom and select Unblock.
- Choose Apply, then OK.
The security notice describes the file as coming from another computer, with a possible block for protection. Microsoft's Attachment Manager instructions describe this General-tab repair.
Open the same file again from the same location. If that mark caused the prompt, removing it should stop this file's repeated warning. A fresh download or another copy may have its own mark.
The Properties route also works in Windows 10. The right-click menu looks different, but the setting is on the file's General tab. Leave Compatibility alone; this setting doesn't involve the program's compatibility mode.
I'd use Properties for one file because you can see exactly which item you're changing. Leave other downloads' security information alone.
Choose PowerShell to specify the file directly
The alternative command is Unblock-File. It removes the same internet download mark from the file you name. Use it for a known file when selecting its complete path is easier than navigating the Properties window.
Open Start, type PowerShell, and launch Windows PowerShell. Enter the command with your actual file path. This is a placeholder example, so replace the path before running it:
Unblock-File -LiteralPath 'C:\Users\YourName\Downloads\TrustedFile.exe'
Keep the single quotation marks around a path containing spaces. -LiteralPath uses the exact path you give it. Special characters in the filename won't be treated as wildcards that match other files.
The command normally produces no output when successful. Try opening the intended file afterward and compare its Properties. If you get a missing-file error, correct the path. The command hasn't removed the mark from your intended file.
For Access denied, check whether your account can modify that file or ask its administrator to handle it. Avoid taking ownership of a protected folder just to dismiss this prompt. Ask IT to handle restrictions on a work computer.
If the file wasn't blocked, Unblock-File doesn't turn it into a different type or repair its contents. An error about a missing component or an invalid installer requires a separate repair once this prompt is resolved.
Keep other Windows security prompts separate
User Account Control requests permission for an app to change the device. Removing the download mark doesn't give it administrator permission. An app that needs that permission can still ask for approval afterward.
If you can't select a shortcut's administrator option, the Run as administrator checks address that different control. Unblocking a file isn't a way to give your account extra rights.
Microsoft Defender SmartScreen checks downloads and apps for reputation and other risks. Its Windows protected your PC screen differs from Open File - Security Warning. The warning's title determines which repair applies.
An antivirus detection or organization policy can also stop a program. If your security software names a threat, send those details to the software maker or IT. Removing a download mark won't address that warning.
For this task, keep system-wide download protection enabled. You're changing only the file you've checked. Disabling Attachment Manager or broadly changing internet-zone settings changes how later, unrelated downloads are handled too.
Handle a missing Unblock option or a returning warning
If Unblock is missing, the file may have no internet download mark to remove. Check that you've selected the exact file named in the warning. A shortcut, fresh download, or another copy can open the wrong Properties window.
For a program on a network share, have its administrator check the location and network-zone policy. Windows may treat a local download differently from an app you run from a company share.
When a new version brings the warning back, inspect that new file. A change to an earlier copy doesn't apply to every future package. Verify the replacement's source before handling its own block.
If the same checked file still prompts, give Windows Get Help or your IT team the exact window title, file location, publisher details, and whether Unblock was available. Ask them to check Attachment Manager or policy for that location.
The Short Version
Check the file's source, extension, and scan result. For a trusted download, use Properties > General > Unblock, then Apply and OK. Treat UAC, SmartScreen, malware detections, and managed network-share restrictions as separate cases.
Checked December 4, 2026.







