Subscribe to Windows IT Pro
April 20, 2006 12:00 AM

JSI Tip 10418. You receive 'MMC cannot open the file C:\WINDOWS\system32\devmgmt.msc' when you open Device Manager or the Computer Management window?

Windows IT Pro
InstantDoc ID #85727
Rating: (3)


When you attempt to open Device Manager, or the Computer Management window, you receive an error similar to:

MMC cannot open the file C:\WINDOWS\system32\devmgmt.msc.

This behavior may occur if one or more library files used my the MMC are missing or corrupted:

Msxml.dll 
Msxml2.dll 
Msxml3.dll
I have scripted FixMMCDLL.BAT to resolve this behavior:

1. Open a CMD.EXE window.

2. Type FixMMCDLL.BAT and press Enter.

3. Shutdown and restart your computer.

FixMMCDLL.BAT contains:

@echo off
CD /D %SystemRoot%\System32
del /q Msxml.dll
del /q Msxml2.dll
del /q Msxml3.dll
copy /Y %windir%\system32\DLLCACHE\Msxml.dll *.*
copy /Y %windir%\system32\DLLCACHE\Msxml2.dll *.*
copy /Y %windir%\system32\DLLCACHE\Msxml3.dll *.*
regsvr32 /s Msxml.dll
regsvr32 /s Msxml2.dll
regsvr32 /s Msxml3.dll 



Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.