Re: WMI Error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Philip Nunn [MSFT] (pnunn_at_online.microsoft.com)
Date: 07/29/04

  • Next message: Eddie: "Re: WMI Error"
    Date: Wed, 28 Jul 2004 19:22:05 -0700
    
    

    Sorry if my steps were confusing. 'type' should never actually be typed - I
    just mean to say execute the command in quotes.

    C:\>net stop winmgmt

    The Windows Management Instrumentation service is stopping.
    The Windows Management Instrumentation service was stopped successfully.

    C:\>cd %windir%\system32\wbem

    C:\WINDOWS\system32\wbem>ren Repository Repository.old

    Let me know if this still does not work.
    Thanks.

    -- 
    Philip Nunn [MSFT]
    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.
    "Eddie" <Eddie@discussions.microsoft.com> wrote in message 
    news:61c501c474e2$b1c5aed0$a501280a@phx.gbl...
    > Phillip
    >
    > Thanks
    > 'type "net stop winmgmt"'
    > I get message - system error 1060 has occurred
    >
    > 'type "cd %windir%\system32\wbem"'
    >>- type "ren repository repository.old"
    > I get message - the system cannot find the file specified
    >
    > Any more suggestions ?
    >
    > thanks
    >>-----Original Message-----
    >>First you can try to use SystemRestore to go to a point
    > before the
    >>corruption.
    >>
    >>Another way this can be fixed is by forcing an auto-
    > recover of the default
    >>information stored in the WMI repository (database).
    >>
    >>- open a command window (start > cmd.exe)
    >>- type "net stop winmgmt"
    >>- type "cd %windir%\system32\wbem"
    >>- type "ren repository repository.old"  (or
    > alternatively delete it)
    >>
    >>Then try your operation again.  It may take a minute or
    > so to complete while
    >>WMI rebuilds the database.
    >>
    >>
    >>-- 
    >>Philip Nunn [MSFT]
    >>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.
    >>"Eddie" <eddie@discussions.microsoft.com> wrote in
    > message
    >>news:390e01c4722b$18f07af0$a301280a@phx.gbl...
    >>>I am unable to connect to other networked computers and
    >>> when trying to sort the problem through network
    >>> diagnostic in XP help I get the following error message
    >>>
    >>> "Unable to connect to WMI service '\root\cimv2' "
    >>>
    >>> also "WMI information may be corrupted" message apears
    > on
    >>> the advanced tab of Local area connection properties.
    >>>
    >>> I am using windows XP
    >>>
    >>> any suggestions?
    >>>
    >>> Thanks Eddie
    >>
    >>
    >>.
    >> 
    

  • Next message: Eddie: "Re: WMI Error"

    Relevant Pages

    • Re: Windows Firewall falsely reports being off
      ... ren repository repository.old ... net start winmgmt ... Scroll down to Windows Management Instrumentation and double-click its entry. ... The above of course does exactly what the command line method does but is clumsier and takes longer. ...
      (microsoft.public.windowsxp.general)
    • Re: Windows Security says Norton still ON...
      ... net start winmgmt ... ren repository repository.old = renames the repository folder inside the wbem folder to repository.old ... net start winmgmt = starts the Windows Management Instrumentation service ...
      (microsoft.public.windowsxp.general)
    • Re: Firewalls displayed in security center
      ... Right-click Command Prompt and Run as Administrator. ... winmgmt /salvagerepository ... the services causing it to fail. ... ren repository repository.old ...
      (microsoft.public.windows.vista.general)
    • Re: WMI Problem
      ... To stop winmgmt... ... Hit Enter ... To see if WMI is running, ... Do you see Windows Management Instrumentation listed?? ...
      (microsoft.public.windowsxp.basics)
    • Re: WMI Error
      ... This can be done from a command window with the Windows CD in the drive: ... "Eddie" wrote in message ... >>The Windows Management Instrumentation service was> stopped successfully. ...
      (microsoft.public.windowsxp.wmi)