Windows 7: Disable the "Open File Security Warning" message

109 comments

I really hate those "are you sure" security questions. They just dull your senses towards security and people just learn to click through them anyways.

So, lets just save the trouble and get rid of them altogether.

  • Fire up the Control Panel
  • Select "Internet Options"
  • Security
  • Custom Level
  • Under the "Miscellaneous" branch
  • Find "Launching applications and unsafe files"
  • Set it to "Enable (not secure)"
  • Save your way out of there.

Now the security warnings are gone. However, Internet Explorer will complain everytime you open it by displaying an error page with a yellow information bar.

To get rid of it:

  • Run "gpedit.msc"
  • Under "Computer Configuration"
  • Select "Administrative Templates"
  • "Windows Components"
  • "Internet Explorer"
  • Change "Turn off the Security Settings Check feature" to "Enabled"

That should stop the annoying error messages.

*update 22/03/2013*

For those on the Home version without gpedit.msc, I've got two solutions for you!

1) Command line to create the value

  • Open up command prompt and paste this command

reg ADD "HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Security" /f /v DisableSecuritySettingsCheck /t REG_DWORD /d "1"

Note: I'm not sure if you need to run the Administrator version of command prompt or not (right click command prompt > Run as Administrator)

2) Apply a registry patch

  • Open up notepad and paste this.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Security]
"DisableSecuritySettingsCheck"=dword:00000001

  • Save it as a file called "security-warning.reg" on your desktop (Note the .reg extension and make sure you change "Save as type" from *.txt to *.*)
  • Double click the file and apply it.

[ Source ]

Related Posts

