Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-07-17
6
Medium Priority
?
1,163 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 80 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 1920 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Learn about cloud computing and its benefits for small business owners.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

886 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