How to disable Open File security warning on Windows 10

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
1 Comments
Download PDF
Affiliate Disclosure

  • Eager to discover a quick way to disable Open File security warning on Windows 10? That’s precisely what we have for you.
  • To make that happen, change your Internet options. You may also disable User Account Control.
  • Feel free to visit our Windows 10 Settings section to find several easy to understand tips and tricks.
  • Don’t forget to bookmark this Tech Tutorials Hub to be one click away from professional assistance at any hour.
Disable Open File security warning on Windows 10

Your online security is rather important, so getting a message that states Your Internet security settings prevented one or more files is nothing out of the ordinary.

How many times have you tried to browse freely, only to receive a message like this? You know the answer to that better than anyone else.

Open File security warnings can be a bit annoying, and in this article, we’ll show you how to easily disable them on Windows 10.

How can I disable Open File security warning on Windows 10?

1. Change your Internet options

  1. Press Windows Key + S and enter Internet options. Select Internet Options from the list of results.
  2. When the Internet Properties window opens, go to the Security tab and click on the Custom Level button.
  3. A list of settings will appear. Locate Launching applications and unsafe files and select Enable. Now click OK to save changes.

Open File security warning usually appears when trying to run downloaded files, but you can fix this problem simply by changing your Internet options.

This is relatively simple and you can do it by following the above steps. After changing these settings you should be able to run downloaded files without any problems.

2. Disable User Account Control

  1. Press Windows Key + S and enter user. Select Change User Account Control settings from the menu.
  2. When User Account Control Settings window appears, move the slider all the way down to Never notify. Click on OK to save changes.

Once you disable User Account Control, you should see fewer security warnings on your PC. Disabling User Account Control won’t greatly reduce your security, so you can disable it without fear.

If you’re frequently getting an Open File security warning, you might be able to disable it by turning off User Account Control.

This is a security feature of Windows that notifies you when trying to change a setting or perform an action that requires administrative privileges.

Users claim that this feature is the cause behind this security warning, and if you want to disable it, you need to turn off User Account Control.


This guide will help you become an expert in managing User Account Control!


3. Modify your registry

  1. Press Windows Key + R and enter regedit. Press Enter or click OK.
  2. When Registry Editor opens, go to File > Export.
    Select All as Export range, enter the desired File name, choose a safe location and click on Save.
    In case anything goes wrong after modifying your registry, you can easily restore it by running the exported file.
  3. Navigate to the Associations key. If this key isn’t available, you’ll need to create it. To do that, simply right click the Policies key and choose New > Key from the menu.
    Now enter Associations as the name of the key and navigate to it.
  4. Once you navigate to Associations key, look for LowRiskFileTypes in the right pane. If this value isn’t available, you’ll need to create it manually. To do that, right-click the empty space in the right pane and choose New > String Value from the menu.
    Enter
    LowRiskFileTypes as the name of the string. Double click the LowRiskFileTypes to open its properties.
  5. When the Properties window opens, paste the following into the Value data field: .avi;.bat;.cmd;.exe;.htm;.html;.lnk;.mpg;.mpeg;.mov;.mp3;.mp4;.mkv;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip;.7zIf needed, you can add more extensions in order to disable the security warning for them. After you’re done, click on OK.
  6. After making the changes, close Registry Editor and restart your PC.

Your registry holds sensitive system information, and by modifying it you can disable this security warning from appearing.

Modifying the registry can be potentially dangerous if you’re not careful, so we advise you to be extra cautious.

Once your PC restarts, the problem should be fixed and you won’t see the security warning anymore.

If you don’t want to manually edit your registry, you can download Disable_Open-File_Security_Warning.reg file and run it.

By doing that, you’ll disable the security warning for the specified file types. In case you want to enable the security warning, simply download Enable_Open-File_Security_Warning.reg and run it.

4. Edit your Group Policy

  1. Press Windows Key + R keyboard shortcut and enter gpedit.msc. Press Enter or click OK.
  2. In the left pane navigate to User Configuration > Administrative Templates > Windows Components > Attachment Manager. In the right pane locate Do not preserve zone information in file attachments.
  3. Select Enabled and click on Apply and OK to save changes.
  4. Now click on the Inclusion list for low file types.
  5. Select Enabled and paste the following line in Specify low-risk extensions input field: .avi;.bat;.cmd;.exe;.htm;.html;.lnk;.mpg;.mpeg;.mov;.mp3;.mp4;.mkv;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip;.7z
  6. Click on Apply and OK to save changes.

You can prevent this security warning from appearing by using Group Policy Editor.

This is a useful application that allows you to change various settings, but unfortunately, it’s available only on Pro and Enterprise versions of Windows.

