Re: Q: WMI corrupt on XP, is reinstall possible?

From: Sarika Sharma[MSFT] (sarikas_at_online.microsoft.com)
Date: 03/22/04

  • Next message: Yuval Kashtan: "Re: __InstanceCreationEvent Question"
    Date: Mon, 22 Mar 2004 10:37:06 -0800
    
    

    I seems that the namespace he is trying to connect is missing but in this
    case root\cimv2
    this can be fixed by compiling mof
    run
    mofcomp %windir%\system32\wbem\cimwin32.mof

    If this problem persists then we need to recover the whole repository

    Net stop winmgmt
    ren %windir%\system32\wbem\Repository %windir%\system32\wbem\Repository.old
    Net start winmgmt

    this will recover the data in the autorecover. However user will have to
    restore rest of the data himself.

    -- 
    Sarika Sharma [MSFT]
    WMI Test Engineer
    This posting is provided "As Is" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm
    Please do not send e-mail directly to this alias. This alias is for
    newsgroup purposes only.
    "gonzalez" <gonza@drumandbass.ee> wrote in message
    news:55affaf1.0403190426.5a2fc3a3@posting.google.com...
    > I have analog problem on my W2K workstation -
    >
    > WMI Driver Extension service is missing, an so far I cannot find a way
    > to get it back - service pack reinstall with OEM files overwrite
    > doesn't help.
    >
    >
    > "shawn" <shawn at att dot com> wrote in message
    news:<ukQpmMfAEHA.2800@tk2msftngp13.phx.gbl>...
    > > I have a user getting WBEM_E_NOT_FOUND (0x80041002) when they connect to
    WMI
    > > on XP. My code's call to ConnectServer is failing for this one user. It
    > > works for many other users. I've verified that WMI services are started
    > > also. Also, I had him try wbemtest->connect->root\cimv2, and he said he
    got
    > > this error also. I'm thinking that WMI file may have been corrupted. Is
    > > there a way to reinstall it?
    > >
    > > Thanks,
    > > Shawn
    

  • Next message: Yuval Kashtan: "Re: __InstanceCreationEvent Question"

    Relevant Pages

    • Re: Q: WMI corrupt on XP, is reinstall possible?
      ... WMI Driver Extension service is missing, an so far I cannot find a way ... to get it back - service pack reinstall with OEM files overwrite ...
      (microsoft.public.win32.programmer.wmi)
    • Re: WMI system files & repository files MISSING
      ... message that WMI files are missing. ... services I get a message that snap in failed to initialize - Name WMI ... bootable recovery disk that I can use to restore the operating system. ...
      (microsoft.public.windowsxp.help_and_support)
    • RE: wmi initialization failed
      ... To find which components are missing, first you need to find the files associated to that error. ... I'll do the following while installing the application through wmi. ... Once missing files are identified, perform a custom search on TD on that file. ...
      (microsoft.public.windowsxp.embedded)
    • Re: How to reinstall WMI on WXP-SP2
      ... which is basically a VBScript which is intended to verify the setup and ... the core elements of WMI based on information in the registry and the WMI ... of missing files with instructions to copy them from a WMI-functional PC. ... FYI, the MSI installer will not work without WMI, so that is my guess as ...
      (microsoft.public.scripting.vbscript)
    • Re: WMI corrupt on XP, is reinstall possible?
      ... perhaps autorecovery of the mof files failed to compile all mofs. ... "shawn" wrote in message ... > WMI issues and I'm looking an underlying problem. ... >> You can try connecting to root namespace and enumerate __Namespace to ...
      (microsoft.public.win32.programmer.wmi)