잘못된 버전으로 인해 시스템 이미지 관리자에서 install.wim을 열 수 없습니다.

잘못된 버전으로 인해 시스템 이미지 관리자에서 install.wim을 열 수 없습니다.

내 PC에서 Windows 10 Pro 64비트를 실행 중이고 Windows 10용 Windows ADK를 설치했습니다. Windows 시스템 이미지 관리자를 사용하여 파일을 로드하려고 하면 install.wim다음 오류 메시지가 나타납니다.

여기에 이미지 설명을 입력하세요

로그에는 다음과 같이 표시됩니다.

20:38 : This application requires version 10.0.10240.16384 of the Windows ADK.
Install this version to correct the problem
20:38 : 
20:38 : Error opening Windows image at D:\sources\install.wim.

20:38 : 
20:38 : System.ComponentModel.Win32Exception (0x80004005): An attempt was made to load a program with an incorrect format
   bij Microsoft.ComponentStudio.ComponentPlatformInterface.WimFileHandle..ctor(String wimPath)
   bij Microsoft.ComponentStudio.ComponentPlatformInterface.WimInfo..ctor(String wimPath)
   bij Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.OpenWim(String wimPath)
   bij Microsoft.ComponentStudio.ImagePicker.GetImageInfoFromPath(String path)
   bij Microsoft.ComponentStudio.ImagePicker.ValidateImageFileOrFolder(String fileOrFolder)

하고 난 후일부 연구, 오류 메시지(16384)에서 요청한 버전으로 내 ADK를 업그레이드하기 위한 답변을 찾았습니다.

다운로드할 수 있었어요이 버전은 여기.

현재 SIM에 있는 버전을 확인할 때 10.0.10240.16384 버전을 발견했습니다.

여기에 이미지 설명을 입력하세요

오류 없이 Windows 10 설치 디스크에서 SIM으로 install.wim을 로드하려면 어떻게 해야 합니까?

답변1

해결책을 찾았습니다여기.

배포 도구 환경에서 아래 스크립트를 실행합니다.

:: Rename the original install.wim file.
rename D:\sources\install.wim install.bak
:: Create an empty temporary directory.
mkdir D:\sources\dummy
:: Create a new install.wim file with dummy image.
dism.exe /Capture-Image /ImageFile:D:\sources\install.wim /CaptureDir:D:\sources\dummy /Name:dummy /Compress:Max
:: Export the first Windows image to the empty install.wim file.
dism.exe /Export-Image /SourceImageFile:D:\sources\install.bak /SourceIndex:1 /DestinationImageFile:D:\sources\install.wim /Compress:Max
:: Delete the first dummy index in install.wim
dism.exe /Delete-Image /ImageFile:D:\sources\install.wim /Index:1
:: Delete temporary directory.
rmdir D:\sources\dummy

이제 WSIM에서 install.wim을 열 수 있습니다.

또한 원본(install.bak) 파일을 삭제하고 oscdimg.exe를 사용하여 부팅 가능한 미디어를 생성할 수도 있습니다.

답변2

7Zip을 사용하여 install.esd를 install.wim으로 추출해 보세요.

관리자 권한으로 cmd 줄을 실행하는 DISM cmd를 사용해 보았지만 "잘못된 형식의 프로그램을 로드하려고 했습니다"라는 메시지도 표시되었습니다. DISM 로그 파일은 아주 약간만 도움이 되었으며 현재 제게는 효과가 있는 것 같은 7ZIP을 사용해 보기로 결정했습니다.

관련 정보