Disable Windows 7's "Open File - Security Warning" dialog for exe on network drive?

39

18

I have a mapped network drive, on which I store some programs, one of which I've put in my startup folder.

Unfortunately, this program "does not have a valid digital signature", which means that every time I reboot, I get a security dialog, asking me whether to run it.

I would prefer not to have to copy this program to the local disk.

How can I disable this prompt?

Blorgbeard is out

Posted 2009-11-13T03:07:16.550

Reputation: 2 565

Answers

50

Ok, I found the solution.

  • Go to Control Panel -> Internet Options -> Security -> Local Intranet -> Sites -> Advanced
  • Add the mapped drive or UNC path (eg. Z:\ or \\machine)

Blorgbeard is out

Posted 2009-11-13T03:07:16.550

Reputation: 2 565

1@matt wilkie To add a whole folder (in this case, the root folder), you should have to specify a wildcard at the target directory. So, it should look like X:\*. At least, this was the case in my experience. – Bret – 2016-03-01T19:27:54.973

For the sysadmins wondering what Reg Key is: HKCU\Software\Microsoft\Windows\Current Version\Internet Settings\ZoneMap\Domains and HKCU\Software\Microsoft\Windows\Current Version\Internet Settings\ZoneMap\Ranges – Denys Vitali – 2016-08-30T08:12:14.970

Thank you, this is the solution that allows me to finally use my shared VirtualBox folders to keep all of my portable windows utilities. It works on XP too. – Matt – 2013-01-05T12:16:40.777

Do I remember a box to tick for a permenant connection? – Guy Thomas – 2009-11-13T08:20:28.903

When mapping the drive, yes. – Blorgbeard is out – 2009-11-15T19:52:10.117

Something may have changed (April 2014). The dialog won't let me add a drive letter, e.g. X:\ and X: and file://X: all result in "you have entered an invalid wildcard sequence" (screenshot: http://i.imgur.com/um529J4.png) (Win7 Home Premium x64)

– matt wilkie – 2014-04-11T05:09:02.013

Is X actually a network drive? I just tested (win7 enterprise) - works for me with a mapped drive, but I get your error with a physical drive. – Blorgbeard is out – 2014-04-11T05:13:15.160

6

If your Internet Settings are tied down (as mine are), but you have access to the exe, you can try the following in a command prompt:

move oldName.exe > newName
type newName > oldName.exe

That will remove the stuff that causes Windows to care, which, I think, is stored in an alternate data stream.

Phil

Posted 2009-11-13T03:07:16.550

Reputation: 251

Thanks, that worked even if I can't change settings in Internet Options – rofrol – 2017-01-02T22:37:13.250

But probably there is mistake. This worked for me move oldName.exe newName and type newName > oldName.exe – rofrol – 2017-05-15T10:16:39.840

4

The top answer didn't work for me I had to change a different setting in the same panel.

What I changed was: From Go to Control Panel -> Internet Options -> Security -> Local Intranet -> Sites -> Advanced (Same as above) In the "Local Intranet" settings window I unchecked "automatically detect intranet" and checked "include all network paths" which will work for me in my virtual environment.

Local Intranet settings

kkron

Posted 2009-11-13T03:07:16.550

Reputation: 383

0

You can use "automatically detect intranet" and then add the UNC path in the format of "file:\sharename" (if letters are mapped to this location, should work for them too)

Trevor Textor

Posted 2009-11-13T03:07:16.550

Reputation: 11

Duplicate of the accepted answer – None – 2017-03-31T17:57:07.207

I disagree; all syntax variations in the "accepted answer" failed. This syntax works. – Trevor Textor – 2017-04-11T15:28:20.330

Disagree all you like. At the end of the day, the accepted answer got 39 upvotes and a check mark. All you got is a downvote. It means that answer worked and yours did not. – None – 2017-04-12T05:13:48.030

It's an important metric, however, I have found them to be either false or only containing part of the answer. Most of the time I must scroll down and see if someone addressed the errors in the original answer. What you are referring to is an Argumentum ad populum "... a fallacious argument that concludes that a proposition is true because many or most people believe it: 'If many believe so, it is so.'" https://en.wikipedia.org/wiki/Argumentum_ad_populum

– Trevor Textor – 2017-04-13T14:27:21.423