How to suppress "Open File - Security Warning" dialog when scripts are executed

Symptoms

When you enable the Group Policy setting to run scripts ( user logon scripts, GPO assigned logon scripts, etc. ) you receive an Open File - Security Warning dialog box.

 

Cause

Every script or program that is run by using the ShellExecute() API passes through AES.  AES considers the downloaded update file to be from the Internet Zone. Therefore, AES displays the Open File - Security Warning dialog box.  AES examines the file to see whether the file has a file stream of the type Zone.Identifier. Then AES determines what zone the file is from and what level of protection to apply when the file is run.

 

Resolution

In order to mark the script folder as trusted source, you should add the UNC path of the script to the Local Intranet zone. In Internet Explorer, select Tools, Options, Security Tab and select Local Intranet.  Then, click on Sites , Advanced to add the UNC path of the script file(s) example \\domainFQDN\NETLOGON\script.vbs

 

Reference

http://support.microsoft.com/kb/303650

http://support.microsoft.com/kb/274846

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk