Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE7 and Open/Run prompt for scripts

Status
Not open for further replies.

pgordemer

IS-IT--Management
Dec 10, 2002
80
US
With IE7, users now get a Open/Run confirmation when launching scripts loaded from the file server. In IE6, I added the servers names in Trusted Zones and this corrected the problem. Doesn't work that way in IE7, even listing the servers in Intranet Zone still creates the prompt.

Ideas on a regedit to all VBS scripts from server, but not the Internet

Phil Gordemer
ARH Associates
 
I have tons of little 10 and 20 line scripts that are used daily and modified constantly. How am I going to digitally sign them?

Phil Gordemer
ARH Associates
 
You need a digital certificate. THen you can run one script that will add the digital signature to all of them.

Here is sample code that will sign all scripts in a given folder

Code:
set objSigner = WScript.CreateObject("Scripting.Signer")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("c:\scripts")
Set colListOfFiles = objFolder.Files
For each objFile in colListOfFiles
    objSigner.SignFile objFile.Path, "IT Department"
Next

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
I *think* if you add the UNC of the server in the trusted sites, that this goes away. I know it solves the same problem when attempting to run files from a UNC in Terminal Services.

Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top