J
Jonathan K. Shay
The first time a VBS script is run, MSAS correctly blocks
the script and prompts the user for action (allow,
etc.). However, if the script is allowed to execute, no
parameters that were passed with the script ON THE
INITIAL EXECUTION are passed through the "authorization
filter". That is to say, once a user accepts script
authorization, any parameters passed with the script have
been dropped.
It appears this only happens the first time a script is
caught by MSAS. Subsequent script executions correctly
run with parameters passed to the script.
the script and prompts the user for action (allow,
etc.). However, if the script is allowed to execute, no
parameters that were passed with the script ON THE
INITIAL EXECUTION are passed through the "authorization
filter". That is to say, once a user accepts script
authorization, any parameters passed with the script have
been dropped.
It appears this only happens the first time a script is
caught by MSAS. Subsequent script executions correctly
run with parameters passed to the script.