WMI on HP t5720 with XPe

A

anthonyyates

Hi,

The company I work for use HP t5720 device that has XPe SP2 installed
on them. We are trying to run scripts on them but it seems WMI is not
installed fully on them. The Windows Management Instrumentation
service is installed and running, but if we try to run wbemtest we get
file not found and if we run any scripts that use winmgmts then they
fail with a null error.

I've read various posts saying that it can work on XPe but no one
seems to be able to give specific step by step instructions for end
users to add WMI support to their XPe Thin Clients.

How can we get WMI working on these devices? Ideally a nice simple
install program would be nice :)

Thanks,

Anthony
 
A

anthonyyates

Hi,

The company I work for use HP t5720 device that has XPe SP2 installed
on them. We are trying to run scripts on them but it seems WMI is not
installed fully on them. The Windows Management Instrumentation
service is installed and running, but if we try to run wbemtest we get
file not found and if we run any scripts that use winmgmts then they
fail with a null error.

I've read various posts saying that it can work on XPe but no one
seems to be able to give specific step by step instructions for end
users to add WMI support to their XPe Thin Clients.

How can we get WMI working on these devices? Ideally a nice simple
install program would be nice :)

Thanks,

Anthony

It actually seems if WMI is on the XPe device after all.
I copied wbemtest to the Thin Client device and it ran and I was able
to enquire WMI classes, it seems like its just the script failing.
However the same script works on normal XP computers so can't
understand why it doesn't work on XPe devices. The scripts fails on
the third line of this partial example: -

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root
\cimv2")

I've read some other posts that it's the GetObject statement that is
not working but I haven't found a solution. Any ideas?

Thanks,

Anthony
 
A

anthonyyates

Forgot to show the error message: -

Line: 3
Char: 1
Error: Invalid syntax
Code: 800401E4
Source: (null)
 
S

Sean Liming \(eMVP\)

The OEM who built the XPe image has to add the features and support at build
time. Thin clients are notorious for having missing functionailty. I would
ask HP to add these features for you. Otherwise, you would have to build
your own custom image if the OEM cannot help you out.

In response to creating custom thin clients, my company developed a
ThinClient Development Kit to help those who want to create custom images:
http://www.sjjmicro.com/TcDK.html

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
K

KM

Nobody except HP (and hopefully it is the HP who created the image) has an access to the original device image configuration.
Whether they included the entire WMI stack of components or not we don't know.

You may want to "test" the WMI stack included on the device of yours by using WMI Administrative Tools:
http://www.microsoft.com/downloads/...53-1120-48db-8cc5-f2abdc3ed314&displaylang=en

Or you can try to use WMI Diagnosis Utility:
http://www.microsoft.com/downloads/...D6-18D1-4D05-B11E-4C64192AE97D&displaylang=en

Perhaps you are missing a required WMI Provider that can be relatively easy to add (grab the missing component and directly copy and
install it) to the runtime.
 
A

anthonyyates

Hi KM,

Thanks for the info, that helped a lot.
I used the WMI Diagnostic Utility and that identified the files and
registry information that was missing. It's not 100% working but I
would say it 90% there. I can at least run scripts now. Once it's 100%
or near to it I'll document what I changed and post it.

Regards,

Anthony
 

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