Helping people with computers... one answer at a time.

Windows can't just make a bootable CD but BartPE's PE Builder will use your install disc to create a very useful, bootable, Windows utility CD.

Back in the "old days" (think before Windows XP) when you wanted to create something to boot from you'd grab a floppy, format it, run the "SYS" program to install the boot sector and a couple of basic files into the disk and then copy whatever other files you wanted and you'd be done.

Life's not so simple any more.

Mostly to prevent piracy, but also in part due to the shift to CD-ROM and DVD-ROM, Windows can't by itself be used to create a bootable disc.

Nonetheless I found myself in need of a copy of Windows I could boot from CD-ROM. I wanted to use the backup program DriveImage XML. to restore a backup image. That meant I couldn't boot from the hard drive I was planning to restore to.

I needed a Windows boot CD.

So, using "BartPE", I made one.

Requirements

Before we start, here's what you'll need:

"By using your Windows files the process avoids any legal issues ..."
  • Your Original Windows XP installation media or the original installation files (often the infamous "C:\I386" folder), or the reinstallation files as part of a recovery partition. This needs to be for Windows XP SP1 or better. If you have pre-SP1 you can create a slipstream disc. If you don't have the original installation media or files you cannot create a boot disk. Simply having an installed copy of Windows is not enough.

  • PE Builder, a free downloadable tool to make what's nicknamed a "BartPE".

  • A blank CD.

  • Perhaps a gigabyte of free space on a hard drive.

It's actually not terribly difficult once you have all the above.

BartPE

"PE" stands for "preinstalled environment" - basically a bootable ready-to-go setup of Windows with all the tools and utilities you might want to use. Bart? He's the guy that developed this very popular utility for building a PE, hence it's the "BartPE".

A BartPE is created by using the PE Builder to create a disc image comprised of Windows files from your original Windows installation, Bart's pre-defined configuration, and several optional tools. By using your Windows files the process avoids any legal issues - Bart didn't have to give you any copies, you'll simply use the ones that are already legally yours.

Download and install PE Builder from the BartPE site, and accept the defaults as you like.

Building a PE

When you run the PE Builder you'll be presented with a single dialog:

BartPE PE Builder

You'll need to configure the following settings:

  • Source: this will be the drive containing your Windows installation CD, or perhaps the location of your installation files (for example C:\I386 if that exists). In the example above, I've specified "D:" which is my CD-ROM.

  • Custom: leave blank for now (it's a way to add additional files to the final CD.)

  • Output: is the folder into which PE builder will assemble your files. The default should be fine.

  • Media Output: I've selected "Create ISO image" which I can then later burn to a CD. You can also select "Burn to CD" directly if you like.

Before we click on Build, though, it's worth clicking on Plugins:

PE Builder Plugins List

The PE Builder can include a number of plugins that you might want to select. In addition, some utilities make BartPE plugins available that you can add (using the Add button here). I've highlighted the DriveImage XML plugin because it's not a default plugin, but rather one that I downloaded from the DriveImage XML site and added to the list. You'll note it's enabled.

Click Close to return to the main PE Builder screen.

That's really about all there is to it. Click on Build to create your BartPE bootable CD or CD image.

Using BartPE

To use BartPE you simply boot from the CD you created in the steps above.

Bart PE Desktop

Don't let the looks fool you - there's a minimal version of Windows under there. Smile

The "Go" menu is your start menu and therein you'll find various familiar and not-so-familiar tools:

Bart PE Start Menu

You can see that the optional DriveImage XML component I installed is present and ready to be used.

Bart PE itself is more than can be covered here, but one important item to make the utility of this setup a little more obvious.

Windows Explorer isn't around, but the "A43 File Management Utility" is:

Bart PE A43 File Manager

You'll note that "C:" is there - that's the hard disk on this machine. The hard disk that I did not boot from. It's there and visible and ready for whatever you might feel the need to do; recover files, format or whatever.

There are many, many utilities and optional plugins for BartPE - many more than I can cover here. And yes, it's a tad on the geeky side for the casual user perhaps, but now you can create one, and start exploring and - with caution of course - experimenting a little.

Article C4352 - June 24, 2010 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

8 Comments
steven
June 24, 2010 3:27 PM

Who gets a windows CD/DVD with a new computer, anymore. I had to burn recovery disks at my own expense. My co-worker didn't even bother to make one at all.

Beware: a recovery disk is not the same as a installation disk and will not help you for certain types of failures (like hard drive failures). Everyone should get an installation disk - even if they have to ask, and even if it costs a little extra.
Leo
25-Jun-2010

Chris
June 29, 2010 11:32 AM

The Windows 7 AIK includes a PE environment you can use to create bootable CDs though from what I've been able to find, it only seems to support a command line interface and no form of Windows Explorer. Is there a way to configure a windows 7 PE CD with explorer, TCP/IP, client for Mictosoft Networks, and maybe IE?

Mike
June 29, 2010 5:00 PM

It is also my understanding the above procedure will not work if all you have is a OEM version of Windows XP.

Greg
July 1, 2010 12:25 PM

Does BartPE apply to Vista and Windows 7? If not, then what program would apply all three OS's?

Thanks!

Sandy Smith
July 5, 2010 9:12 PM

A little curious why you didn't do a WinPE?

The tool I was using (driveimgxml) had a BartPE plugin.
Leo
06-Jul-2010

Bob
October 22, 2010 3:57 AM

My partner recently fell for one of those 'fake anti-virus' popups - Smart Engine to be precise. This nasty little program disabled all methods of getting rid of it (it bypassed Avast, Search & Destroy, prevented Trend Micro's Housecall from running, stopped Task Manager and prevented Regedit from making any changes).
After suffering through a long-winded re-installation from scratch (XP+SP2, 80+ updates, SP3, 80+ updates), I came looking for a suitable 'jump-start' point - only to be worried by the OEM comment above. I only have the "re-installation" disks, with the laptop's manufacturer stamped all over them. Granted, it's a full copy of windows (not a Recovery system), but will it still work?

Chances are it will not, but there's no harm in trying.
Leo
22-Oct-2010

Deepershan
August 31, 2011 12:33 AM

HOw to make the bart pe in windows 7 or vista ?????

herbert low
September 12, 2011 9:32 AM

i accidentally edited the boot.ini file..when i reboot my laptop it just wont boot.with error:windows couldnt start because of hardware configuration error.
so i need a windows xp recovery cd?or just use knoppix to boot into my harddisk?

Comments on this entry are closed.

If you have a question, start by using the search box up at the top of the page - there's a very good chance that your question has already been answered on Ask Leo!.

If you don't find your answer, head out to http://askleo.com/ask to ask your question.