hidden hit counter
Welcome to WindowsForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Unable to connect to WMI service

 
   Windows XP (Home) -> Security Admin RSS
Next:  Norton Install Problem  
Author Message
Bob Norris

External


Since: Sep 30, 2004
Posts: 2



(Msg. 1) Posted: Thu Sep 30, 2004 1:16 am
Post subject: Unable to connect to WMI service
Archived from groups: microsoft>public>windowsxp>security_admin (more info?)

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?

 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
Wesley Vogel

External


Since: Feb 23, 2004
Posts: 5718



(Msg. 2) Posted: Thu Sep 30, 2004 7:28 am
Post subject: Re: Unable to connect to WMI service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Windows XP reports that Windows Management Instrumentation (WMI) might be
corrupted?
<a rel="nofollow" style='text-decoration: none;' href="http://www.jsifaq.com/SUBK/tip5200/rh5281.htm" target="_blank">http://www.jsifaq.com/SUBK/tip5200/rh5281.htm</a>

[[You may receive any of the following error messages in Windows XP:
Unable to view network properties. Windows cannot display the properties of
connection. Windows Management Instrumentation (WMI) might be corrupted.
Unable to view System Information (MSinfo32).

If you run Windows Management Instrumentation (WMI), wmimgmt.msc, you
receive: Failed to connect to local computer due to WMI:Generic failure.

These errors will occur if the %SystemRoot%\System32\Wbem\Repository folder
is damaged.

To fix this problem:
1. Use the Start menu to right-click My Computer.
2. Press the Manage item.
3. Double-click Services and Applications in the left-hand pane.
4. Press Services to expand it.
5. Scroll to Windows Management Instrumentation in the right-hand pane and
right-click it.
6. Press Stop.
7. Use Windows Explorer to delete all the files in the
%SystemRoot%\System32\Wbem\Repository folder.
8. Shutdown and restart your computer. The Windows Management
Instrumentation service will start and the files will be re-created.]]
======================================

I had a problem with WMI, I also had a problem deleting
%SystemRoot%\System32\Wbem\Repository. I had to run Error Checking
(Chkdsk). And then try to delete the file.
C:\WINDOWS\System32\Wbem\Repository\FS.
------------------

Courtesy of Kelly T. @ <a rel="nofollow" style='text-decoration: none;' href="http://www.kellys-korner.com/" target="_blank">http://www.kellys-korner.com/</a>
[Windows Management Instrumentation - WinMgmt could not initialize the core
parts
Go to Start/Run/CMD and then run each of these hitting enter after each:

winmgmt /clearadap
winmgmt /kill
winmgmt /unregserver
winmgmt /regserver
winmgmt /resyncperf

This may or may not repair the repository but will re-install wmi into the
registry.]
=====================

From <a rel="nofollow" style='text-decoration: none;' href="http://www.kellys-korner-xp.com/xp_abc.htm" target="_blank">http://www.kellys-korner-xp.com/xp_abc.htm</a>

WMI
[[WMIPRVSE hosts the provider that sends your events on WinXP. On WinXP
providers are out of process from the actual WMI service. You can specify
the wbemConnectFlagUseMaxWait which will cause the timeout to be 2 minutes
instead of the default DCOM one which is up to 20 minutes. What may help is
to ping the remote machine first before attempting a ConnectServer.

WMI relies on DCOM for remoting which in turn uses RPC which then uses
TCP/IP, so there could be several reasons why it isn't connecting initially.
This is a known issue. Basically, when the provider calls MSI, it doesn't
necessarily cancel the initial request and attempts to finish it so
wmiprvse.exe will still show cpu usage.

To correct permission issues:

1 - In the Management Console\Services STOP WMI and set to manual.
2 - Go to the WMI repository %Windows%system32%wbem and delete the
repository.
3 -Set the WMI service back to Automatic
4 - From %Windows%system32%wbem run "wbemtest" and connect to your
namespace.
5 - Start/Run/Regedit and navigate to: Locate current

HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Class. Open the class
key and right click on the sub key 0000 and select permissions and make sure
that the permissions for you [administrator] are "Full".]]
===========

--
Hope this helps. Let us know.
Wes

In news:1eb501c4a6bd$78659710$a601280a@phx.gbl,
Bob Norris hunted and pecked:
 > 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?

 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
Torgeir Bakken 1

External


Since: Mar 22, 2004
Posts: 748



(Msg. 3) Posted: Thu Sep 30, 2004 3:49 pm
Post subject: Re: Unable to connect to WMI service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
<a rel="nofollow" style='text-decoration: none;' href="http://groups.google.com/groups?selm=eg4cXS3JEHA.2380%40TK2MSFTNGP09.phx.gbl" target="_blank">http://groups.google.com/groups?selm=eg4cXS3JEHA.2380%40TK2MSFTNGP09.phx.gbl</a>


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
<a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/?kbid=313222" target="_blank">http://support.microsoft.com/?kbid=313222</a>


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
<a rel="nofollow" style='text-decoration: none;' href="http://www.microsoft.com/technet/scriptcenter/default.mspx" target="_blank">http://www.microsoft.com/technet/scriptcenter/default.mspx</a>
 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
