Disable Open File Security Warning for specific file types

1

Windows likes to defend you against running executables that you have pulled from the web, and for some reason scripts like .js are included in that umbrella.
As a developer I have long-since swapped the associated program for javascript files from Windows Script Host to an editor, but the popups still persist.

when double clicking a script from the web

Unticking that box only disables the message for that specific file, and will come back to haunt you for every other file you hope to open from Explorer.
I have no intention of disabling the popup outright, like other questions already on SU want, so I'm asking my own; any ideas?

Maybe there's a list somewhere in the OS that registers .js as a potential script file that I could edit (changing the filename to a.png, for instance, while broken, opens the image viewer without any such warning).

Hashbrown

Posted 2017-03-18T12:23:07.330

Reputation: 1 720

As a developer, have you considered moving the pertinent files that you typically use to a different mapped drive and then exempting that specific drive accordingly? Disable “Open File - Security Warning” dialog on network drive?

– Run5k – 2017-03-18T12:55:33.340

1I saw that and fussing around with where everything is set up is not a palatable solution, not to mention that would enable .exes et cetera on that drive to bypass the dialog (P.S you dont actually have to move anything, just create a virtual disk with those security settings, then create an NTFS junction inside it to your folder) – Hashbrown – 2017-03-18T14:38:41.713

No answers