Work as a systems or security administrator long enough and you'll undoubtedly need to access a downed Windows system. Perhaps the system drive crashed or a user altered the system so that it won't boot properly. Maybe an ex-employee changed the passwords or locked you out of the system by some other means.
Several tools can help you access data from otherwise inaccessible systems. I'll step you through the wonderfully easy to use utility called BartPE. With BartPE, you can insert a CD-ROM or DVD into a troubled computer, boot the system to a graphical environment resembling Windows, map a network drive, and copy the system's data to a safe place on your network.
The Preinstalled Environment
BartPE is named for its creator, Bart Lagerweij, and for its function as a preinstalled environment. A preinstalled environment is essentially a bootable CD-ROM that includes a robust OS and a series of recovery utilities. BartPE differs from several available Linux preinstalled environments in that it uses actual Windows programs and libraries to create a Windowsesque interface—right down to the dialog boxes, command prompt, and icons. BartPE even lets you install your own third-party programs, which it calls plug-ins.
After you build your preinstalled environment CD-ROM or DVD, you can insert it into the fallen computer and boot the system. A minute later, you'll have full access to the computer's files through a Windows interface. Think of BartPE as an actual Windows environment that lets you access a system's files and/or the network (although it's not the best tool for resetting an administrator password or hacking and/or accessing a fallen computer's registry).
Creating a Bootable CD-ROM or DVD
Creating the BartPE preinstalled environment CD-ROM or DVD image is easy. The process consists of four basic steps:
Download PE Builder, the BartPE-creation program. Download the latest PE Builder application file from the Nu2 Productions Web site (http://www.nu2.nu/pebuilder/down load), extract it to a folder, and run pebuilder.exe to begin creating your preinstalled Windows environment image. Because you'll use actual Windows files to create this boot disk, you need to have a licensed copy of Windows Server 2003 or Windows XP Service Pack 1 (SP1) or later from which to extract the source files that you'll use to build the CD-ROM or DVD.
Tell PE Builder where your Windows install files are located. It's easiest to insert your Windows 2003 or XP SP1 installation media, but you can specify an alternate location, such as a file share containing your Windows source files. You can also specify the name of the output folder that PE Builder uses for the created image— by default it's C:\BartPE\BartPE.
Define any BartPE plug-ins to customize your environment. PE Builder supports a variety of plug-ins for your BartPE image, including Lavasoft's Ad-Aware, Tom Ehlert Software's Drive Snapshot, Winternals Software's ERD Commander 2002, McAfee's VirusScan, and many others. Some of these plug-ins are commercial and some are freeware.
The Help screen for each supported plug-in describes the plug-in, the required parent program, and the location to copy the needed files to for installation. For example, if you wanted to make your copy of Winternals ERD Commander available in your BartPE environment, the PE Builder Help will instruct you to copy eight ERD Commander files from your ERD Commander install disk (or installed location) to the C:\BartPE\plugin\ erd2002 directory. After you find the correct files for your plug-in and copy them to the appropriate location, enable the plug-in and you're all set.
Not all supported plug-ins are third-party programs. The Boot Fix plug-in, for example, simply adds text that instructs the user of the BartPE CD-ROM to "Press any key to boot from CD" instead of booting directly to the computer.
PE Builder also lets you add other plug-ins. For example, it's easy to add Mozilla Firefox to your preinstalled environment: Go to http://www.nu2.nu/pebuilder/plugins and download the Firefox Web browser plug-in. Then, in PE Builder, click plugins, Add, then browse to the CAB file that you downloaded. Specify where to save the plug-in (by default, C:\ BartPE\plugin\firefox-1.5.0.1-en-us), and you're done.
The Nu2 Web site provides information about more than 65 plug-ins, many of which are free to download and add to your image. Plus, you can build your own plug-ins—the Web site offers detailed instructions for creating your own plug-in configuration file and collecting the files needed by your custom plug-in.
Create your image. After you've installed and enabled your plug-ins, select whether to create an ISO disk image or burn your preinstalled environment directly to a CD-ROM or DVD. When you click Build, PE Builder presents your Microsoft license agreement because the tool copies many of the source files from your licensed Windows 2003 or XP installation media. The program copies the files to the output directory you specified earlier and then creates an ISO image or a bootable CD-ROM or DVD and burns the CD-ROM or DVD for you.
PE Builder takes just a few minutes to create a BartPE ISO image with the default options and just a few minutes more to burn a CD-ROM or DVD. In all, a basic BartPE image is about 150MB.
After you create the CD-ROM or DVD, insert it into a computer configured to boot from a CD-ROM or DVD and turn the computer on. (You might need to press the F12, ESC, or Delete key or some key sequence, depending on the exact BIOS, to configure your computer to boot from a CD-ROM or DVD drive.)
If you're successful, you'll see the Starting BartPE screen followed by the Windows startup screen, then the BartPE environment will load. BartPE will ask if you want network support and will configure it as you choose. Then BartPE will present a familiar-looking graphical interface.