VBScript error on XP Embedded

G

Guest

Hello,
I'm fairly new to XP Embedded so excuse my stupidity. I searched for a
similar post but wasn't able to find one.

I have an HP Thin Client t5700 that I am setting up with IE in kiosk mode
for our credit card applications at our retail locations. When I run this
script:

Dim isRunning

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'iexplore.exe'")

do while isRunning = 0
If colProcesses.Count = 0 Then
Set wshShell = WScript.CreateObject ("WSCript.shell")
wshshell.run """C:\Program Files\Internet Explorer\iexplore.exe"" -k
www.carvin.com",1,True
set wshshell = nothing
Else
isRunning = 0
End If
loop

I recieve the following error:

Script: C:\Documents and Settings\User\Start Menu\Programs\Startup\iekiosk.vbs
Line: 3
Char: 3
Error: Invalid syntax

Code: 800401E4
Source: (null)

I've run this script on XP Professional and it works just fine so I am at a
bit of a loss. Any help would be greatly apperciated.
 
K

KM

Todd,

Sinc eyou are referring to a particular manufacturer image you would better off contacting them.
Hope that HP's image include full support for WMI core and various WMI providers.

If it is an issue of missing components you will need to rebuild the issue, which is likely only the manufacturer task.

Meanwhile you may find this tip page useful to you: http://www.computerperformance.co.uk/Logon/code/code_800401E4.htm
 
G

Guest

Thanks for the response. I downloaded the eval XP Embedded Studio last night
and built an image as far as I could go on eval. I'm considering purchasing
it so that I can do some custom components on my HP Thin Clients - we'll see,
I still need to research a bit further before making that determination.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top