Sunteți pe pagina 1din 4

Creating a Windows PE 3 Bootable USB device

Install Windows Automation Installation Kit from following location.


1. Ensure win7 image restored on the test machine.
http://www.microsoft.com/download/en/details.asp!id"#$#3
%ormat USB stic& for loading WinPE:
We will need to prepare the USB stick ! doing a format that is specific to Win"E ! following the elow
steps#
open an administrator command prompt using Run as Administrator and execute the following
commands.
'(diskpart
\(list disk
\(select disk 1
\(clean
\(create partition primary
\(select partition 1
\(active
\(format quick fs=fat32
\(assign
\(exit
Creating a WinPE 3 )mage:
$o create our own customi%ed Win"E & image' we can follow (icrosoft)s instructions in the elow link
Wal&thro*gh: Create a Bootable Windows PE +,- .is& on a USB %lash .is&
$he ao*e link +page, details all the packages that can e installed and installation procedure.
-pen .eplo!ment tools /ommand prompt from Start0"rograms0Window Automation Installation
Kit0.eplo!ment tools /ommand "rompt.
PS: +*n the .eplo/ment tools Command Prompt as ,dministrator.
cop!pe 123 c#4winpe5123
cop! 6/#4"rogram 7iles4Windows AIK4$ools41234image1.e1e6 c#4winpe51234IS-4
1cop! 6/#4"rogram 7iles4Windows AIK4$ools41234Ser*icing6 c#4winpe51234IS-4Ser*icing 8s
cop! 9windir94S!stem&:4ms1ml3;.dll c#4winpe51234IS-4Ser*icing
cop! c#4winpe51234winpe.wim c#4winpe51234IS-4sources4oot.wim
$he ao*e steps will create a preliminar! /ustom Win"E image.
-o*nt WinPE 3 )mage to c*stom director/:
<un the elow command in .eplo!ment tools /ommand "rompt to mount the ao*e created Win"E
Image to local director!
.ism 8(ount=Wim 8Wim7ile#/#4winpe51234IS-4sources4oot.wim 8inde1#1 8(ount.ir#/#4winpe51234mount
,dding Pac&ages to c*stom director/:
Add the needed packages to the ao*e mounted custom director! ! following the elow commands.
<un the elow command in .eplo!ment tools /ommand "rompt.
.ism 8image#/#4winpe51234mount 8Add="ackage 8"ackage"ath#6/#4"rogram 7iles4Windows
AIK4$ools4"E$ools41234Win"E57"s4winpe=wmi.ca6
.ism 8image#/#4winpe51234mount 8Add="ackage 8"ackage"ath#6/#4"rogram 7iles4Windows
AIK4$ools4"E$ools41234Win"E57"s4winpe=hta.ca6
.ism 8image#/#4winpe51234mount 8Add="ackage 8"ackage"ath#6/#4"rogram 7iles4Windows
AIK4$ools4"E$ools41234Win"E57"s4winpe=scripting.ca6
,dding needed 0%ingerprint +eader1 .rivers to c*stom
image:
7ollow the elow commands in .eplo!ment tools /ommand "rompt to load the dri*ers to the Win"E
image.
2he below eample details how to load drivers for 3%S 344 sensor5 similarl/ we can add other
sensors6 drivers to the WinPE image.
.ism 8image#/#4winpe51234mount 8Add=.ri*er 8.ri*er#6/#4>alidit!
Sensors4Shared4.ri*ers4>7S5&??5.<>6
cop! 9windir94S!stem&:4crtdll.dll /#4winpe51234mount4Windows4S!stem&:4
cop! 9windir94S!stem&:4winus.dll /#4winpe51234mount4Windows4S!stem&:4
cop! 9windir94S!stem&:4dri*ers4winus.s!s /#4winpe51234mount4Windows4S!stem&:4dri*ers4winus.s!s
cop! *cs@enericSensor/heck.e1e /#4winpe51234mount4Windows4S!stem&:4*cs@enericSensor/heck.e1e
cop! *cs$estStatic.dll /#4winpe51234mount4Windows4S!stem&:4*cs$estStatic.dll
7ote: 03
rd
part/ 2he -icrosoft 3is*al +edistrib*table Pac&age 08911
cop! S1S57"E5S7A.e1e /#4winpe51234mount4Windows4S!stem&:4
Create ,*to.Bat Script %ile:
,*to.Bat
Call ::'windows's/stem3;'drvload.ee
::'Windows'S/stem3;'.riverStore'%ile+epositor/'vfs344.inf<89<ne*tral<3=84#>;fcd4f8ee9'vfs34
?.inf
Call ::'windows's/stem3;'SS<$PE<S%:.ee
cop! Auto.at /#4winpe51234mount4Windows4S!stem&:4
,dd a C*stomi@ed Script with Startnet.cmd
Edit Startnet.cmd *sing notepad application.
wpeinit
::'windows's/stem3;',*to.bat
7ote: UnAmo*nting WinPE 3 )mage and save the changes to c*stom image.
.ism 8unmount=Wim 8(ount.ir#/#4winpe51234mount 8/ommit
Creating USB Bootable WinPE3 image dis&
/op! the contents of c#4winpe51234IS-4 to the root of the target us stick ! using the elow command.
1cop! /#4winpe51234IS-4;.; 8s 8e 8f 7#4
Bow the Bootale USB .e*ice is read! with Win"E Image in it.
Boot in to WinPe 3 Bperating S/stem
1. <eoot the machine.
:. While s!stem is ooting "ress C7D) to enter into USB oot.
&. Select CBoot from USB) option. If EUSB ootF option is not present in oot
menu list' reoot the machine then go to Bios setup ! using 71? utton and select
EBoot from USB (odeF under s!stem /onfiguration=0Boot options.
G. Sa*e changes and oot into USB ! following Step:
H. /onnect >alidit! Sensor to the machine and use the following command to load the dri*ers.
"S# /onnect the sensors of t!pe onl! for which we ha*e loaded the dri*ers as mentioned in the ao*e
highlighted section while creating the custom Win"E image
Eec*ting the 2est ,pplication
/onnect a >alidit! Sensor and e1ecute the application *cs@enericSensor/heck and follow the
instructions as gi*en ! the application.

S-ar putea să vă placă și