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?

Jerold Schulman

April 19, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today


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

MMC cannot open the file C:WINDOWSsystem32devmgmt.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 offCD /D %SystemRoot%System32del /q Msxml.dlldel /q Msxml2.dlldel /q Msxml3.dllcopy /Y %windir%system32DLLCACHEMsxml.dll *.*copy /Y %windir%system32DLLCACHEMsxml2.dll *.*copy /Y %windir%system32DLLCACHEMsxml3.dll *.*regsvr32 /s Msxml.dllregsvr32 /s Msxml2.dllregsvr32 /s Msxml3.dll 



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like