You can’t turn it off for specific
files, or even file types. You can set it via Internet Explorer GPO to turn
off the warning altogether, but I don’t think you really want that. There are two options that I know of. You
can either use a trusted source for code-signing, or you can store the files
locally on every machine in the environment. If it is stored locally Windows
doesn’t consider it to be a threat. You would have to change the path
to the vbs scripts to something that resolves locally on the machines
(c:\scripts\..., for example). Of course the admin overhead on that becomes
insane. If every user connects to your network from a Citrix server or
something like that, it is a little more doable. Otherwise code-signing is
really the only viable option. From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED] I have a bunch of vbs scripts which are stored in SYSVOL.
They are called when a user right clicks an object in AD and
chooses one of the extra functions added to the context menu (via a
displaySpecifiers change) . By default, these scripts generate a file open security
dialog - which I'd like to suppress. Any ideas as to how this might be done for just a select few
VBS scripts, without allowing all VBS scripts to run without a warning? The
scripts could be executed from any machine in the forest. Software restriction policy? Thx, PLEASE READ: The information contained in this email is
confidential and intended for the named recipient(s) only. If you are not an
intended recipient of this email please notify the sender immediately
and delete your copy from your system. You must not copy, distribute or take
any further action in reliance on it. Email is not a secure method of
communication and Nomura International plc ('NIplc') will not, to the extent
permitted by law, accept responsibility or liability for (a) the accuracy or
completeness of, or (b) the presence of any virus, worm or similar malicious
or disabling code in, this message or any attachment(s) to it. If verification
of this email is sought then please request a hard copy. Unless
otherwise stated this email: (1) is not, and should not be treated or relied
upon as, investment research; (2) contains views or opinions that are
solely those of the author and do not necessarily represent those of NIplc;
(3) is intended for informational purposes only and is not a recommendation,
solicitation or offer to buy or sell securities or related financial
instruments. NIplc does not provide investment services to private customers.
Authorised and regulated by the Financial Services Authority. Registered in
no. 1550505 VAT No. 447 2492 35. Registered Office: 1 |
Title: Disabling the file open security warning for certain VBS scripts
- RE: [ActiveDir] Disabling the file open security warning for... Kevin Brunson