※참고: https://kimsungjin.tistory.com/612
※Win10XPE 다운로드: https://github.com/ChrisRfr/Win10XPE
※ISO 제작 후 드라이버 통합: https://jsb000.tistory.com/2177
※ADK & PE add-on: https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install
■■■ Win10XPE ■■■
★개요
Win10XPE 툴을 사용하여 Windows PE 제작
사용된 윈도우 버전: 한글 Windows 10 20H1 2004(19041.264)
★준비 작업
◇윈도우10 ISO를 WinCDEmu 등으로 마운트 시킨다.
◇Play 실행 시 외부 실행 여부 물어보기 금지.
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "ModRiskFileTypes" /d ".exe;.bat;.cmd;.reg;" /f
★STEP1: 상단 Script 탭
1. Select the Windows 10 Source Folder
윈도우10 ISO의 root가 위치한 폴더를 선택한다. ISO 내에는 sources/install.wim이 존재해야 한다.
이미지는 SMB 1.0 호환을 위해 "Windows 10 Home Edition"을 선택 (\Windows\System32\drivers\mrxsmb10.sys 존재 확인)
★STEP2: 상단 Script 탭, 좌특트리 Win10XPE > Build Core, Main Interface 탭
Build Core는 PE의 시스템 부분을 어떻게 구성할지에 대한 시스템 환경 설정 부분이다.
Main Interface에서는 언어 사용, 각종 프로그램의 구동방식, 드라이버 설정, 인터넷 브라우저 설정, 그리고 부팅 환경을 설정(pecmd.ini) 한다.
01.Keyboard, Format, TimeZone을 모두 "Korean | ko-KR"로 설정.
02.WinPE Cache Size: 512MB (RamDisk 크기)
03."Run ALL Programs From RAM" 체크
04.32비트면 "WoW64 Basic" 체크 해제
05."Network Additions" 체크
06."Display Drivers", "Network Drivers" 체크
07."Internet Explorer 11" 체크 해제
08."Taskbar Button" > "Never Combine" 체크
09."Edit Pecmd.ini" 버튼 클릭
TEAM DISP W1024 H768 B32|DISP W1366 H768 B32
부분에서 TEAM DISP만 남기고 뒷부분을 삭제하면 PC의 최고 해상도로 부팅됨.
TEAM DISP W1024 H768 B32 로 수정하여 1024x768로 고정
--드라이버 추가--
10."Copy Drivers Here"를 클릭하여 해당 폴더에 추가 드라이버 복사
11.Pause 체크 후 드라이버 플레이버 버튼 클릭하여 테스트 후 Pause 체크 해제
★STEP3: 상단 Additional Options 탭
1."Theme Shortcut" 체크 해제
2."Show Touch Keyboard Button" 체크 해제
3."StartIsBack Skin": Plain10
4."System Volume At Startup:" 10으로 수정
5."Computer Name": WIN10PE
--Power Options--
6.Power Options > 모두 0으로 설정
7.Power Options > Disable USB Selective Suspend: 모두 체크 해제
★STEP4: 상단 Network Options 탭
--PENetwork--
1."Desktop Shortcut" 체크 해제
2."Start Menu Shortcut" 체크 해제
3."Pin To TaskBar" 체크
4."Run From USB"→"Run From RAM"으로 선택
"Start PENetwork Configuration Editor" 버튼 클릭
Show countdown in startup prompt -> 0초로 수정
Show countdown in profile selection -> 0초로 수정
Save
--IE--
5."Desktop Shortcut", "Start Menu Shortcut" 등 모두 체크 해제
6. HomePage: about:blank
★STEP5: 상단 Build Options 탭
1."Use Full Win10 Software hive" 체크 (한글 입력 위해 필수)
★STEP6: 좌특트리 Win10XPE > Apps
1.모두 체크 해제 후 아래의 앱들만 체크
Components > Remote Desktop
Components > WinCalc
File Tasks > 7-Zip
File Tasks > Q-Dir
HD Tasks > Bootice
HD Tasks > CheckDisk
HD Tasks > Defraggler
HW Info > CPU-Z
HW Info > Speccy
Network > Google Chrome
Recovery > Recuva
Security > Windows Login Unlocker
System Tools > WinNTSetup5
2.Network > Google Chrome: 언어 및 세부 설정
3.Shortcut 설정
Components > Remote Desktop: Desktop Shortcut 해제
Components > WinCalc: Desktop Shortcut 해제
File Tasks > Q-Dir: Desktop Shortcut 해제
Network > AnyDesk: Desktop Shortcut 해제
Network > Google Chrome: Desktop Shortcut 해제
System Tools > Process Monitor: Desktop Shortcut 해제
Tweaks > SetMaxResolution: Desktop Shortcut 해제
★STEP7: 좌특트리 Win10XPE > Create ISO
1."Add Press Any Key To Book..." 체크
★STEP8: 우측 상단 "Play" (큰 파란색 버튼) 버튼 클릭
정상적으로 생성되면 Win10XPE 폴더에 Win10XPE_x64.ISO 파일명으로 생성된다.
------------------------------------------------------------
■■■ Win10XPE 작업 후 ISO 파일 편집 ■■■
★애플리케이션 추가
기본 바로가기 경로: Y:\Programs\Tester\Test.exe
1.ISO 파일에 애플리케이션 추가
2.ISO 파일에서 sources\boot.wim 추출
3.boot.wim mount
dism /mount-wim /wimfile:D:\downloads\iso\boot.wim.x64\boot.wim /index:1 /mountdir:D:\downloads\iso\mount_x64
dism /mount-wim /wimfile:D:\downloads\iso\boot.wim.x86\boot.wim /index:1 /mountdir:D:\downloads\iso\mount_x86
4.mount_x86\Users\Public\Desktop에 ShortCut 파일을 넣는다.
5.mount_x86\ProgramData\Microsoft\Windows\Start Menu\Programs에 ShortCut 파일을 넣는다.
6.boot.wim unmount
dism /unmount-wim /mountdir:D:\downloads\iso\mount_x64 /commit
dism /unmount-wim /mountdir:D:\downloads\iso\mount_x86 /commit
7.ISO 파일에서 sources\boot.wim 교체
8.ISO 파일에서 Programs\ 밑에 3rd Party Apps 넣기