This too shall pass!

windows 7 일반화, 이미지화 작업 명령 본문

Information

windows 7 일반화, 이미지화 작업 명령

아이씨 2010. 2. 2. 18:02
windows 7 일반 설치 후

ctrl + shift + F3 - 감사 모드 진입(oobe 진행 전에)

미리 적용할 프로그램 설치 후 이미지 작업에 필요한 툴을 로컬 하드에 저장(windows aik tools x86 or amd64)


Windows 일반화

C:\Windows\System32\Sysprep\Sysprep.exe /generalize /oobe /reboot


windows 7 설치 미디어로 부팅 후
shift + F10(명령 프롬프트)

imagex /capture /compress fast /check d: e:\Install.wim "Windows 7" "Windows 7 Sysprep"



만들어진 wim 이미지를 로컬 폴더에 압축 해제(마운트)

imagex /mountrw d:\windows_make\install.wim 1 d:\windows_make\win_image


필요한 파일을 해당 폴더에 복사 후


xml 파일 적용(잘 안됨;;;)

dism /image:d:\windows_make\win_image /Apply-Unattend:d:\windows_make\Autounattend.xml



마운트 된 폴더를 다시 wim 이미지로 작성

imagex /capture d:\windows_make\win_image d:\windows_make\wim\install.wim "win 7 pro x64 with office2007" /compress fast /verify


설치 원본 dvd의 자료를 로컬 하드에 복사
새로 만들어진 wim 파일을 덮어쓰고(\source\install.wim)


해당 폴더(윈도우 설치 원본과 변경된 wim 파일 적용 후)의 iso 이미지화

oscdimg -bd:\windows_make\win_7_pro_x64\boot\etfsboot.com -lWIN7PROX64 -o -u2 -udfver102 d:\windows_make\win_7_pro_x64 d:\iso\win7prox64_100202.iso


oscdimg -bd:\windows_make\win_7_pro_x64\boot\etfsboot.com -lWIN7PROX64 -o -u2 -udfver102 d:\windows_make\win_7_pro_x64 d:\iso\win7prox64_100202-1.iso

Comments