Re: Idea for ISA Blocking Scripts on

  • From: "Jim Harrison" <jim@xxxxxxxxxxxx>
  • To: "[ Discussion List]" <isalist@xxxxxxxxxxxxx>
  • Date: Thu, 13 May 2004 09:02:54 -0700

Actually, you do have a valid bug, just not the one you think...

You get popup-after-popup when you run them because:
1. the default scripting engine in Windows is WScript (popups for every message)
2. not everyone knows (how) to change the default scripting engine to CScript 
(console output).

Unfortunately, there's no way for a script to know if there is more than one 
instance of itself (HTA does, though).
Fortunately, the fix is to make the script(s) aware of the scripting engine 
that ran them and adjust accordingly.

That's a completely brain-dead change (ISAInfo does it already) that you can 
look for by this weekend.
Thanks for the bug report! the meantime, open a cmd window and type:
    cscript //h:cscript all scripts will run as console apps, not windows.

 Jim Harrison
 MCP(NT4, W2K), A+, Network+, PCG

 Read the help, books and articles!
----- Original Message ----- 
From: "Surago Jones" <surago@xxxxxxxxxxxx>
To: "[ Discussion List]" <isalist@xxxxxxxxxxxxx>
Sent: Thursday, May 13, 2004 06:59
Subject: [isalist] Idea for ISA Blocking Scripts on

Hi All,

I can't remember whom it was that developed the virus blocking scripts on, however i have a suggestion.

Would it be possible to have the script stop it from running again if it has 
already been started.  As i was running the MyDoom 
script which creates quite a few Protocol Rules, unfortunately i got a tad 
carried away with hitting the enter key to all the 
prompts that appear, and somehow managed to get it to run several copies of the 
script at the same time. :)  (Yep i'm a dumbass)

Anyways, just thought this idea would improve the script if the author can be 
bothered. :)


Surago Jones

List Archives:
ISA Server Newsletter:
ISA Server FAQ:
Other Internet Software Marketing Sites:
Leading Network Software Directory:
No.1 Exchange Server Resource Site:
Windows Security Resource Site:
Network Security Library:
Windows 2000/NT Fax Solutions:
You are currently subscribed to this Discussion List as: 
To unsubscribe send a blank email to $subst('Email.Unsub')

Other related posts: