470,647 Members | 1,328 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

WMI for Windows XP

Hi guys!

I have written a .NET application that uses WMI to iterate through CD
drives, in order to detect whether a certain CD has been loaded into the CD
Drive.

When the application starts up, I run a basic WMI query to check whether WMI
is installed.

Clearly, there are some issues with older versions of Windows not having WMI
installed (particularly Windows 98). So, as expected, some Windows 98
machines fail the WMI test. This is not a problem, since we point them at the
location where they can download WMI for Windows 98, and they're happy!

I was lead to believe that Windows XP comes with WMI as standard. However, a
few Windows XP users fail this test, suggesting that either the WMI is broken
on their machine, or that it isn't there at all!

I can't seem to find a WMI install for Windows XP anywhere on the web. Does
such a thing exist? If not, how can I get WMI working on problematic Windows
XP machines?

Any help would be gratefully received!

Thanks in advance,

Steve.

Sep 21 '06 #1
4 8644
Instructions for reinstalling it can be found at Kelly's Corner

http://www.kellys-korner-xp.com/xp_abc.htm

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Steve Barker" <st*********@nospam.nospamwrote in message
news:63**********************************@microsof t.com...
Hi guys!

I have written a .NET application that uses WMI to iterate through CD
drives, in order to detect whether a certain CD has been loaded into the
CD
Drive.

When the application starts up, I run a basic WMI query to check whether
WMI
is installed.

Clearly, there are some issues with older versions of Windows not having
WMI
installed (particularly Windows 98). So, as expected, some Windows 98
machines fail the WMI test. This is not a problem, since we point them at
the
location where they can download WMI for Windows 98, and they're happy!

I was lead to believe that Windows XP comes with WMI as standard. However,
a
few Windows XP users fail this test, suggesting that either the WMI is
broken
on their machine, or that it isn't there at all!

I can't seem to find a WMI install for Windows XP anywhere on the web.
Does
such a thing exist? If not, how can I get WMI working on problematic
Windows
XP machines?

Any help would be gratefully received!

Thanks in advance,

Steve.

Sep 21 '06 #2
Hi Steve,
>I can't seem to find a WMI install for Windows XP anywhere
on the web. Does such a thing exist? If not, how can I get WMI
working on problematic Windows XP machines?
The WMI component is a default component of the Windows XP system, so we
haven't provided stand-alone WMI installation for the Windows XP.

Besides MVP John's suggestion, I think you can also suggest your customer
to check the WMI related services in those problematic Windows XP machines,
make sure they have already been enabled and started.

Windows Management Instrumentation
Windows Management Instrumentation Driver Extensions

If the above services cannot be found or started in those machines, then
you can suggest your customer to perform a reparation to their Windows XP
and patched the latest SP and updates.

By the way, it also may be helpful to install the latest WSH in those
machines:

http://www.microsoft.com/downloads/d...943-7E4B-4622-
86EB-95A22B832CAA&displaylang=en

I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 22 '06 #3
Thanks Guys!

The diagnostic tool recommended was a great help, and the problem could
largely be solved by starting the WMI service on the user's machine.

Steve.

""Gary Chang[MSFT]"" wrote:
Hi Steve,
I can't seem to find a WMI install for Windows XP anywhere
on the web. Does such a thing exist? If not, how can I get WMI
working on problematic Windows XP machines?

The WMI component is a default component of the Windows XP system, so we
haven't provided stand-alone WMI installation for the Windows XP.

Besides MVP John's suggestion, I think you can also suggest your customer
to check the WMI related services in those problematic Windows XP machines,
make sure they have already been enabled and started.

Windows Management Instrumentation
Windows Management Instrumentation Driver Extensions

If the above services cannot be found or started in those machines, then
you can suggest your customer to perform a reparation to their Windows XP
and patched the latest SP and updates.

By the way, it also may be helpful to install the latest WSH in those
machines:

http://www.microsoft.com/downloads/d...943-7E4B-4622-
86EB-95A22B832CAA&displaylang=en

I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 23 '06 #4
Thanks for the update, Steve.

I am glad to know my our suggestion works. :)

Have a nice day!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 24 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Scott Davies | last post: by
reply views Thread by Scott Davies | last post: by
4 posts views Thread by Rod Gill | last post: by
1 post views Thread by freesteel | last post: by
4 posts views Thread by tshad | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.