/build/static/layout/Breadcrumb_cap_w.png

Unblock EXE

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

Answers (4)

Posted by: pjgeutjens 12 years ago
Red Belt
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
Posted by: jmcfadyen 12 years ago
5th Degree Black Belt
0
you can use the streams util from pstools (sysinternals) to remove the block from files.
Posted by: admaai 12 years ago
Orange Senior Belt
0
That´s if your share support streams. Novel CIFS at my work did not.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