Win10XPE - How To Quick Start Guide
Win10XPE - How To Quick Start Guide
Copy Win10XPE folder to your Data Drive. (I prefer to use my D drive rather than my C Drive as to keep away
from OS..
If using Windows 10 as your Host OS - you will need to allow a Windows Defender "Exception" for the
Win10XPE folder ( I would suggest the same exception for any A/V software) in order to allow the program
exe's to run without being blocked....
Then Mount Your Official Release Windows 10 Setup Media ISO (it is suggested that you copy the contents of
the setup media to a folder on your Data Drive and select it as the source) but it is not required..
Note: We do not add support for MS Preview Releases - all projects use Official MS Release Media
Hit the gray box and point to the folder location or drive letter of the Setup Media..
After it finds the media that main screen will change now listing the Wim Info.
You can use the scroll box to select "Pro" or make any other selection..
Then Hit the Big Blue Play Button....
Now that you have created your FIRST Custom PE with the default selections..
You can change those selections by checking or unchecking program checkboxes in the left pane..
If you click the program name in the left pane - the program interface will display in the right pane.
Each program interface has the ability to select shortcuts and may have other options you can choose from...
Note: Some Programs May Require Net Framework (Microsoft .Net) or Additional Networking Files (Network
Additions)
Note: Custom jpg Wallpaper Must Be Renamed To > Img0.jpg
Note: Custom mp3 Startup Sound Must be Renamed to > Startup.mp3
Additional Options Interface
Note: Leave "Build Type" Alone
Select Your Options and Return To Main Interface
You will then Copy the Driver Folders into the Driver Integration Folder in XPE
Another Hint To Additional Drivers - Copy Your Macrium Reflect "Drivers" Folder.
Be sure to check the "Integrate Custom Drivers" Checkbox
The Drivers are sorted by Arch - and Each Driver Folder is Recused
Note: You Only Need To Load Required/Special Drivers That Are Not Included In WinPE
Additional Folders
There is a "Custom Folder" So You Can Include Additional Program Files (For Portable Programs or Custom
Files/Folders)
To Process Custom Folder - Check The "Add Your Custom Folder" Checkbox
There Is An "ISO Root Folder" where you can place additional files on the root of drive
These are files that will be Accessible Without Booting into WinPE
To Process The Root Folder - Check The "Include Files In ISO Root" Checkbox
Add Host Boot Menu Option
I will provide a little hint for you so you can Boot directly from the Win10XPE folder...
Thus no need to keep burning/coping ISO files to USB..
Hit the "Create Batch File" button - that will create a batch file to add the Boot Menu option for XPE to boot
from the Win10XPE directory
Note: If your selected build is to USB the Y drive is not created (As Y Drive is the Root of the drive)
Selecting the "Run All Programs From Ram" option will work no problem..
Build Log - Error Messages - Build Stops Abruptly - Programs Not Found In ISO
Sometimes Things Go Wrong and Error Messages Appear - Sometimes Things Go Wrong And No Message
Appears..
Instead Of Jumping To Make A Complaint Post In This Forum - Use The "LOG" Tab and Investigate The
Cause First...
The Build Log is My Best Friend When Creating and Testing Plugins..
Select The "Log" Tab after the Plugin Is Processed - Look For Yellow (Warnings) or Red (Errors) Icons In Pane
Everything Looks Good Here:
**********************
Everything Not So Good Here - I See a Yellow Warning Message - Red would be an Error Message
Ok, Now that you know something went wrong - Single Click The Message To Locate It In The Log
Scroll a little past the Message and You Will See The "Script" That Was Processed...
Now, You Have a General Idea of where To Start Looking and You May Be Able To Fix It...
IF After All Else Fails and You Just Can't Not Figure Out The Cause
Post a Report with the Error Message and The Plugin That Caused it
Note: You Can Double-Click The Message To Copy It to Clipboard
You can also save the complete build log - By Hitting The "Save As Log.Html" Button
Then Compress (7z or Zip) and Attach That log File To the Bottom of Your Report Post
Program Error Message(s) In WinPE
We Create and Test Plugins With Limited Resources and Do Our Best To Prevent Them..
With That Said, Not Every PC Is The Same and Program Error Messages Do Happen...
Take a Screenshot of The Error Message and Attach it to the Bottom of your report post..
Double-Click The ShowKeyPlus File Container Script and Open with Notepad
To UNHIDE The Container File Plugin Edit in Notepad > Level=0 to Level=5 - Save and Exit
To HIDE The Container File Plugin Edit in Notepad > Level=5 to Level=0 - Save and Exit
Go Back Into Builder and Hit "Refresh" Button
You usually only need to update the existing files - because we usually do not include unneeded files
Select the Add.. Button and Point to the Updated 7z Setup File on your Desktop
Notice that the Setup File .7z is shown in the left pane and Then Click "Start" Button
Exit The Attachment Interface By Clicking The Red X in the Upper Right Corner
Ok, What We Have Is A Portable Program with Both x86 and X64 Files
Some Websites Have Separate Downloads For x86 and x64 Programs
For The Sake Of Argument - We Will Create Two Separate Compressed "Setup Files"
One For x86 Program Files - Select The x86 Program Files, Compress With 7zip and Rename The New
Compressed 7z File To > Defraggler.7z
Select The x64 Program Files, Compress and Rename Compressed File to > Defraggler64.7z
Do The Same Thing For The 64Bit Defraggler64.7z File You Just Created
You Will Find Your New Plugin For Personal Testing In Left Pane App/XPE Plugin Creator
Hit The "Launch" Button To Open The Program Folder and Test The Program.exe
I Purposely Left Something Very Simple Out....
It Is Your Homework To Figure Out What...
As It Has Already Been Covered In This Quick Start How-To Guide
Read other plugins by using the Edit button and Selecting the Source tab....
If you see the registry line(s) you are looking for - Copy them into your Plugin...
**************************************************************
This is where this Game gets Very Tricky and Requires Experience...
And it will require you to do a lot of Testing with your Plugin Settings
On the Plus Side > it is PE and written to rewritable media
If you screw up - Erase, Rebuild and Test Again
**************************************************************
You Can Export the Registry Settings from your Host Registry or PE Registry using RegEdit
Select Create ISO Plugin and on Interface Hit the "Reg Convert PE" Button
Click Folder Icon and Point to the Exported Registry File - ie Test.reg
Select "Gooo Reg File" Button
The Script File Created is the code for adding the registry setting you exported and are going to use in your
Plugin
You will not use that Script File [process] but the code for the settings will be copied under [Add-Registry] in
your plugin.....
Be Very CAREFULL and Read the Settings as they are exported from a different Host and many use
different Folder locations
YOU will need to change this information and you may not need to add all the registry settings....
**********************************************************
Option 3) Capture The Registry Settings Before and After The Programs Installation Process
Note: I Changed The Default "Folder For Store Report" To > %UserProfile%\Desktop\RegShot
Run the Installer File That You Want To Capture The Registry Changes For
The > Report.*.RedoReg.txt < File Contains The Registry Changes Created By The Installer
Save That Text File and Use "Reg Convert PE" Same As Above - But Point To This Txt File
Find Missing or Required Files
-Start Process Monitor (Procmon.exe) then Start The Program.
-Find the Program.exe in the Process Name Column, Right-Click and choose Include "Program.exe".
-Find the word SUCCESS in the Result Column, Right-Click and choose Exclude "SUCCESS".
-Find the word CreateFile in the Operation Column, Right-Click and choose Include "CreateFile".
You should see the Required or Missing Files listed with "NAME NOT FOUND" and see the Path The Program
Searched for them.
Note: Some Non-Portable Programs' Require MS Files, Need a few Registry Entries and Require Driver Files
Copied into System32
When You Are Satisfied With Your New Plugin - Please Share It For Other Members To Test
All This Takes A lot Of Time, Testing and Learning To Get Things Right..
That Is What Makes This A Hobby For Us...
And A Great Self Taught Experience That Will Last A Lifetime...