Disable the security warning "Do you want to open this file? - Unknown Publisher" for a specific filetype

Solution 1:

In the post Open File Security Warning - Enable or Disable there are several ways to accomplish what you need, one of which is by editing the registry. (warning: Be careful when doing this!)

In the Registry Editor (regedit) navigate to

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations

enter image description hereenter image description here

In the right pane of Associations, double click on LowRiskFileTypes.

Add or remove file the extensions using the same format, and click on OK when finished.

Close regedit, and reboot your computer.

You can also do this via the Group Policy Editor, see here.

Solution 2:

On windows 10, the registry hack doesn't work, and neither does the Group Policy Editor, because neither of them exist. But I found a solution here. It involves going into your internet explorer settings (even if you don't use internet explorer). Click on the "Security" tab, then "Custom Level", then scroll down to "Launching applications and unsafe files", and check "Enable". Internet explorer doesn't like this and will remind you about it (as it does 3 times in the picture), but that's ok, because nobody uses Internet Explorer anyway!

Picture of internet explorer security option