Windows Console .exe won't run if it's downloaded from the internet
Posted
by Jason Kester
on Server Fault
See other posts from Server Fault
or by Jason Kester
Published on 2010-05-02T23:27:35Z
Indexed on
2010/05/02
23:38 UTC
Read the original article
Hit count: 236
I have a nightly job on Windows Server 2003 that automatically updates itself by downloading its .exe from Amazon S3. I've noticed that when it performs the download and tries to run the newly downloaded .exe, it is immediately kicked back to the command line without actually running anything.
I can verify this by sticking the new version of the code directly on the server and watching it execute successfully, then uploading it to the "update" server, running the bootstrapper then running the .exe and observing it fail to execute.
I can only assume that this is due to Windows protecting me from running code from outside its trusted zone. How does a fella go about configuring it to allow code from this particular external location to execute?
Thanks!
© Server Fault or respective owner