How to unblock files in Windows 10

How to unblock files in Windows 10

General information

Attachment Manager is built into Windows to help protect your PC from the intrusion of insecure attachments that you might receive with an email message or from any other The source is not clear on the Internet. If Attachment Manager identifies an attachment that may be unsafe, it will prevent you from opening the file or alert you to security risks before you open it.

Attachment Manager uses the AttachmentExecute application programming interface (API) to determine the file type and find the file association. One of the applications on the device saves a downloaded file to a disk formatted with NTFS, and then updates the metadata to the file with the region where it was downloaded. Metadata is saved as Alternate Data Stream (ADS). If you want to unblock a downloaded file, you can right-click on it, choose Properties and click Unblock .

The following factors are available to determine whether you are prevented from opening the file or if you receive a warning before opening the file:

  • The type of program you are using.
  • The type of file you are downloading or trying to open
  • The security settings of the Web content zone in which you are downloading the file.
  • Internet
  • Local intranet
  • Trusted sites
  • Restricted website

Attachment Manager categorizes the files that you receive or that you download based on the file type and its extension. Then continue to classify the file types according to the degree of danger from high risk, medium risk to low risk.

  • High risk : If the attachment is on a list of high-risk file types and comes from a restricted zone, Windows will block the user from accessing the file. If the file comes from an Internet zone, Windows prompts the user with a Windows Security Warning like this: “Windows has detected that this file is potentially harmful. To help protect your computer, Windows has blocked access to this file ”.
  • Moderate Risk : If the attachment is in the list of medium risk file types and comes from a restricted area or the Internet, Windows prompts the user with the following warning: “Cannot Verify the release source. Are you sure you want to run this software? “.
  • Low Risk: If the attachment is on the list of low risk file types, Windows will not give the user a prompt before they access the file, regardless of region of What is the file.

Open File – Security Warning is a security measure that requires you to give permission before opening a file from an unknown source like the Internet or another computer… on your PC.

Windows SmartScreen helps keep your PC more secure by alerting you before running apps and files downloaded from the Internet but can’t be recognized.

Open File – Security Warning and Windows SmartScreen will automatically block these apps and files until you unblock them.

Starting with Windows 10 build 17639, if you have Windows Defender Application Guard enabled, blocked files will have a logo right above the file’s main icon to indicate that the file is now blocked.

This article will guide you on how to unlock files blocked by Open File – Security Warning and Windows SmartScreen in Windows 10.

Note: Be sure to unblock only files that you find reliable enough to avoid compromising the security of your PC system.

Example file blocked when Windows Defender Application Guard is enabled:

How to unblock files in Windows 10

  • General information
  • Unblock the file in Properties
  • Unblock files in Open File – Security Warning
  • Unblock an app or file in Windows SmartScreen
  • Unblock a single file with PowerShell
  • Unblock all files in a folder with PowerShell
  • Unblock files in a folder and subfolders in PowerShell
  • Unblock files by disabling Attachment Manager
    • Turn off Attachment Manager through the registry
    • Turn off Attachment Manager through Group Policy

Unblock the file in Properties

1. Right-click or click and hold on the blocked file, and select Properties .

Click the General tab, check Unblock at the bottom and click OK . If you don’t see Unblock , it means the file is not blocked.

2. If prompted, click Continue and select Yes (if you are the administrator of the machine) or enter the administrator password (if you are the user).

You will only be prompted if the file is in a location where your user account doesn’t have access by default.

3. If prompted, click Continue and select Yes (if you are the administrator of the machine) or enter the administrator password (if you are the user).

(You will only be prompted if the file is in a location where your user account doesn’t have access by default.)

Unblock files in Open File – Security Warning

1. Open or run a blocked file to trigger Open File – Security Warning.

2. In the Open File – Security Warning window, uncheck Always ask before opening this , and click Open or Run .

3. If prompted, click Continue and select Yes (if you are the administrator of the machine) or enter the administrator password (if you are the user). You will only be prompted if the file is in a location where your user account doesn’t have access by default.

