Jump to content

Recommended Posts

Posted

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


Posted

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

Posted

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 MINE

if you know how to fix it, pls let me know. thank you.

Posted

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)

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...