109 comments:

  1. THANK YOU!!!!!!!!!

    ReplyDelete
  2. Thanks a lot, took me a while to find this!!

    ReplyDelete
  3. Thanks, that was driving me crazy!

    ReplyDelete
  4. This helped me, so thanks!
    /Anon

    ReplyDelete
  5. Great job! thanks a lot :)

    ReplyDelete
  6. Thank you very much !!!

    ReplyDelete
  7. Thank you! Saved me a lot of searching and try time...
    Cheers!

    ReplyDelete
  8. For those wondering what folder to go to after "Internet Explorer". There isn't one. Simply highlight the "Internet Explorer" folder and you will find the option "Turn off the Security Settings Check feature.

    ReplyDelete
  9. Awesome, you can have my first born mate!

    ReplyDelete
  10. LOL I'll be sure to claim it once you've popped it out

    ReplyDelete
  11. Thank you SOOO MUCH!!! This is correct!!

    ReplyDelete
  12. twig, you're THE BOMB!

    ReplyDelete
  13. Awesome!! :D
    Thank you very much!!

    ReplyDelete
  14. it works perfectly... thanks ^_^

    ReplyDelete
  15. You rock Man. Thanks so much for posting this. Guys like you make me happier to work on a PC than a MAC.

    ReplyDelete
  16. Simply Perfect!

    ReplyDelete
  17. What the hell my links in Start Menu (like Notepad, Calc, games, viewers, etc.) have to do with the Internet is a completely mystery.

    ReplyDelete
  18. Very helpful. Thank you Twig. I got my computer in the States from Best Buy with a supposedly 6 month "Ask an Agent" service. They said they could not help me with this and I would have to pay more to have a tech remotely access my computer and do it for me - something like $100 or more. You are de man and saved me that headache.

    ReplyDelete
  19. Glad to have helped and saved u some money Anon!

    ReplyDelete
  20. Thanks a million!!

    ReplyDelete
  21. where we can find computer configuration???
    im stuck in there

    ReplyDelete
  22. Hey Aruasim,

    On the left side there is an expandable tree.
    Expan the "Local Computer Policy" item and you'll find "Computer Configuration"

    ReplyDelete
  23. great, just perfect

    Steve

    ReplyDelete
  24. Thanks it was very annoying

    ReplyDelete
  25. Thanks! That did the trick!! Another annoying Microsoft "feature" defeated!

    ReplyDelete
  26. THANK YOU FOR RESTORING MY SANITY!
    sorry for caps

    ReplyDelete
  27. Thanks Twig - bloody brilliant!

    ReplyDelete
  28. bless you. you saved me from some annoyance today. :)

    ReplyDelete
  29. How to Run "gpedit.msc" in Windows 7? Thanks a lot.

    ReplyDelete
  30. Я уже приготовился пожелать автору гореть в аду, но его инструкция неожиданно помогла.
    Спасибо. Thanks

    ReplyDelete
  31. @Anonymous: Start > Type in "gpedit.msc" and press enter.

    @WallTearer:
    Google translate told me (Russian to English) "I wish the author was preparing to burn in hell, but it helped instruction unexpectedly. Thank you"

    Umm, you're welcome =\

    ReplyDelete
  32. Disabling went easy, thnx!

    ReplyDelete
  33. Hey, just wanted to comment and say thanks for saving me the hassle of digging through all the security settings to find this!

    Also, I'd like to share my slightly different situation.

    The security alert kept popping up when I launched an executable file which was located on another machine on my local network. I quickly got sick of clicking "ok" every time and went to google for the solution; I found this! (thanks again twig!) However, due to the non-internet related issue of my problem, I didn't want to enable launching of files from any old website. I proceeded to add the other computer's name to my trusted sites list in the format NameHere/* and unchecked the "Require server verification" box in the trusted sites window. I then changed the custom security settings for trusted sites in the manner twig has described.
    Just wanted to share that for anyone else out there who runs many executable files across different networked machines like I do.

    Thanks again!
    -Valstar

    ReplyDelete
  34. HERE IS SOMETHING USEFULL IF CAN'T FIND "RUN":
    DEPRESS WIN KEY + R. VERY QUIK WAY.☺

    ReplyDelete
  35. shit now cant use gpedit.msc because it cant use activeX , fuck win7 security annoys

    ReplyDelete
  36. Thank you so much!

    ReplyDelete
  37. Thanks so much, really helpful. I guess you wouldn't happen to know how to do this from command line?

    ReplyDelete
  38. Hi JMG,

    Sorry I haven't bothered to look up the command line version of that.

    ReplyDelete
  39. Hey Twig, tried your above solution and it worked. Thank you. Zeke.

    ReplyDelete
  40. For anyone with no gpedit.msc (7 home premium):
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Security]
    "DisableSecuritySettingsCheck"=dword:00000001

    ReplyDelete
  41. Friggin' Sweet!

    ReplyDelete
  42. thank you, this one worked (at least for now), I just don't know why it started doing it all of a sudden, I had turned it off a different way when I first got win7, and now almost a year later this starts out of the blue, I didn't do an update or anything.

    ReplyDelete
  43. Thank you, great!

    ReplyDelete
  44. Unfortunately I did all of those things and triple checked, however my windows 7 Ultimate cannot enable "Launching Applications and Unsafe Files". I can see the radio buttons and it's set on disabled but when I click enable it will not reset it.

    ReplyDelete
  45. That's interesting.
    Unsure why that's happening.

    If you ever figure it out, I'd be curious to know why!

    ReplyDelete
  46. thx, worked for me

    ReplyDelete
  47. Great thts work for me

    Cheer's

    ReplyDelete
  48. You should be able to turn off the first part for "Launching programs and unsafe files" through Group Policy? Open gpedit.msc or policy manager and goto Computer Configuration\Administrative Templates\Winodws Components\Internet Explorer\Internet Control Panel\Security Page\Local Machine Zone\ and look for "Luanching programs and unsafe files." That is for local files and you can set the Internet Zone as well. Just thought I would throw that in there.

    ReplyDelete
  49. Worked like a charm.....Thanks

    ReplyDelete
  50. Thanks Buddy It Works!!
    Srinivas

    ReplyDelete
  51. Thanx very helpful

    ReplyDelete
  52. Awesome hair dude!! Thanks for the solution to this rediculous problem!

    ReplyDelete
  53. YOU ARE THE MAN - I'm constantly coming to your blog. Thank you!!

    ReplyDelete
  54. Totally awesome! If only everyone could give such succinct answers. :-)

    ReplyDelete
  55. Worked Wonderfully..Thanks

    ReplyDelete
  56. I thought it VERY funny that Windows would caution you when you open one of THEIR own files (Microsoft Word, Notepad, etc., LOL)...

    I understand their 'security measures' ideals, but this is just too much...

    This worked wonders man!...Thanks again!

    ReplyDelete
  57. Thanks, saved my day

    ReplyDelete
  58. Thx dude. Really helpfull.

    ReplyDelete
  59. aaaaahh, thank you!!

    ReplyDelete
  60. thanks so much

    ReplyDelete
  61. thank you so much :)

    ReplyDelete
  62. Great stuff. Annoyed the hell out of me that did.

    ReplyDelete
  63. what do i do if there is no "Internet Explorer" after i click on "windows components"?

    ReplyDelete
    Replies
    1. That... I don't know actually.
      What version of Windows do you have? (Home, Business, Ultimate, etc)

      Delete
    2. Oh bugger, I'm not sure how to go about it on Windows XP. Sorry!

      Delete
  64. Very usefull. Thank you very much.

    ReplyDelete
  65. Well Explained and Works.
    Thanks.

    ReplyDelete
  66. Good for everyone else. All it did was to add that yellow bar to the already annoying prompt that appears every time I hit a tab, link, bar, etc. It's frustrating.

    ReplyDelete
  67. it tells me windows cannot find gpedit.msc ........ Am I boned?

    ReplyDelete
    Replies
    1. No you're not!

      There was a comment posted earlier which will fix your problem =)

      http://twigstechtips.blogspot.com/2009/08/windows-7-disable-file-security-warning.html?showComment=1306672052421#c4651378145642790739

      Delete
  68. THANK YOU! I hate this control!

    ReplyDelete
  69. Hi I am running windows 7 Home premium. I have no problem with the fist part of the instuctions. However I do not understand hoe to enter HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Security or "gpedit.msc"
    Can someone please help. Thanks Dennis

    ReplyDelete
    Replies
    1. Hey Dennis,

      I've updated the instructions to include not one, but TWO methods of fixing the problem for Home version.

      Hope that helps =)

      Delete
  70. Thanks for the help!

    ReplyDelete
  71. Hi Twig,

    I am facing security warning messages in windows 7, IE 10 Explorer. I am seeing following message:

    "Are you sure you want to leave this page?

    Message from webpage

    Leave this page or Stay on this page"

    I have uninstalled my IE9 and enabled "Launching applications and unsafe files"
    Set it to "Enable (not secure)" in IE9...

    Still I am seeing those warning messages and it is creating headache...

    Please help me

    Regards,
    Krsna

    ReplyDelete
    Replies
    1. Hi Krsna,

      I'd love to help you but I can't. I installed IE10 before and it stuffed up my computer, so I went back to IE9.

      This is what happened: https://www.youtube.com/watch?v=99K7Eshdt5o

      Good luck with your search though!

      Delete
  72. Hey Twig, when I try to run gpedit.msc I get an "not enough storage is available to process this command" error. I literally bought my laptop two days ago and have tried downloading only one program so I know damn well I have plenty of memory. Any ideas?

    ReplyDelete
    Replies
    1. Hey Evan,

      I haven't run into that error before so I'm afraid I can't give you precise instructions.

      However the first thing that came up on Google was this, and it's from Microsoft (a trustworthy source) so it's well worth trying: http://support.microsoft.com/kb/106167

      Good luck!

      Delete
    2. Hmmm, just can't seem to get it to work. Aside from that, the main problem I'm trying to fix is that everytime I download a program not having to do with Windows/Microsoft, when I try to run the application I get an error reading:

      "Windows found that this file is potentially harmful. To help protect your computer, Windows has blocked access to this file."

      I know the file isn't harmful yet it doesn't give me an options other than "Ok". I can't get around it and I need to in order to run these programs for college. Any ideas?

      Delete
    3. You seem to be ignoring the fact there is ANOTHER problem on your computer (regarding gpedit.msc not working) which is preventing you from fixing this problem properly.

      Either way, search for "*update 22/03/2013*" on this page and try either method below.

      Delete
    4. Yeah that stopped the annoying messages from coming up, but I still can't find a fix for the "Windows found that this file is potentially harmful." searched the web for awhile and still nothing :/ Only thing I can think of left to try is to call Windows and harass them until they help.

      Thanks for the solution to the annoying security messages though Twig!

      Delete
    5. Ahh, now I remember. There's another fix you need to do in order to get rid of that.

      http://twigstechtips.blogspot.com.au/2011/11/windows-7-disable-help-protect-your.html

      This should work.

      Delete
    6. When I go to properties I don't have an unblock option :o

      p.s. Sorry this is so much trouble! Your help means the world to me though truly appreciate it!

      Delete
    7. I'm guessing you've got Windows 7 home or something? I'm afraid I can't help you any further if the button ain't there =\

      Delete
    8. Windows 7 professional. It's okay, thank you so much for the help!

      Delete
    9. Sorry I couldn't help, but you're welcome!

      Delete
  73. Worked perfectly!
    All my appreciation for the willingness to help.Thank you so much! -Nikki

    ReplyDelete
  74. Thanks for your help. Still working ;)
    From August 28, 2009 this post is still very usefull. (Save my day)
    And twig always in time to respond in everyone's questions.... Amazing
    Thnx again for your time and eford.

    ReplyDelete
  75. Thank you a lot, I so hate this :D, very good guide

    ReplyDelete
  76. THANK YOU!!! I tried all kinds of other website solutions. This worked!!!

    ReplyDelete
  77. Rly easy explain & everything works perfectly. THNX man

    ReplyDelete
  78. thank you! it's run now.
    Kindly regards

    ReplyDelete
  79. thanx bro!! saved my day

    ReplyDelete

Leave your thoughts ...
---
If you are having trouble with copy/pasting in comments, you need to sign in or click 'Preview'. For more information about this Firefox bug, see here.

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog