Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Host Integrity having issues running a VBS file [Error code: 193]

Updated: 20 Dec 2011 | 2 comments
Mark Goldspink's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Hi Guys,

At the moment we are in the phase of testing out our SNAC settings. They are pretty simple so far.

As soon as the laptop moves from the 'Other Location' to the 'Work' location

There are currently 3 Windows HI Requirements:

Antivirus - Checks to see if SEP is running + checks to see if the defs are in date by a certain number of days.

Proxy - Changes a registry key to turn the proxy settings on

Login Script - Checks to see if a file exists in a network location, if file exists run the login script (.vbs file)

 

I'm having issues with the 'Login Script' HI settings. It says that it runs and completes but no network drives are connected.

I'll give you the Script how it is at the moment so you understand:

IF

File: File Exists \\networklocation\SNAC.txt

THEN

Utility: Wait 50seconds (Just incase it takes that few seconds for it to come on to the network)

Utility: Run a Program \\networklocation\login.vbs

 

The error that i'm recieveing when SNAC trys to run that .vbs file says this:

Condition: File executed successfully.

Condition was checking \\networklocation\login.vbs

An error occurred.

Error: unknown

[Details: Error code: 193]

 

Any help would be awesome :D

Comments

Chuck Edson's picture
16
Dec
2011
0 Votes 0
Login to vote

Can you post your HI policy so I can test with it?

If you still need help, export your HI policy and attach it to a reply to this post, and I will import it into my lab and test it.

Mark Goldspink's picture
20
Dec
2011
0 Votes 0
Login to vote

Found out the issue

I ended up finding out what the issue was.

It was symantec not being able to run the .vbs file by itself.

We ended up using scscript.exe to run the .vbs file as you can see below.

 

Utility: Run a program %windir%\system32\cscript.exe \\networklocation\loginscript.vbs