Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why can't I run an exe from another exe?

Status
Not open for further replies.

AP81

Programmer
Apr 11, 2003
740
AU
I have scheduled a task to run every morning called convert_db. Convert_db runs three executables which convert various databases to MySQL databases.

My problem is convert_db runs fine, but when it tries to run the other three executables a window pops up saying:

'Open file - Security Warning'
The publisher could not be verified. Are you sure you want to run this software?

Nothing will run until I click OK. I have to click 'OK' for each of the three executables to run.

My first thought was this was related to DEP. I edited the boot.ini to read /Execute=AlwaysOff (thinking that this would solve the problem). This didn't seem to do anything. I even added these three executables to the allowed DEP software and it didn't make any difference.

The obvious solution is to schedule the three executables as separate tasks, however this is not a feasable option. The convert_db.exe also does other database logging and I don't want to re-write it.

Is there an easy way around this?

Thanks, Adam


------------------------------------
There's no place like 127.0.0.1
------------------------------------
 
If youy launch the problematic exe as a seperate task, just for tests, do you still get the warning?

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Are these execulatble on a seperate server than the databases?

You could need to add the server with the .exe files to the local intranet sites in IE. "\\setvername"

You could also do the following, but it's a security risk:

GP
Go to User Configuration>AdministrativeTemplates>Windows
Components>Attachment Manager then configure "Inclusion list for low file types" to Enabled and enter the file types you don't want to be warned about in the box (for example: .exe, gif, bmp).
 
If youy launch the problematic exe as a seperate task, just for tests, do you still get the warning?

Yes, it still happens.


Are these execulatble on a seperate server than the databases?

Yes they are. They are all on a mapped network drive on the fileserver. I'll try adding the server to the local intranet sites & see how it goes. Thanks for the help.


------------------------------------
There's no place like 127.0.0.1
------------------------------------
 
Just my $0.02 worth ... but are the drives mapped by IP address or by host name? I don't know why but I've heard once that if they're mapped by IP address you'll get this error but if they're mapped by hostname you won't. Personally I wouldn't have thought adding the host to the intranet sites or trusted sites would matter as this isn't going through IE ... but I could be wrong there.

Hope you find this helpful

Irish Poetry - Karen O'Connor
Get your Irish Poetry Published
Garten und Landschaftsbau
 
NCotton said:
If youy launch the problematic exe as a seperate task, just for tests, do you still get the warning?

Yes, it still happens.

The problem isn't how you are launching the app "exe from another exe", it is the fact that the security of your machine doesn't allow for unauthenticated software to be installed automatically. You need to edit the security settings, or sign the application so that it will be authenitcated.

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top