How to unblock a file blocked by Windows 10/11

In Windows, the Attachment Manager’s task is to protect the user from downloads that may prove to be unsafe for the system. The Manager performs this task by identifying the type of file and the security settings that go along with it. Based off the security info the Zone information provides, Windows uses the Attachment Manager to warn you before you open the file, or often to block your access to these potentially harmful files. While this is a really good security measure provided by Microsoft, problem is that sometimes Windows classifies a source that you trust, a harmful- if the file came from an e-mail attachment, if you downloaded it from the Internet; such files are prime suspects for Windows to block them for your protection.


When Windows blocks your access to a file, you will receive a message like this when you try to open it: “Windows found that this file is potentially harmful. To help protect your computer, Windows has blocked access to this file.” There is only one option provided below this warning: “OK”, and once you select that, you are shown an empty folder. But of course you really need that blocked file- is there a way to access it?

Of course there is a simple solution to this problem, but before going ahead and unblocking the file for accessing, be sure that it is indeed a safe file and has no chance of infecting your computer with viruses or malware. If you haven’t made sure already, you can scan the file (you won’t have to open the file for this). If you wish to proceed without scanning, do so at your own risk.

Here’s how to unblock a file using Properties:

1 – Right click on the file that is blocked.

2 – Select Properties from the options that appear.


3 – Click on the General tab in the Properties window.

4 – Click on the Unblock option next to the Security detail which says “This file came from another computer and might be blocked to help protect this computer.”



5 – Windows might display an Access denied message box here, don’t panic. All you need to do is provide Administrator credentials if this box pops up, if the file is in a C:\Users destination, it won’t appear at all.

6 – You should be able to access the blocked file now.

Now, if you find that even after selecting the Unblock option, it appears again in the Properties window, don’t worry. All you have to do is follow a few steps:


What to do if Windows SmartScreen blocks app or file

To unblock a file or app blocked by Windows SmartScreen is pretty easy. Just follow these steps:

1 – Run the blocked file or app. This will pop up the Windows SmartScreen.

2 – Under the heading “Windows protected your PC”, the text displayed will be “Windows SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.” Below there is simply a More info option, and the “OK” option.

3 – This may seem like a dead end, SmartScreen has blocked the app/file, all you can do is click OK, right? But, note, this is important. All you have to do is click on the More info option.




4 – Two new options will appear at the bottom of the SmartScreen window: Run Anyway, and Don’t run.

5 – Select the Run Anyway option. You will be able to access your file/app now.



Note: Always create a restore point before it

How to Permanently Unblock the file with help of CMD : Advanced users

You will first need to create a restore point for the system. This will basically save all your data, files, and information for you to restore your system to that particular state in which you have saved it.

Now that the restore point has been created, download Streams (latest version 1.56) from Windows Sysinternals (

1. Extract streams from the zip to a folder like the desktop.

2. Right click and choose properties.

3. Click unblock.

4. Move to c:\windows.

5 – Open the Start menu and type “cmd” in the Search bar.

6 – Right click on the Command Prompt icon and choose Run as administrator.



7 – In the Command Prompt window, type in the command given below

streams -d file_path

Replace filename with the actual name of the blocked file. Press the Enter key. Now you can access the blocked file.

In case Windows does not block a file but does consider it potentially harmful, it’s going to display Security warnings each time you go to open the file. It will say “The publisher could not be verified. Are you sure you want to run this software?” Getting this warning is any day better than having to unblock a file, but it can get pretty irritating facing the warning and clicking Run each time you want to access the file.

  • All you have to do to make the warning never appear again, is just uncheck the checkbox saying “Always ask before opening this file”. Windows will never flash the warning again for this file.
  • However, it may flash warnings for other files, and you’ll have to uncheck the “Always ask before opening this file” individually for each.

Here’s how to create a system restore point-

  • Click on the Start button and right click on Computer.
  • Choose Properties from the options that appear.
  • Click on System Protection on the left side (under Control Panel home)
  • By default, it will open on the System Protection tab itself. You will see an option called “Create a restore point right now for the drives that have system protection turned on.”
  • Click on the Create option next to it. You will need to type in a description related to your restore point to help you find it easily later. Click on Create.