member11 Posted May 19, 2005 Posted May 19, 2005 anybody here knows how to repair / reinstall WMI in windows XP. After installing SP2, wmi in my xp machine corrupted.if you know how to do it, pls let me know.thanks
D8TA Posted May 19, 2005 Posted May 19, 2005 Google is your friend....http://msdn.microsoft.com/library/default....talling_wmi.asp
member11 Posted May 21, 2005 Author Posted May 21, 2005 do you know any different between WMI and WMIC.?thank you
Martin Zugec Posted May 21, 2005 Posted May 21, 2005 Of course. WMIC is just simplified access to WMI classes using MSXML. So if your WMIC commands dont work, you should try using direct access (e.g. wmic path win32_process etc.). If you got problem directly with WMI, you need to recompile your mof repository. I will post you solution, if you will include details about your problem
member11 Posted May 21, 2005 Author Posted May 21, 2005 the only 2 classes that i have problems are CIM_DATAFILE (path property doesn' work) and ntlog things (application,security in event viewer doesn't work) when i write script about them.every class in WMI runs fine in my computer BUT not the above ones. I ran a few scripts from scriptcenter at MS. They claim these scripts work in their XP but dont' work on MINEif you know how to fix it, pls let me know. thank you.
Martin Zugec Posted May 21, 2005 Posted May 21, 2005 Sorry, I have bad news for you - these two classes are officially working, but are extremely unstable. I encountered this problem few times - worst case was on my presentation on WMIC. I dont think you can do anything on this issue (well, you can, but it is not worth the time you will spend on it)
member11 Posted May 21, 2005 Author Posted May 21, 2005 thank you for letting me know. I don't need to do anything with my WMI because you have the same problem.I can't believe MS put something like this in *development tool*. i'll look into WMIC to see if anything is different from it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now