and It is a work in Progress. I have plans to cover the registry as well.
Note: I will be re posting to my new Website With lots of room for Images
Project Q&A
Why Use Windows 7 For this Build?
• Support for Virtual Hard Disk.
• Easy mounting for VHD via Disk Management.
• Access to your local Drives while on WinPE mode.
Why Use a VHD instead of ISO?
• All files get saved to VHD while on PE Mode.
• Applications Get Installed Correctly (Via EXE)
• Once you complete your Build you can capture an Image and create your ISO.
Why use Index 2 of the Windows 7 Boot.wim?
• Contains most drivers.
• Has all the Optional Components.
Components Loaded
1. WinPE-HTA-Package
2. WinPE-MDAC-Package
3. WinPE-Scripting-Package
4. WinPE-SRT-Package **
5. WinPE-WMI-Packages
6. WinPE-WDS-Tools-Package
7. WinPE-Setup-Package
8. WinPE-Setup-Client-Package
9. WinPE-Setup-Server-Package
10. WinPE-LegacySetup-Package
System Requirements
• Windows 7 RC1 X86 loaded on Host PC and Installation Media
• Microsoft Windows AIK (Windows 7 Deployment tools)
• GImagex
Note:Make sure your copy of Windows 7 RC1 was downloaded from
Microsoft. Leaked version may have viruses and trojans
The Build
Project Structure
Let’s keep all our working files on One Place.
Directory Structure on Root of Local HD
Directory1.png 91.24KB 240 downloads
Files we need to create for the Windows System32 Folder.
Winpeshl.ini
[LaunchApp]AppPath = %SYSTEMDRIVE%\Windows\System32\vpeldr.exeVistape.cfg
[main]screen=1024x768defaultshell=BS Explorer[shortcut]Desktop|My Computer|X:\Program Files\CubicExplorer\CubicExplorer.exe||Desktop|Infra Recorder|%SystemDrive%\Program Files\InfraRecorder\InfraRecorder.exe||Desktop|Mozilla FireFox|X:\Program Files\FireFox\FirefoxPortable.exe||Desktop|GimageX|X:\Program Files\GImagex\X86\gimagex.exe||Desktop|GimageX|X:\Program Files\DependencyWalker\depends.exe||Disk Tools|GimageX|X:\Program Files\GImagex\X86\ gimagex.exe||Network|Mozilla FireFox|X:\Program Files\FireFox\ FirefoxPortable.exe||CD Record Tools|Infra Recorder|%SystemDrive%\Program Files\InfraRecorder\InfraRecorder.exe||Disk Tools|MBRWizard|%SystemDrive%\Program Files\ MBRWiz\MBRWhisky.exe||QuickLaunch|PENetwork|%SystemDrive%\Program Files\ PENetwork\PENetCfg.exe||Network| PENetwork|%SystemDrive%\Program Files\ PENetwork\PENetwork.exe ||[autorun]hidenowait|Starting ObjectDock|X:\Program Files\OBJECTDOCK\ObjectDock.exe[shells]BS Explorer|BSExplorer\Explorer.exeObjectDock|OBJECTDOCK\ObjectDock.exe[postconfig]hidewait|Human Interface Device Access|x:\windows\system32\net.exe start "hidserv"hidewait|Computer Browser|x:\windows\system32\net.exe start "Browser"hidewait|User Profile Service|x:\windows\system32\net.exe start "ProfSvc"hidewait|Server|x:\windows\system32\net.exe start "LanmanServer"hidewait|DNS Client|x:\windows\system32\net.exe start "Dnscache"Application to be DownloadedFirefox Portable Extract to (C:\WinPE_Project\Program Files\FireFox)Cubic Explorer 0.90 ZipExtract to (C:\WinPE_Project\Program Files\ CubicExplorer)INFRA RECORDER version 0.46.2 Portable ZipExtract to (C:\WinPE_Project\Program Files\InfraRecorder)MBRWizard – Script from Nightman on Winbuilder VistaPE Project.Extract from Script and copy to folder ( C:\WinPE_Project\Program Files\MBRWiz)PENetwork Beta V3.2 or Higher from Winbuilder VistaPE Application Script made by Holger Kotsch ( Note: If you want to add WIFI Support you need to manually copyThe files specified on the script plus registry settings)Copy to Folder (C:\WinPE_Project\Program Files\PENetwork)Objectdock downloadObjectDock Portable I downloaded this as a Script from WinbuilderWhere. Copy to folder (C:\WinPE_Project\Program Files\OBJECTDOCK )BSExplorer – Script from Winbuilder. Extract the files to C:\WinPE_Project\Program Files\BSExplorer  GImageX v2.0.14Create a folder on Program Files Name GImageX. Extract the files and copyThe X86 folder to (C:\WinPE_Project\Program Files\GImagex)Dependency Walker 2.2Extract the files to(C:\ WinPE_Project\Program Files\DependencyWalker) Your Program Files Folder should now look like this now. ProgramFolder.png 156.72KB 360 downloads WIM File ExtractionsOpen Imagex Gui v2.0.16 BETA and Apply from the Windows 7 RC1 the Install.WIM to C:\WinPE_Project\Install Folder (Make Sure to Select Index 5 from the Install.WIM)Make sure you select the correct drive letter.Oops I am out of Space for more Pictures. I work something out soon Picture goes HereNext Select from the Windows 7 RC1 the BOOT.WIM and apply to C:\WinPE_Project\Boot Folder Make Sure to Select Index 2 From the boot.WIM)Make sure you select the correct drive letter.Oops I am out of Space for more Pictures. I work something out soon Picture Goes HereFile Copy Process 1. Copy the Folder (C:\WinPE_Project\Program Files) to (F:\WinPE_Project\Boot) and Over write when prompted2. Copy the vistape.cfg and Winpeshl.ini to C:\WinPE_Project\Boot\Windows\System32This is the list of the files you need to copy, I will keep updating as I get more.
Windows\System32 Files Need it from Install.wim copy them to (C _linenums:0'><strong class='bbc'>Windows\System32 Files Need it from Install.wim copy them to (C:\WinPE_Project\boot\Windows\System32</strong>apphelp.dllCertEnroll.dll CertEnrollUI.dll clbcatq.dll crtdll.dll cscapi.dll devmgr.dll efsadu.dll msoert2.dll msrating.dll ndfapi.dll netplwiz.dll occache.dll oledlg.dllpuiapi.dll RstrtMgr.dll shdocvw.dll shfolder.dll vaultcli.dll wdi.dllmsfeeds.dll Msi.dllGDIPLUS.DLL IEshims.dllimgutil.dllinetcomm.dllmlang.dllMMDevAPI.dllHint Find the Folder or DLL Inside and just paste to target Boot, Make sure to Create the Folders or Paste them!
Windows Folder Created with DLLs insideFrom Install Wim Copy FolderWindows\winsxs\x86_microsoft-windows-security-vault_31bf3856ad364e35_6.1.7100.0_none_625c0918901ee09aCopy Folder to Target (C _linenums:0'><strong class='bbc'>Windows Folder Created with DLLs inside</strong>From Install Wim Copy FolderWindows\winsxs\x86_microsoft-windows-security-vault_31bf3856ad364e35_6.1.7100.0_none_625c0918901ee09aCopy Folder to Target (C:\WinPE_Project\boot\Windows\winsxs\)From Install Wim Copy FolderWindows\winsxs\x86_microsoft-windows-ie-feeds-platform_31bf3856ad364e35_8.0.7100.0_none_ec13f209f2934e2aCopy Folder to Target (C:\WinPE_Project\boot\Windows\winsxs\)From Install Wim Copy FolderWindows\winsxs\x86_microsoft-windows-installer-engine_31bf3856ad364e35_6.1.7100.0_none_746d768d089a904a Copy Folder to Target (C:\WinPE_Project\boot\Windows\winsxs\)Files on Folder are {Msi.dll, msimsg.dll} From Install Wim Copy FolderWindows\winsxs\x86_microsoft-windows-ie-ieshims_31bf3856ad364e35_8.0.7100.0_none_d3ba97b35255ec5fC:\WinPE_Project\boot\Windows\winsxs\Windows\winsxs\File Inside {IEshims.dll}From Install Wim Program Files\Internet Explorer\IEshims.dllTo (C:\WinPE_Project\Boot\Program Files\IEshims.dll)From Install Wim Copy FolderWindows\winsxs\x86_microsoft-windows-ieframe_31bf3856ad364e35_8.0.7100.0_none_f0cfd45d663bf2d5Copy Folder to Target (C:\WinPE_Project\boot\Windows\winsxs\)From Install Wim Copy File to FolderWindows\winsxs\x86_microsoft-windows-ie-imagesupport_31bf3856ad364e35_8.0.7100.0_none_ca223091ab2b6539\imgutil.dllCopy Folder to Target (C:\WinPE_Project\boot\Windows\winsxs\)From Install Wim Copy Files to FolderWindows\winsxs\x86_microsoft-windows-mail-comm-dll_31bf3856ad364e35_6.1.7100.0_none_eaa422cbada275b2INETRES.dllinetcomm.dllCopy Folder to Target (C:\WinPE_Project\boot\Windows\winsxs\)From Install Wim Copy Files to FolderWindows\winsxs\x86_microsoft-windows-mlang_31bf3856ad364e35_6.1.7100.0_none_c7d243da39141f88mlang.dllmlang.datCopy Folder to Target (C:\WinPE_Project\Boot\Windows\winsxs\)From Install Wim Copy Files to FolderWindows\winsxs\x86_microsoft-windows-mmdeviceapi_31bf3856ad364e35_6.1.7100.0_none_c5f73bf90e77abd3MMDevAPI.dllCopy Folder to Target (C:\WinPE_Project\Boot\Windows\winsxs\)
Creating Your VHD files
Open A Command Prompt Windows and Type Each Command
diskpartcreate vdisk file=c:\winpe.vhd type=fixed maximum=2024select vdisk file=c:\winpe.vhdattach vdiskcreate partition primaryassignformat quick label=VHDexit
Oops I am out of Space for more Pictures. I work something out soon
Picture Goes Here
Adding the VHD to your Boot Menu
Updated July 29, 2009. Auto fill GuiID
bcdedit /create /d "WinPE 3.0 X86" /application osloaderfor /f "tokens=1-3" %%a in ('bcdedit /create /d "WinPE 3.0 X86" /application osloader') do set guid1=%%cbcdedit /set %guid1% device vhd=[C:]\winpe.vhdbcdedit /set %guid1% osdevice vhd=[C:]\winpe.vhdbcdedit /set %guid1% path \windows\system32\winload.exebcdedit /set %guid1% systemroot \windowsbcdedit /set %guid1% detecthal yesbcdedit /set %guid1% winpe yesbcdedit /displayorder %guid1% /addlastExit
Oops I am out of Space for more Pictures. I work something out soon
Picture Goes Here
Now lets copy the files (C:\WinPE_Project\Boot\*.*) to the Newly created VHD
Once the files are copied reboot your PC and At the Boot menu Select WinPE 3.0
Oops I am out of Space for more Pictures. I work something out soon
Picture Goes Here