To use Group Policy, do as described above. Close Group Policy Editor and restart your PC. Once your PC restarts, check if the problem still appears.

Check our handy guide to easily edit the Group Policy like a pro.


5. Use Command Prompt

  1. Press Windows Key + X and choose Command Prompt (Admin) from the menu. If Command Prompt isn’t available, you can use PowerShell (Admin) instead.
  2. When Command Prompt starts, enter the following lines:
    • REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3" /V "1806" /T "REG_DWORD" /D "00000000" /F
    • REG ADD "HKLMSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3" /V "1806" /T "REG_DWORD" /D "00000000" /F
    • REG ADD "HKLMSOFTWAREPoliciesMicrosoftInternet ExplorerSecurity" /V "DisableSecuritySettingsCheck" /T "REG_DWORD" /D "00000001" /F

You can also prevent this security message from appearing by using Command Prompt. Many users don’t know this, but you can use Command Prompt to quickly edit your registry.

We have to warn you that modifying the registry can be potentially dangerous, so you’re doing it at your own risk. To fix this problem using Command Prompt, do as described above.

After commands are executed, you might have to restart your PC to apply the changes.


Working in Command Prompt will be like a walk in the park after you read our guide!


6. Unblock the file

  1. Right-click the problematic file and choose Properties from the menu.
  2. When the Properties window opens, go to the General tab and click on the Unblock button.

To stop this security warning from appearing, you might need to unblock your file. Sometimes files can become blocked causing this warning to appear.

To unblock your file, be sure that the file is located in a directory that is associated with your user accounts such as your Desktop or Documents.

If you want to unblock a specific file, complete the above procedure. After doing that, you won’t see the security warning for this file anymore.

7. Uncheck Always ask before opening this file option

  1. Run the problematic file.
  2. You should see an Open File security warning. Uncheck Always ask before opening this file option. Now click on Run to continue.

If you want to disable Open File security warning for a specific file, you can do it simply by unchecking a single option. To do that, follow the above procedure.

After doing that, you should be able to open that file without any security warnings.

This method is simple and straightforward, and it’s rather useful if you want to disable this security warning for a specific file.

8. Take ownership over the problematic file

  1. Locate the file that is giving you this security warning and right-click it. Choose Properties from the menu.
  2. When the Properties window opens, go to the Security tab and click on Advanced.
  3. In the Owner section click on Change.
  4. Select User or Group window will appear. In the Enter the object name to select field enter your user name. Now click on Check Names. If everything is in order, click on OK to save changes.
  5. The owner of the file should now be changed. Now you just have to click on Apply and OK to save changes.

If you’re getting this security warning on your PC, you might be able to disable it for a specific file by taking ownership of that file.

This is relatively simple, and you can do it by following the above procedure.

After taking ownership of the file, you should be able to run it without any security warnings. If you’re an advanced user, you can also use Command Prompt to take ownership of a certain file.

To do that, just follow these steps:

  1. Start Command Prompt or PowerShell as administrator.
  2. When Command Prompt opens, enter:
    • takeown /F <path_to_file>

Of course, be sure to replace the <path_to_file> with an actual path to the problematic file. This method is faster, but it requires you to enter the exact path to the problematic application.

If you’re an advanced user and familiar with Command Prompt, feel free to try this method instead.

9. Change Local intranet settings

  1. Open Internet Options. We showed you how to do that in Solution 1, so be sure to check it for detailed instructions.
  2. When the Internet Properties window opens, go to the Security tab and select Local intranet. Now click on the Sites button.
  3. The local intranet window will now appear. Click on the Advanced button.
  4. Now enter the address of the server in the Add this website to the zone field. You can use the server’s domain or you can use its IP address. Just be sure to enter before the server’s address or domain. Now click on the Add button. After you’re done adding servers, click the Close button.
  5. Save changes and your problem should be resolved completely.

According to users, this security warning can appear if you’re trying to run an application from a network directory.

To fix this problem, you need to add the name or the IP address of the server on which the application is stored in Intranet settings.

This is relatively simple to do, and you can do it by following the above steps.

If you don’t want to use Internet Options, you can make the same changes using the Group Policy Editor. To do that, follow these steps:

  1. Open Group Policy Editor. To see how to do that, check the first step of Solution 4.
  2. When Group Policy Editor starts, navigate to Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page in the left pane. In the right pane, locate and double click Site to Zone Assignment List.
  3. Now select Enabled and click on the Show button.
  4. In the Value name column enter the IP address or domain name of the server. As for Value, enter 1. After you enter all the necessary addresses, click on OK to save changes.
  5. Now just click on Apply and OK to apply changes.

Both methods will achieve the same results, so you can use any of them. Keep in mind that this solution works only if you’re trying to run an application from a network directory.

10. Use Command Prompt

