Re: Unable to connect to WMI service

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 09/30/04


Date: Thu, 30 Sep 2004 21:02:10 +0200

Bob Norris wrote:

> Networking problem
> I cannot get ICS to work, it used to but not now!!! when
> I click on properties - advanced tab of my ISP i get teh
> message"Windows cannot display the properties ofthis
> connection. The Window management Instrumentation (WMI)
> information might be corrupted. To correct this use
> system restore to restore windows to an earlier time
> (called restore point).
>
> The trouble is I have no point to restore to. It was
> disabled and i had no idea this functin existed!!.
>
> when I run a network diagnostics scan every item shows up
> as an error and the detail reads: Unable to connect to
> WMI service "\\.\root\cimv2"
>
> has anybody got a fix for this problem?
Hi

Try (using e.g. Start/Run, or a command prompt):

regsvr32 %windir%\system32\atl.dll
regsvr32 %windir%\system32\netshell.dll
regsvr32 %windir%\system32\hnetcfg.dll
regsvr32 %windir%\system32\netcfgx.dll
regsvr32 %windir%\system32\netman.dll

If that doesn't fix it, a lot of good information in this one about
repairing WMI:

From: Ivan Brugiolo [MSFT] (ivanbrug@online.microsoft.com)
Subject: Re: Windows XP WMI Reinstall
Newsgroups: microsoft.public.win32.programmer.wmi
Date: 2004-04-21 00:46:56 PST
http://groups.google.com/groups?selm=eg4cXS3JEHA.2380%40TK2MSFTNGP09.phx.gbl

WinXP Pro only:
If nothing in the link above helped, you might want to follow
the procedure here and see if it helps:

How To Reset Security Settings Back to the Defaults
http://support.microsoft.com/?kbid=313222

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx


Relevant Pages

  • Re: Slow logon and event log warning since installing XP Service P
    ... occurring (though it did not reduce the start-up time). ... "Windows cannot display the properties of this connection. ... Management Instrumentation (WMI) information might be corrupted. ... use System Restore to restore Windows to an earlier time ...
    (microsoft.public.windowsupdate)
  • Re: enumerating top level windows
    ... > thing can be accomplished using wmi. ... Here us two free command line utilities you can e.g. run from a network ... CMDOW Commandline Window Utility (with /T: List only the windows shown ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.scripting.wsh)
  • Re: WMI information may be corrupted
    ... WMI rebuilds the database. ... The Windows> Management Instrument information might be corrupted. ... > use System Restore to restore Windows to an earlier time. ... System Restore is located in the System Tools folder in> Accessories." ...
    (microsoft.public.windowsxp.wmi)
  • Re: Unable to connect to WMI service
    ... >> system restore to restore windows to an earlier time ... >> has anybody got a fix for this problem? ... >repairing WMI: ... >torgeir, Microsoft MVP Scripting and WMI, Porsgrunn ...
    (microsoft.public.windowsxp.security_admin)
  • RE: WINDOWS MANAGEMENT INSTRUMENTATION
    ... "Windows cannot display the properties of this ... System Restore to restore Windows to an earlier time ... any way for me to extract the WMI file from the Install ...
    (microsoft.public.windowsxp.security_admin)