PC Review Forums Newsgroups Windows XP Windows XP Performance MMC cannot open the file c:\windows\system32\compmgmt.msc



Reply

MMC cannot open the file c:\windows\system32\compmgmt.msc

 
Thread Tools Rate Thread
Old 14-02-2007, 06:10 PM   #1
=?Utf-8?B?SmF5?=
Guest
 
Posts: n/a
Default MMC cannot open the file c:\windows\system32\compmgmt.msc

When I attempt to "Manage" my computer, I get the error message:

MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
This may be because the file does not exist, is not an MMC console, or was
created by a later version of MMC. This may also be because you do not have
sufficient access rights to the file.

I get the same erro when I attempt to open the Event Viewer, Services, etc.
(basically anything in Administrative Tools).

So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
I added the necessary snap-ins and attempted to save the MMC console as
"console1" and put it in:
DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get an
error message stating:
"MMC cannot save the console"

I am logged into the system as Local Administrator with full security
privileges to the entire machine.

I found Knowledge Base article 326574, and have verified that "C:\windows;
c:\windows\system32; c:\windows\system32\wbem" are all contained in my PATH.

What could the problem be? Does it appear that I need to reinstall the O/S?
  Reply With Quote
Old 14-02-2007, 06:42 PM   #2
Wesley Vogel
Guest
 
Posts: n/a
Default Re: MMC cannot open the file c:\windows\system32\compmgmt.msc

Error Message "Snap-in Failed to Initialize" When You Use Microsoft
Management Console
http://support.microsoft.com/kb/297064

"Snap-in Failed to Initialize" Error Message When You Open Microsoft
Management Console
http://support.microsoft.com/kb/826282

You receive a "Cannot open <Snap-in Name>" error message when you try to
start MMC on a Windows XP-based computer
http://support.microsoft.com/kb/326574

Device Manager Snap-in fails to initialize
http://windowsxp.mvps.org/devmgr.htm

"Action Canceled" error while opening Device Manager
http://windowsxp.mvps.org/dmocx.htm

Make sure that %SystemRoot%\System32\WBEM is in the PATH.

Note: %SystemRoot% is usually the same thing as C:\WINDOWS

I.e. %SystemRoot%\System32 = C:\WINDOWS\system32

Open a command prompt...
Start | Run | Type: cmd | Click OK |
When the command prompt opens, type: path and then hit your Enter key.

It should look something like this...

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

There may be more items, but make sure that you see WINDOWS\System32\Wbem

This behavior can also occur if your PATH environment variable ends with \

To resolve the problem
1. Right-click My Computer and press Properties.
2. Select the Advanced tab.
3. Press the Environment Variables button.
4. Double-click PATH in the System variables area.
5. Remove the \ from the end of the string.
6. Press OK and OK.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:5007DB1B-901F-4A5F-B469-C6FC228B4CCB@microsoft.com,
Jay <Jay@discussions.microsoft.com> hunted and pecked:
> When I attempt to "Manage" my computer, I get the error message:
>
> MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
> This may be because the file does not exist, is not an MMC console, or was
> created by a later version of MMC. This may also be because you do not
> have sufficient access rights to the file.
>
> I get the same erro when I attempt to open the Event Viewer, Services,
> etc. (basically anything in Administrative Tools).
>
> So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
> I added the necessary snap-ins and attempted to save the MMC console as
> "console1" and put it in:
> DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get
> an error message stating:
> "MMC cannot save the console"
>
> I am logged into the system as Local Administrator with full security
> privileges to the entire machine.
>
> I found Knowledge Base article 326574, and have verified that "C:\windows;
> c:\windows\system32; c:\windows\system32\wbem" are all contained in my
> PATH.
>
> What could the problem be? Does it appear that I need to reinstall the
> O/S?


  Reply With Quote
Old 14-02-2007, 07:21 PM   #3
=?Utf-8?B?SmF5?=
Guest
 
Posts: n/a
Default Re: MMC cannot open the file c:\windows\system32\compmgmt.msc

These solutions did NOT resolve the problem.
As I stated in my original post, I already reviewed and tried KB326574 and
confirmed that the correct PATH variables are in place.

Any other suggestions?

"Wesley Vogel" wrote:

