Solved

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

Posted on 2006-07-17
6
1,144 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

864 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

23 Experts available now in Live!

Get 1:1 Help Now