Jan 112014

There are times where you may not have a dvd drive or media available, or else, you may also want to perform some tasks before triggering the windows setup.


  • Prepare winpe with QuickPE
  • Prepare the ipxe script
  • Prepare the PXE server with TinyPxe Server
  • Boot to winpe and Install windows
  • Reboot and complete the installation on the local drive

Prepare winpe with QuickPE

You can either use MS WAIK (winpe3), or MS ADK (winpe4) or an existing windows setup DVD or ISO file.
Launch _run_me.cmd and make your choice.


Prepare the ipxe script

The following will attach an iscsi drive and will boot your winpe

dhcp net0
set boot-url http://${dhcp-server}
initrd ${boot-url}/images/winpe4.iso
kernel ${boot-url}/memdisk iso raw

Prepare the PXE server with TinyPxe Server

Use ipxe-undionly.kpxe as « boot file name » and the above script (name it install.ipxe) as « filename if user-class=iPXE »


Boot to Winpe

Now lets network boot (pxe as first device in the bios).
Computer will pxe boot, load ipxe, then load your script.
The script will boot into winpe.

Now we are ready to perform the installation : map a drive thanks to PeNetwork (in the tinyshell launchbar) and map a network share containing your windows installation files.
You could eventually script this part (in batch file) :

net use \\servername\sharename /user:username password

Note1 : CloneDisk can also mount a virtual dvd drive from an iso file (only in winpe4).

Note2 : Rather than launching the setup.exe from the windows DVD, you can also apply a wim file to the target drive using imagex (or clonedisk).
If so, then remember that you need to prepare the drive (partition active, boot sector …).
Example code using imagex (we’ll assume the partition has been made active already) :

Imagex /apply \\servername\sharename\install.wim 1 c:
bcdboot c:\windows /s c:
bootsect /nt60 c: /mbr

Launch the windows setup and let it run.

Reboot to local drive

Windows should the complete the installation, and reboot one last to your windows desktop.

See below a video demonstrating the above steps.

 Posted by at 14 h 51 min

Poster un Commentaire

3 Comment threads
3 Thread replies
Most reacted comment
Hottest comment thread
4 Comment authors
TonyhansadminWil Recent comment authors
plus récents plus anciens
Me notifier des

Firstly, thank you for publishing your hard work! I would start a new thread, but have no twitter or facebook to register an account. I want to boot a diskless laptop with PXE to start, no nic ROM flashing & only a DVD drive for alternate booting, no USB boot. My ultimate goal is to press the start button on the laptop & it will WOL the target PC if necessary & give me a boot menu or, if the target PC is already running, offer me one or more .vhd’s to boot. The target is a PC with an… Read more »


Hi BIG THANKS for help!!!!

everything boots and i go through install till end sweet
my only issue is I use Asus router with NAS
so in dnsmasq.conf i have entered


but i cant figure out how to implement script in to it
to avoid ctrl+b and and running it manualy

could you help please?


Hi, I’m testing tiny pxe server on VirtualBox 5.0.10 but there is a problem (Obviously I have tested this on a real pc and it’s works) With VirtualBox the download stops at 5%, sometimes at 1% or 3% 4% and there is no activity in the network icon in the virtual machine window Boot file: ipxe-undionly.kpxe Filename if user […]: install.ipxe install.ipxe #!ipxe dhcp net0 set boot-url http://${dhcp-server} initrd ${boot-url}/images/winre.iso kernel ${boot-url}/memdisk iso raw boot log 19:47:55 HTTPd:Connect:, TID=6440 19:47:55 HTTPd:Client: [GET] /images/winre.iso 19:47:55 HTTPd:Server : Returning /images/winre.iso 19:48:21 HTTPd:Exception: , Connection Closed Gracefully. 19:48:21 HTTPd:DisConnect: TID=6440… Read more »