> Error Message "Snap-in Failed to Initialize" When You Use Microsoft
> Management Console
> http://support.microsoft.com/kb/297064
>
> "Snap-in Failed to Initialize" Error Message When You Open Microsoft
> Management Console
> http://support.microsoft.com/kb/826282
>
> You receive a "Cannot open <Snap-in Name>" error message when you try to
> start MMC on a Windows XP-based computer
> http://support.microsoft.com/kb/326574
>
> Device Manager Snap-in fails to initialize
> http://windowsxp.mvps.org/devmgr.htm
>
> "Action Canceled" error while opening Device Manager
> http://windowsxp.mvps.org/dmocx.htm
>
> Make sure that %SystemRoot%\System32\WBEM is in the PATH.
>
> Note: %SystemRoot% is usually the same thing as C:\WINDOWS
>
> I.e. %SystemRoot%\System32 = C:\WINDOWS\system32
>
> Open a command prompt...
> Start | Run | Type: cmd | Click OK |
> When the command prompt opens, type: path and then hit your Enter key.
>
> It should look something like this...
>
> PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>
> There may be more items, but make sure that you see WINDOWS\System32\Wbem
>
> This behavior can also occur if your PATH environment variable ends with \
>
> To resolve the problem
> 1. Right-click My Computer and press Properties.
> 2. Select the Advanced tab.
> 3. Press the Environment Variables button.
> 4. Double-click PATH in the System variables area.
> 5. Remove the \ from the end of the string.
> 6. Press OK and OK.
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:5007DB1B-901F-4A5F-B469-C6FC228B4CCB@microsoft.com,
> Jay <Jay@discussions.microsoft.com> hunted and pecked:
> > When I attempt to "Manage" my computer, I get the error message:
> >
> > MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
> > This may be because the file does not exist, is not an MMC console, or was
> > created by a later version of MMC. This may also be because you do not
> > have sufficient access rights to the file.
> >
> > I get the same erro when I attempt to open the Event Viewer, Services,
> > etc. (basically anything in Administrative Tools).
> >
> > So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
> > I added the necessary snap-ins and attempted to save the MMC console as
> > "console1" and put it in:
> > DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get
> > an error message stating:
> > "MMC cannot save the console"
> >
> > I am logged into the system as Local Administrator with full security
> > privileges to the entire machine.
> >
> > I found Knowledge Base article 326574, and have verified that "C:\windows;
> > c:\windows\system32; c:\windows\system32\wbem" are all contained in my
> > PATH.
> >
> > What could the problem be? Does it appear that I need to reinstall the
> > O/S?

>
>

  Reply With Quote
Old 14-02-2007, 08:00 PM   #4
Wesley Vogel
Guest
 
Posts: n/a
Default Re: MMC cannot open the file c:\windows\system32\compmgmt.msc

