Vb script does not run in Action Script

(imported topic written by GregL91)

I’m trying to run a vb script as part of an Action Script.

The vb script runs fine while logged on as a user, but fails when running in the Action Script with error:

ActiveX component can’t create object: ‘GetObject’

It’s been suggested to me that the script may need to run as the logged on user using RunAsCurrentUser.exe

wait _Download\RunAsCurrentuser.exe script __Download\OutlookHolidays.vbs

Any suggestions would be appreciated

(imported comment written by BenKus)

Hey GregL,

It might be interesting to determine if the problem is indeed related to running as the SYSTEM account. Maybe try following the instructions below to figure out if the issue is a user-based issue:

http://forum.bigfix.com/viewtopic.php?id=1098

Ben

(imported comment written by GregL91)

Thanks. The script did need to run as the current user, sorted now.

Just need to figure out the Relevance now to check for the existence of a particular file in a logged on user’s mapped drive. Running the relevance debugger on a target machine the relevance is False, but the machine still appears in Applicable Computers.