How to use XP-PE

  • Thread starter Thread starter dw
  • Start date Start date
D

dw

Right now I am doing the following:
1. Boot off the PE CD
2. Format the C: drive
3. Xcopy my image files from a USB flash drive

Question:
Can I create a modified PE CD (no doc, sample folders ect..., min size) that
will do
the following?
1. Boot from the CD (only this part is manual) then,
2. Automatically format the C: drive (fs:ntfs) and
3. Automatically xcopied my image files to the C: drive and then
4. Reboot with the new os.

If it is possible what and how should I do it (batch file? or scripts? or
???)

thanks ahead for all the help,
-dave
 
Hi dave

Yes, this is possible when you are setting
up your own PE. There is a Windows PE OPK
available (OEM Preisnatallation Kit).
Ask your Embedded Distributor for such an OPK.

Then, you can start a own batch dooing the following things:

- Clean and repartition the HD (done over diskpart.exe /s scriptfile)
- Format the HD (done over format c: /fs:ntfs /q /v:volumename)
- Copy files (XCOPY Sourcepath Targetpath /e /h /y
- Exit Windows PE with EXIT command (reboot automatically)

Thats it.

--

Martin Grossen, eMVP

AVNET EMG Silica
Franchise Manager Microsoft Embedded Europe

Your competent partner for Microsoft Embedded licencing

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 


Connect winpe hard disk to host computer on which windows OS is installed already.

.. Boot host computer .

.Open command prompt.

.Write “diskpart” command at command prompt.

.Write “list disk” at Prompt.







. Select hard disk on wich Winpe boot image is kept. Using command

“select disk ”.

. write “list partition ” command at prompt.

. select partition at winpe boot image files are kept using

“select partition ”.

. make selected partition active by writing command “active” on prompt.

. shutdown host computer
. remove Winpe boot image hard disk.
. Boot from resulting hard disk.
 
Back
Top