Unblock an app or file in Windows SmartScreen

1. Open the file or run a blocked application to activate Windows SmartScreen.

2. Click the More info link.

3. Click the Run button anyway .

Unblock a single file with PowerShell

1. Open Windows PowerShell or Windows PowerShell as admin (depends on whether your user account has access to where the file is blocked).

2. In PowerShell, type the command below and press Enter (see screenshot below).

unblock-file -path "unblock-file -path full path of the blocked file"

Replace the full path of the blocked file in the command above with the actual full path of the blocked file (including the file extension) that you want to unblock.

For example:

unblock-file -path "C:  Users  Brink  Desktop  Example.reg"

Unblock all files in a folder with PowerShell

1. Open Windows PowerShell or Windows PowerShell admin.

2. In PowerShell, type the commands below and press Enter (see screenshot below).

(no confirmation prompt)

get-childitem "full path of the directory" | unblock-file

Or

(with confirmation prompt)

get-childitem "full path of the directory" | unblock-file -confirm

Replace “full path of directory” in the commands above with the actual full path of the directory containing the blocked file (s) you want to unblock.

For example:

get-childitem "C:  Users  Brink  Desktop" | unblock-file

Or

get-childitem "C:  Users  Brink  Desktop" | unblock-file -confirm

Unblock files in a folder and subfolders in PowerShell

1. Open Windows PowerShell or Windows PowerShell admin.

2. In PowerShell, type the commands below and press Enter.

There is no confirmation prompt:

get-childitem "full path of the directory" -recurse | unblock-file

Or have a confirmation prompt:

get-childitem "full path of the directory" -recurse | unblock-file -confirm

Replace “full path of directory” in the commands above with the actual full path of the directory containing the blocked file (s) you want to unblock.

For example:

get-childitem "C:  Users  Brink  Desktop" -recurse | unblock-file

Or:

get-childitem "C:  Users  Brink  Desktop" -recurse | unblock-file -confirm

Unblock files by disabling Attachment Manager

Turn off Attachment Manager through the registry

Step 1 : Open Registry Editor by typing Regedit in the search box and pressing the Enter key .

When you get the User Account Control prompt, click the Yes button .

Step 2 : In Registry Editor, navigate to the following key:

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAttachments

If the Attachments key doesn’t exist, right-click the Policies key, click New , select Key, and name it Attachments.

Click New, select Key and name it Attachments

And if you already have the Attachments key, go to the next step.

If the Attachments key already exists, proceed to the next step

Step 3 : Now, select the Attachments key on the left side. On the right side, do a right-click, click New and then click on DWORD (32-bit) Value and name it ScanWithAntiVirus.

Create a DWORD (32-bit) Value
Name the value ScanWithAntiVirus

Step 4 : Finally, double-click on the ScanWithAntivirus value you just created, and change the value data to 1 to disable Attachment Manager in Windows 10.

Change the ScanWithAntivirus value to 1

Step 5 : Close Registry Editor. Save all your work. Log off and log on, or restart the computer to apply the changes.

Turn off Attachment Manager through Group Policy

Note that the Group Policy Editor is not part of the Home edition. Home edition users need to use the Registry method mentioned above.

Step 1 : Type Gpedit.msc in Start / Taskbar search field and press Enter to open Group Policy Editor.

Step 2 : In Registry Editor, navigate to:

User Configuration > Administrative Templates > Windows Components > Attachment Manager

Step 3 : On the right side, double-click the Do not preserve zone information in file attachments policy to open its properties.

Double-click the Do not preserve zone information in file attachments policy

Step 4 : Select the Enabled option . Click the Apply button to save the changes.

Select the Enabled option

Good luck!

See more:

  • How to turn off Windows Update on Windows 10
  • Turn off Windows Defender on Windows 10
  • How to fix sound problems on Windows 10
  • How to split the hard drive right in Windows 10
3