Bob Norris

External


Since: Sep 30, 2004
Posts: 2



(Msg. 4) Posted: Thu Sep 30, 2004 8:57 pm
Post subject: Re: Unable to connect to WMI service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I tried running the command lines. All worked apart
from "regsvr32 %windir%\system32\hnetcfg.dll"

when I ran this the following mesage box
appeared: "LoadLibrary ("%eindir%\system32\hnetcfg.dll")
failed - The specified module could not be found.

The problem has not gone away.

any further ideas?

 >-----Original Message-----
 >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.msp
x
 >.
 >
 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
anonymous1

External


Since: Feb 20, 2004
Posts: 2188



(Msg. 5) Posted: Sat Oct 02, 2004 12:22 am
Post subject: WMI information might be corrupted [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

When I click on properties - advanced tab of either my
local area connection or my ISP dial up connection I get
the message: "Windows cannot display the properties of
this 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. System
restore was disabled and I had no idea this function
existed!!.

When I checked WMI through control panel - administrative
tools - computer management - services and applications -
WMI control and right click and select properties I get
the message: Failed to connect to <local computer>
because :"Win32: %1 is not a valid Win32 application"

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"

I have tried re installing my network card.
I have deleted and reinstalled my dial up connection,
I have tried the solution in Microsoft Knowledge Base
Article - 319101 and that does not work

I have followed the recommended procedure below and that
does not work.
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
I have tried following this procedure as well and it does
not work
Go to Start/Run/CMD and then run each of these hitting
enter after each:

winmgmt /clearadap
winmgmt /kill
winmgmt /unregserver
winmgmt /regserver
winmgmt /resyncperf

I have tried this command:
%windir%\system32\wbem\mofcomp %windir%\system32
\wbem\hnetcfg.mof

and get the following :

Parsing MOF file: c:Windows\system32\wbem\hnetcfg.mof
MOF file has been successfully parsed
Storing data in repository...
An error occurred while opening the name space for object
1 defined on lines 16-19
Error number 0x800700c1, Facility: Win 32
Description: %1 is not a valid Win 32 application
Compiler returned error 0x800700c1

Can anybody out there help?
 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
Alfarjamie

External


Since: May 31, 2005
Posts: 1



(Msg. 6) Posted: Tue May 31, 2005 7:38 pm
Post subject: Re: Unable to connect to WMI service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Damn man im allso having the same error, it did work fine. One day when
i want to turn ICS on, bam gives me a WMI is damaged error. ive done
everything you guys listed here, nothing has helped it work. it all
applyed sucessfully, just didnt fix the damn WMI is damaged error. And
i cant system restore my pc because its turned off and im not doing the
full WIPE thats sure as hell, that will be 3 days of downloading non
stop again (updates for games and programs etc)



--
Alfarjamie
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1113434.html
 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
ramesh13

External


Since: Jan 10, 2005
Posts: 1773



(Msg. 7) Posted: Wed Jun 01, 2005 8:04 pm
Post subject: Re: Unable to connect to WMI service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Reinstalling WMI:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisd...mi/rein

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"Alfarjamie" wrote in message

>
> Damn man im allso having the same error, it did work fine. One day when
> i want to turn ICS on, bam gives me a WMI is damaged error. ive done
> everything you guys listed here, nothing has helped it work. it all
> applyed sucessfully, just didnt fix the damn WMI is damaged error. And
> i cant system restore my pc because its turned off and im not doing the
> full WIPE thats sure as hell, that will be 3 days of downloading non
> stop again (updates for games and programs etc)
>
>
>
> --
> Alfarjamie
> ------------------------------------------------------------------------
> Posted via http://www.mcse.ms
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message1113434.html
>
 >> Stay informed about: Unable to connect to WMI service 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Xp pro client unable to connect to RIS server - I have recently setup my server and client to install via RIS. The client is xp pro sp2 with a nic that is on the adapter list (i am using a boot disk). Once i reboot the disk kicks in and enters into the pxe mode, but it stops on the DHCP. then it....

Win XP firewall nd netmeeting: unable to connect - Hi, I've tried to connect two computers through a netmeeting call, under Windows XP, with the XP firewall activated. I've created "a rule" to indicate the ports to open for a netmeeting connection in the Win XP firewall, indicating the 4 or...

Remote Computer Management on a Domain: Unable to connect .. - I am trying to remote manage several Windows XP PC's on our Domain. I am a Domain admin and have privilages on all the PC's in question. When I open computer management and connect to the problem PC, I get access is denied for Event Viewer, Users, an...

XP Service Pack 1 versus Service Pack 2 - I have a CIO that has told me that Service Pack 1, with all hot fixes applied is the same as Service Pack 2. I know that SP 1 support is now gone, but assuming this statement was made at the time that SP 1 was still being supported with hot fixes (sa...

Connect to... - When I get I try to logon to another domain over the internet (for e-mail, for example) through IE6, I get the "Connect to..." dialog with a list of values in the User name: drop down. How do I clear that list? I've tried IE Tools | Options ...
   Windows XP (Home) -> Security Admin All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Win 2000/NT/98/ME
 Windows Vista!


[ Contact us | Terms of Service/Privacy Policy ]