how to use Command Prompt

  1. Start Command Prompt as administrator.
  2. Use Command Prompt to navigate to the location of the problematic file.
  3. Now enter the following commands:
    • move your_file_name.exe NewName
    • type NewName > your_file_name.exe

If you’re frequently getting this security warning, you might be able to disable it for a specific file by using Command Prompt. To do that you need to follow these above steps.

This is a solid workaround, and it works according to users, so feel free to try it out. Keep in mind that in order to use this solution you need to have a basic understanding of Command Prompt syntax.

11. Check Include all network paths options

  1. Open Internet Options. Navigate to the Security tab, select Local intranet, and click on Sites button.
  2. The local intranet window will appear. Uncheck all options except Include all network paths (UNCs). After doing that, click on OK to save changes.
  3. Optional: Few users suggest that you should check Include all local (intranet) sites not listed in other zones option as well, so you might want to do that.

Few users claim that you can fix this problem simply by checking a few settings in Internet Options. To do that, follow the above procedure.

After doing that, the problem should be fixed and you’ll be able to run files from network directories without any problems.

12. Create a bat file that will run the problematic file

  1. Open Notepad.
  2. Now paste the following code:
    • start c:windowssystem32 notepad.exe

    We used Notepad as an example, but if you want to launch any other application using the bat file, you need to enter the location of the file between the quotes and the file name after it.

  3. Now you just have to save your file. To do that, go to File > Save as.
  4. Set Save as type to All Files and enter script.bat as the file name. Now choose the save directory and click the Save button.
  5. Now you just have to locate script.bat file that you created and run it and the application will start without any security warnings.

According to users, you can avoid this security warning while running a certain application simply by creating a bat file that will start the application for you. To do that, follow these steps:

This is a solid workaround, but it might be a bit complicated since you have to create a bat script for that specific file.

Since this is just a workaround, you’ll have to use the script to start the desired application every time.


Schedule batch files like a real expert! Learn how from our handy guide!


13. Use the icals command

icals command

  1. Open Command Prompt as administrator.
  2. When Command Prompt starts, run the following commands one by one:
    • ICACLS "%programdata%MicrosoftWindowsStart MenuPrograms" /Setintegritylevel (OI)(CI)Medium
    • ICACLS "%userprofile%FavoritesLinks" /Setintegritylevel (OI)(CI)Medium
    • ICACLS "%userprofile%AppDataRoamingMicrosoftInternet ExplorerQuick Launch" /Setintegritylevel (OI)(CI)Medium
    • ICACLS "%userprofile%AppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser pinnedTaskbar" /Setintegritylevel (OI)(CI)Medium

Several reported this security warning while trying to run applications from Start Menu or from the Taskbar.

According to them, you can fix this problem simply by using the icals command. This is relatively simple and you can do it by following the above steps.

After running these commands the security warning should disappear and you won’t see it while trying to run applications from Taskbar or Start Menu.

If you’re having this problem with Desktop shortcuts, you might be able to fix it by running Command Prompt and using ICACLS C:Users<username goes here>Desktop /Setintegritylevel (OI)(CI)M command.

After doing that, you should be able to run shortcuts from your Desktop without problems.

14. Download and use streams utility

how to use streams utility

If you’re getting Open File security warning while opening a specific file, you might be able to fix it by using streams tools. This tool is a part of Sysinternals and you can download it for free from Microsoft’s website.

After you download the tool, you need to start it manually or use Command Prompt to navigate to its directory and enter the following command:

  • streams.exe -accepteula -d <path_to_the_file>application_name.exe

After running this command you’ll remove all zone data from that file and you won’t see any security warnings while running it.

15.  Copy the files to a different location

copy files

According to users, you might be able to fix the problem with the annoying security warning simply by copying the affected files to a new location.

To do that, locate the problematic files and select them. Now copy them to your Desktop.

After doing that, delete the original files from their directory. Now move the files from your Desktop to the original location. After doing that you should be able to run those files without any problems.

Users reported that this workaround works with Internet Explorer favorites, but be sure to try it with other files that are giving you this security warning.


Files are copied too slow? Check our comprehensive guide to solve this issue!


Open File security warning can be rather annoying at times, but you should be able to prevent it from appearing by using one of our solutions.

Moreover, use them when encountering these similar issues too:

  • Open file security warning we can’t verify who created this file – Solve this rather common issue shouldn’t be too complicated. Feel free to change your Internet options or set up the file location as a trusted site and see if this makes any difference.
  • Open file security warning add trusted locations – Countless users have been constantly trying to solve this issue to absolutely no avail. If you’re one of them too, the above tips are pure gold.

Editor’s Note: This post was originally published in September 2017 and has been since revamped and updated in July 2020 for freshness, accuracy, and comprehensiveness.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!