Solved

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

Posted on 2006-07-17
6
1,152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Learn about cloud computing and its benefits for small business owners.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

623 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