Is there a slash (\) in the environement variables?

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:C753DDFD-BDF2-4EC1-B116-CD3519317C1C@microsoft.com,
Jay <Jay@discussions.microsoft.com> hunted and pecked:
> These solutions did NOT resolve the problem.
> As I stated in my original post, I already reviewed and tried KB326574 and
> confirmed that the correct PATH variables are in place.
>
> Any other suggestions?
>
> "Wesley Vogel" wrote:
>
>> Error Message "Snap-in Failed to Initialize" When You Use Microsoft
>> Management Console
>> http://support.microsoft.com/kb/297064
>>
>> "Snap-in Failed to Initialize" Error Message When You Open Microsoft
>> Management Console
>> http://support.microsoft.com/kb/826282
>>
>> You receive a "Cannot open <Snap-in Name>" error message when you try to
>> start MMC on a Windows XP-based computer
>> http://support.microsoft.com/kb/326574
>>
>> Device Manager Snap-in fails to initialize
>> http://windowsxp.mvps.org/devmgr.htm
>>
>> "Action Canceled" error while opening Device Manager
>> http://windowsxp.mvps.org/dmocx.htm
>>
>> Make sure that %SystemRoot%\System32\WBEM is in the PATH.
>>
>> Note: %SystemRoot% is usually the same thing as C:\WINDOWS
>>
>> I.e. %SystemRoot%\System32 = C:\WINDOWS\system32
>>
>> Open a command prompt...
>> Start | Run | Type: cmd | Click OK |
>> When the command prompt opens, type: path and then hit your Enter key.
>>
>> It should look something like this...
>>
>> PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>>
>> There may be more items, but make sure that you see WINDOWS\System32\Wbem
>>
>> This behavior can also occur if your PATH environment variable ends with
>> \
>>
>> To resolve the problem
>> 1. Right-click My Computer and press Properties.
>> 2. Select the Advanced tab.
>> 3. Press the Environment Variables button.
>> 4. Double-click PATH in the System variables area.
>> 5. Remove the \ from the end of the string.
>> 6. Press OK and OK.
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:5007DB1B-901F-4A5F-B469-C6FC228B4CCB@microsoft.com,
>> Jay <Jay@discussions.microsoft.com> hunted and pecked:
>>> When I attempt to "Manage" my computer, I get the error message:
>>>
>>> MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
>>> This may be because the file does not exist, is not an MMC console, or
>>> was created by a later version of MMC. This may also be because you do
>>> not have sufficient access rights to the file.
>>>
>>> I get the same erro when I attempt to open the Event Viewer, Services,
>>> etc. (basically anything in Administrative Tools).
>>>
>>> So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
>>> I added the necessary snap-ins and attempted to save the MMC console as
>>> "console1" and put it in:
>>> DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get
>>> an error message stating:
>>> "MMC cannot save the console"
>>>
>>> I am logged into the system as Local Administrator with full security
>>> privileges to the entire machine.
>>>
>>> I found Knowledge Base article 326574, and have verified that
>>> "C:\windows; c:\windows\system32; c:\windows\system32\wbem" are all
>>> contained in my PATH.
>>>
>>> What could the problem be? Does it appear that I need to reinstall the
>>> O/S?


  Reply With Quote
Old 14-02-2007, 08:13 PM   #5
=?Utf-8?B?bmFzcw==?=
Guest
 
Posts: n/a
Default Re: MMC cannot open the file c:\windows\system32\compmgmt.msc

Hi Jay,
What version of MSXML you have installed now on your server?.
Read this article:
http://support.microsoft.com/kb/816598

