I have a custom written Setup.exe. When I right click on this .EXE and view the General Tab under security you see the UNBLOCK button. I have unblocked it but since this setup.exe lives on a server share each time it is accessed and a new instance is created it gets Re-Blocked. How do you prevent that?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
you can add the server share to your trusted sites.

The unblock button is linked to the file's Zone Identifier, which basically tells Windows where the file was downloaded from and if it's trusted to be executed on the machine.
As a little experiment, you can open your file in notepad using the command notepad <your file>:Zone.Identifier to see the stream containing this information.

Rgds,

PJ
Answered 08/27/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
you can use the streams util from pstools (sysinternals) to remove the block from files.
Answered 08/30/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
That´s if your share support streams. Novel CIFS at my work did not.
Answered 08/30/2011 by: admaai
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity