Solved

How to get rid of the Open File - security warning message when my exe runs

Posted on 2006-07-17
6
1,141 Views
Last Modified: 2008-02-01
I have a exe that was created using Visual Basic 6. whenever I run that, ( windows 2003 server ) I get a message called

"Open File  - Security warning"

with two buttons "Run" and "Cancel" . If I choose run, the exe runs as normal. But I do not want my users to have the hassle of clickng this button, my exe is supposed to be run behind the scene. ( they are all terminal server clients )

However I do not want to change the entire security policy of the windows 2003 machine. I only need to set some security level so that this exe will run without this message box.

Thanks,
Indika.

0
Comment
Question by:indikad
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:glennbrown2
ID: 17128182
i found this was happening to me when users tried to execute an .exe file from the server or a local,  redirected folder that was mapped via DFS.  not sure if it happens both on a DFS share or not, but.....I resolved it by adding the path to the trusted websites in Internet explorer.

so if your path was \\domain.local\dfs\companyshare\ add domain.local to the trusted websites in IE.
in my case, users had redirected desktops \\domain.local\dfs\profiles\....i added domain.local and it was sorted.

I guess you can add the local machine, server name, etc if you don't use DFS.

I believe this was a security "enhancement" in Windows 2003 SP1....this started happening to me immediately after installing that
0
 
LVL 10

Assisted Solution

by:budchawla
budchawla earned 20 total points
ID: 17129863
Right-click the file in question, and at the bottom of the general tab click the Unblock button...
Windows now automatically applies this extra layer of security (if you can call it that) to executable files that have come from other computers...
0
 
LVL 6

Expert Comment

by:glennbrown2
ID: 17159508
any feedback on this indikad
thanks
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:indikad
ID: 17165211
Hi  glennbrown2  and  budchawla ,

sorry I was unable to reply to these messges as I had been drawn to other projects.

Now with glennbrown2 s solution, I added the path to the exe in the IE explorete trusted sites list. However it appared as a mac address. ( the exe is in a shared, drive in the same server and the pathe I set is in a mapped drive - as this is the same scenario my cleint uses ).

ia have the file in c:\programfiles\test
and mapped the c:\programfiles\test to z srive and set the z drive as a trusted path in IE

I still have the same issue when I run the exe from z drive. However if i simply run the file from the local folder that is c:\programfiles\test , then no problems.

0
 
LVL 6

Accepted Solution

by:
glennbrown2 earned 480 total points
ID: 17165803
OK, try these...i think I may have misunderstood you.

http://windowsxp.mvps.org/networkfile.htm

and/or

ensure that you have added the FQDN as a trusted intranet zone...this is important to resolving this

0
 

Author Comment

by:indikad
ID: 17172404
Method 1 from the site
http://windowsxp.mvps.org/networkfile.htm

helped. It worked without having to set the FQDN. I was trying on the trusted sites before, and not the local intranet.

thanks.

thanks to you too budchawla , as your comments gave me some insight in to windows security too, however I could not find the Unblock button ( even loggen in as administrator ).  I would appreciate if you can elaborate on this when you can, as it may come in havdy sometimes.

i will split points much in favour of glennbrown2  as his method solved the problem.

Thanks,
Indika.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now