Open the Run Command and type in these DLLs (you may need just one but try
both if the first didn't help):
regsvr32 msxml4.dll Click [OK] and Reboot the machine Note if you have
MSXML3 replace the number and re-register the DLL.
regsvr32 /u msxml4.dll
HTH.
Let us know.
Regards,
nass

"Jay" wrote:

> These solutions did NOT resolve the problem.
> As I stated in my original post, I already reviewed and tried KB326574 and
> confirmed that the correct PATH variables are in place.
>
> Any other suggestions?
>
> "Wesley Vogel" wrote:
>
> > Error Message "Snap-in Failed to Initialize" When You Use Microsoft
> > Management Console
> > http://support.microsoft.com/kb/297064
> >
> > "Snap-in Failed to Initialize" Error Message When You Open Microsoft
> > Management Console
> > http://support.microsoft.com/kb/826282
> >
> > You receive a "Cannot open <Snap-in Name>" error message when you try to
> > start MMC on a Windows XP-based computer
> > http://support.microsoft.com/kb/326574
> >
> > Device Manager Snap-in fails to initialize
> > http://windowsxp.mvps.org/devmgr.htm
> >
> > "Action Canceled" error while opening Device Manager
> > http://windowsxp.mvps.org/dmocx.htm
> >
> > Make sure that %SystemRoot%\System32\WBEM is in the PATH.
> >
> > Note: %SystemRoot% is usually the same thing as C:\WINDOWS
> >
> > I.e. %SystemRoot%\System32 = C:\WINDOWS\system32
> >
> > Open a command prompt...
> > Start | Run | Type: cmd | Click OK |
> > When the command prompt opens, type: path and then hit your Enter key.
> >
> > It should look something like this...
> >
> > PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
> >
> > There may be more items, but make sure that you see WINDOWS\System32\Wbem
> >
> > This behavior can also occur if your PATH environment variable ends with \
> >
> > To resolve the problem
> > 1. Right-click My Computer and press Properties.
> > 2. Select the Advanced tab.
> > 3. Press the Environment Variables button.
> > 4. Double-click PATH in the System variables area.
> > 5. Remove the \ from the end of the string.
> > 6. Press OK and OK.
> >
> > --
> > Hope this helps. Let us know.
> >
> > Wes
> > MS-MVP Windows Shell/User
> >
> > In news:5007DB1B-901F-4A5F-B469-C6FC228B4CCB@microsoft.com,
> > Jay <Jay@discussions.microsoft.com> hunted and pecked:
> > > When I attempt to "Manage" my computer, I get the error message:
> > >
> > > MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
> > > This may be because the file does not exist, is not an MMC console, or was
> > > created by a later version of MMC. This may also be because you do not
> > > have sufficient access rights to the file.
> > >
> > > I get the same erro when I attempt to open the Event Viewer, Services,
> > > etc. (basically anything in Administrative Tools).
> > >
> > > So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
> > > I added the necessary snap-ins and attempted to save the MMC console as
> > > "console1" and put it in:
> > > DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get
> > > an error message stating:
> > > "MMC cannot save the console"
> > >
> > > I am logged into the system as Local Administrator with full security
> > > privileges to the entire machine.
> > >
> > > I found Knowledge Base article 326574, and have verified that "C:\windows;
> > > c:\windows\system32; c:\windows\system32\wbem" are all contained in my
> > > PATH.
> > >
> > > What could the problem be? Does it appear that I need to reinstall the
> > > O/S?

> >
> >

  Reply With Quote
Old 15-02-2007, 03:01 AM   #6
=?Utf-8?B?SmF5?=
Guest
 
Posts: n/a
Default Re: MMC cannot open the file c:\windows\system32\compmgmt.msc

Wesley: YES, there are slashes ("\") in the PATH variable. My path was
fairly long:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\oracle\reports\bin;C:\oracle\reports9i\bin;C:\Program
Files\Oracle\jre\1.1.8\bin;c:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files\Dell\SysMgt\RAC


Nass: The installed version of MSXML is 4, sp2 from Windows Update KB927978.
The installed MSXML Parser is version 6.


"nass" wrote:

> Hi Jay,
> What version of MSXML you have installed now on your server?.
> Read this article:
> http://support.microsoft.com/kb/816598
>
> Open the Run Command and type in these DLLs (you may need just one but try
> both if the first didn't help):
> regsvr32 msxml4.dll Click [OK] and Reboot the machine Note if you have
> MSXML3 replace the number and re-register the DLL.
> regsvr32 /u msxml4.dll
> HTH.
> Let us know.
> Regards,
> nass
>
> "Jay" wrote:
>
> > These solutions did NOT resolve the problem.
> > As I stated in my original post, I already reviewed and tried KB326574 and
> > confirmed that the correct PATH variables are in place.
> >
> > Any other suggestions?
> >
> > "Wesley Vogel" wrote:
> >
> > > Error Message "Snap-in Failed to Initialize" When You Use Microsoft
> > > Management Console
> > > http://support.microsoft.com/kb/297064
> > >
> > > "Snap-in Failed to Initialize" Error Message When You Open Microsoft
> > > Management Console
> > > http://support.microsoft.com/kb/826282
> > >
> > > You receive a "Cannot open <Snap-in Name>" error message when you try to
> > > start MMC on a Windows XP-based computer
> > > http://support.microsoft.com/kb/326574
> > >
> > > Device Manager Snap-in fails to initialize
> > > http://windowsxp.mvps.org/devmgr.htm
> > >
> > > "Action Canceled" error while opening Device Manager
> > > http://windowsxp.mvps.org/dmocx.htm
> > >
> > > Make sure that %SystemRoot%\System32\WBEM is in the PATH.
> > >
> > > Note: %SystemRoot% is usually the same thing as C:\WINDOWS
> > >
> > > I.e. %SystemRoot%\System32 = C:\WINDOWS\system32
> > >
> > > Open a command prompt...
> > > Start | Run | Type: cmd | Click OK |
> > > When the command prompt opens, type: path and then hit your Enter key.
> > >
> > > It should look something like this...
> > >
> > > PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
> > >
> > > There may be more items, but make sure that you see WINDOWS\System32\Wbem
> > >
> > > This behavior can also occur if your PATH environment variable ends with \
> > >
> > > To resolve the problem
> > > 1. Right-click My Computer and press Properties.
> > > 2. Select the Advanced tab.
> > > 3. Press the Environment Variables button.
> > > 4. Double-click PATH in the System variables area.
> > > 5. Remove the \ from the end of the string.
> > > 6. Press OK and OK.
> > >
> > > --
> > > Hope this helps. Let us know.
> > >
> > > Wes
> > > MS-MVP Windows Shell/User
> > >
> > > In news:5007DB1B-901F-4A5F-B469-C6FC228B4CCB@microsoft.com,
> > > Jay <Jay@discussions.microsoft.com> hunted and pecked:
> > > > When I attempt to "Manage" my computer, I get the error message:
> > > >
> > > > MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
> > > > This may be because the file does not exist, is not an MMC console, or was
> > > > created by a later version of MMC. This may also be because you do not
> > > > have sufficient access rights to the file.
> > > >
> > > > I get the same erro when I attempt to open the Event Viewer, Services,
> > > > etc. (basically anything in Administrative Tools).
> > > >
> > > > So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
> > > > I added the necessary snap-ins and attempted to save the MMC console as
> > > > "console1" and put it in:
> > > > DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get
> > > > an error message stating:
> > > > "MMC cannot save the console"
> > > >
> > > > I am logged into the system as Local Administrator with full security
> > > > privileges to the entire machine.
> > > >
> > > > I found Knowledge Base article 326574, and have verified that "C:\windows;
> > > > c:\windows\system32; c:\windows\system32\wbem" are all contained in my
> > > > PATH.
> > > >
> > > > What could the problem be? Does it appear that I need to reinstall the
> > > > O/S?
> > >
> > >

  Reply With Quote
Old 09-03-2007, 06:46 PM   #7
Dan P. Beckner
Guest
 
Posts: n/a
Default Re: MMC cannot open the file c:\windows\system32\compmgmt.msc

Jay,

did you ever get an answer to this. I suddenly got the same exact
problem you have. It was after I reinstalled a clean install of XP
and SP2. I had the exact same install on exactly the same machine
before the reinstall. Previous install had become unstable after
about 9 months of use, so I was reinstalling.

Thanks,

Dan P. Beckner
dpbeckner@becknerent.com

On Wed, 14 Feb 2007 10:10:23 -0800, Jay
<Jay@discussions.microsoft.com> wrote:

>When I attempt to "Manage" my computer, I get the error message:
>
>MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC
>This may be because the file does not exist, is not an MMC console, or was
>created by a later version of MMC. This may also be because you do not have
>sufficient access rights to the file.
>
>I get the same erro when I attempt to open the Event Viewer, Services, etc.
>(basically anything in Administrative Tools).
>
>So, I clicked START-->RUN and keyed in MMC and pressed ENTER.
>I added the necessary snap-ins and attempted to save the MMC console as
>"console1" and put it in:
>DOCS&SETTINGS\ALLUSERS\STARTMENU\PROGRAMS\ADMINISTRATIVE-TOOLS and I get an
>error message stating:
>"MMC cannot save the console"
>
>I am logged into the system as Local Administrator with full security
>privileges to the entire machine.
>
>I found Knowledge Base article 326574, and have verified that "C:\windows;
>c:\windows\system32; c:\windows\system32\wbem" are all contained in my PATH.
>
>What could the problem be? Does it appear that I need to reinstall the O/S?

  Reply With Quote
Old 11-10-2007, 10:49 AM   #8
madjoe
Junior Member
 
Join Date: Oct 2007
Posts: 1
Trader Rating: (0)
Default

ho ho.. got the solution..

Regsvr32 Msxml.dll

Regsvr32 Msxml2.dll

Regsvr32 Msxml3.dll

for me it works.. i had the same probs befor
madjoe is offline   Reply With Quote
Old 15-02-2009, 10:31 PM   #9
Jack_Tolmie
Junior Member
 
Join Date: Feb 2009
Posts: 1
Trader Rating: (0)
Default The fix for vista

Thank you for the lead from the guy above. This one seems to work for vista, but it might be a bit redundant. I just registered them all...

regsvr32 msxml3.dll
regsvr32 msxml4.dll
regsvr32 msxml6.dll

It seems to fix the isssues with not being able to go into computer management, windows updates and a few other areas that you could not get into before.
Jack_Tolmie is offline   Reply With Quote
Reply


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off