1. Install and configure PStart
When the installation wizard of PStart asks you about the setup type, you should choose Portable Setup. Select your USB drive and tell the wizard to copy PStart to the root folder. Next, you can launch PStart from your USB drive with Windows Explorer.
2. Launch PStart automatically when WinPE boots up
mkdir c:\img
imagex /mountrw F:\sources\boot.wim 1 c:\img
imagex /mountrw F:\sources\boot.wim 1 c:\img
c:\img\windows\system32\startnet.cmd
c:\img\windows\system32\startnet.cmd
Add these lines to startnet.cmd after the wpeinit command
Add these lines to startnet.cmd after the wpeinit command
@echo off
for %%p in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%p:\PStart\ set w=%%p
%w%:\PStart\PStart.exe
@echo off
for %%p in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%p:\PStart\ set w=%%p
%w%:\PStart\PStart.exe
And commit changes to wim
And commit changes to wim
No comments:
Post a Comment