472,984 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,984 software developers and data experts.

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 8800
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
0
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server -...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
1
by: freesteel | last post by:
I have posted about this problem before. SInce then I found a much better article to help with embedding python in a multithreaded application: http://www.linuxjournal.com/article/3641 I...
4
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
2
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.