금요일, 1월 18, 2008

MMC에서 C:\WINDOWS\system32\devmgmt.msc Error

혹시 WIPI VM 개발을 하면서 QPST 사용후 MMC 관련 error 가 날 수 있는데,
즉, 장치관리자를 포함한 제어판->관리도구 까지 접근할 수가 없는 상황이 발생하게 되는데 이럴때 아래의 방법으로 문제를 해결하도록 하자.

MMC에서 C:\WINDOWS\system32\devmgmt.msc 파일을 열수 없다며
(MMC cannot open the file C:\WINDOWS\system32\devmgmt.msc)
"파일이 없거나 MMC콘솔파일이 아니거나 이전 버전의 MMC 에서 파일을 만들었습니다." 라고 지랄을 하면...

다음과 같이하자. 씨~ ;) 이것 때문에 짜증난걸 생각하면... 아휴... -_-/

regsvr32 c:\windows\system32\msxml.dll
regsvr32 c:\windows\system32\msxml2.dll
regsvr32 c:\windows\system32\msxml3.dll

보통은 msxml.dll 만 해주면 되는데, 그것만으로도 안되면 ~2, ~3.dll 까지 registering 해주자.

-

아래 방법은 cache directory 에 있는 파일을 복사해서 사용하는데 아래의 방법이 정석인 줄은 잘 모르겠다. 방법은 거의 동일하다.
Source: http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10418
10418 » You receive 'MMC cannot open the file C:\WINDOWS\system32\devmgmt.msc' when you open Device Manager or the Computer Management window? (20-Apr-06)
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

---

Cheers,
godmode2k

댓글 없음:

댓글 쓰기