473,412 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 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 8817
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.