Windows Preinstallation Environment (also known as Windows PE and WinPE) is a lightweight version of
Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
used for the deployment of PCs, workstations, and servers, or troubleshooting an operating system while it is offline. It is intended to replace
MS-DOS
MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few oper ...
USB flash drive
A USB flash drive (also called a thumb drive) is a data storage device that includes flash memory with an integrated USB interface. It is typically removable, rewritable and much smaller than an optical disc. Most weigh less than . Since fir ...
hard disk
A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating platters coated with mag ...
. Traditionally used by large corporations and OEMs (to
WinPE was originally intended to be used only as a pre-installation platform for deploying Microsoft Windows operating systems, specifically to replace
MS-DOS
MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few oper ...
in this respect. WinPE has the following uses:
* Deployment of workstations and servers in large corporations as well as pre-installation by system builders of workstations and servers to be sold to end users.
* Recovery platform to run 32-bit or 64-bit recovery tools such as Winternals ERD Commander or Windows Recovery Environment (Windows RE).
* Platform for running third-party 32-bit or 64-bit disk cloning utilities.
The package can be used for developer testing or as a recovery CD/ DVD for system administrators. Many customized WinPE boot CDs packaged with third-party applications for different uses are now available from volunteers via the Internet. The package can also be used as the base of a forensics investigation to either capture a disk image or run analysis tools without mounting any available disks and thus changing state.
Version 2.0 introduced a number of improvements and extended the availability of WinPE to all customers, not just corporate enterprise customers by downloading and installing Microsoft's Windows Automated Installation Kit (WAIK).
It was originally designed and built by a small team of engineers in Microsoft's Windows Deployment team, including Vijay Jayaseelan, Ryan Burkhardt, and Richard Bond.
Versions
The following versions are known to exist:
Derivatives
Windows Recovery Environment
Windows Recovery Environment (WinRE) is a set of tools based on Windows PE to help diagnose and recover from serious errors which may be preventing Windows from booting successfully. Windows RE is installed alongside
Windows Vista
Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
and later, and may be booted from hard disks, optical media (such as an operating system installation disc) and PXE (e.g. Windows Deployment Services). A copy of Windows RE is included in the installation media of the aforementioned operating systems. It is a successor to the Recovery Console.
Features
Windows RE features include:
* Automatic Repair: Automatically finds and fixes boot errors in the Windows Vista Startup Process caused by issues such as corruption of the following components: Boot Configuration Data, disk and
file system
In computing, file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control how data is stored and retrieved. Without a file system, data placed in a storage medium would be one lar ...
metadata,
Master Boot Record
A master boot record (MBR) is a special type of boot sector at the very beginning of partitioned computer mass storage devices like fixed disks or removable drives intended for use with IBM PC-compatible systems and beyond. The concept of MB ...
, or
Windows Registry
The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the registry. The kernel, device drivers, services, Security Accounts Manager, and u ...
, and issues caused by missing or damaged boot and system files, incompatible drivers, or damaged hardware. Prior to Windows 8, this mode was known as "Startup Repair." The executable image for Automatic Repair is startrep.exe
* System Restore: Same as the System Restore that is included in Windows, it allows a system's settings to be restored to those of a previous state.
* System Image Recovery: Same as the
Backup and Restore
Backup and Restore (formerly Backup and Restore Center) is the primary backup component of Windows Vista and Windows 7. It can create file and folder backups, as well as system images backups, to be used for recovery in the event of data corrup ...
component of Windows, it allows restoring a previously created disk image.
* Windows Memory Diagnostic Tool: Analyses the computer memory ( RAM) for defects (not available on Windows 8 and later). The program does not run inside WinRE, but instead reboots the system and executes memtest.exe instead of loading the operating system. memtest.exe cannot be run inside Windows.
*
Windows Command Prompt
Command Prompt, also known as cmd.exe or cmd, is the default command-line interpreter for the OS/2, eComStation, ArcaOS, Microsoft Windows ( Windows NT family and Windows CE family), and ReactOS operating systems. On Windows CE .NET 4.2, ...
: Gives
command-line
A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive command (computing), commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invokin ...
access to the file system, volumes and files. It can be used to run
System File Checker
System File Checker (SFC) is a utility in Microsoft Windows that allows users to scan for and restore corrupted Windows system files.
Overview
Microsoft ships this utility with Windows 98, Windows 2000 and all subsequent versions of the Windows ...
(sfc /scannow) against an offline Windows installation and repair missing or corrupt files. Tools like robocopy, diskpart and DISM can be used to perform various system tasks like recovering or backing up files, managing partitions, and fix servicing-related issues respectively. In order to use the command prompt, the user must sign into an administrator account.
Starting with Windows Server 2012/
Windows 8
Windows 8 is a major release of the Windows NT operating system developed by Microsoft. It was released to manufacturing on August 1, 2012; it was subsequently made available for download via MSDN and TechNet on August 15, 2012, and later to ...
, the following additional options are added:
* "Refresh" or "Reset": Both re-install Windows from a copy of the operating system on the hard drive. The "Refresh" operation maintains files, settings, and Windows Store apps (but not other programs), while "Reset" performs a factory reset of Windows, optionally formatting the hard drive and performing disk wiping. The Reset function does not perform a full reinstall; it merely performs a factory reset from a WIM image inside a hidden recovery partition. It is possible to create a custom WIM image based on which a Reset is performed.
* Startup Settings: Enforces a series of safe settings during the startup.
Windows 10 adds the following:
* Restore factory settings: Allows users who upgraded to Windows 10 to revert to their original operating system.
* Go back to the previous build: Windows 10 is an operating system for which Microsoft occasionally releases newer builds. In the event that installation of a new build of Windows 10 becomes problematic, this option allows the user to revert to the previous build. Only appears if the previous build's files are not deleted.
Volumes encrypted with
Bitlocker
BitLocker is a full volume encryption feature included with Microsoft Windows versions starting with Windows Vista. It is designed to protect data by providing encryption for entire volumes. By default, it uses the AES encryption algorithm in ...
can be mounted if a recovery key is available.
Windows Recovery Environment can also be installed to a hard drive partition by OEMs, and customized with additional tools such as a separate system recovery tool for restoring the computer back to its original state. As of Windows Vista SP1, users can create their own bootable CD containing the recovery environment.
REAgentC
Windows includes the REAgentC command which is used to configure a Windows RE boot image and a push-button reset recovery image. It allows administration of recovery options and various customizations. The REAgentC tool can either be used on an offline Windows image or on a running Windows system. The command requires administrator privileges.
Microsoft DaRT
Microsoft Diagnostics and Recovery Toolset (DaRT), sold as a part of Microsoft Desktop Optimization Pack, is yet another toolset based on Windows PE that performs diagnostic and recovery on an offline copy of Windows. It can manage files, edit
Windows Registry
The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the registry. The kernel, device drivers, services, Security Accounts Manager, and u ...
, uninstall previously installed Windows
updates
Update(s) or Updated may refer to:
Music
* ''Update'' (Anouk album), 2004
* ''Update'' (Berlin Jazz Orchestra album), 2004
* ''Update'' (Jane Zhang album), 2007
* ''Update'' (Mal Waldron album), 1987
* ''Update'' (Yandel album), 2017
* ''Up ...
Live CD
A live CD (also live DVD, live disc, or live operating system) is a complete bootable computer installation including operating system which runs directly from a CD-ROM or similar storage device into a computer's memory, rather than loading f ...
Related software
*
BartPE
BartPE (Bart's Preinstalled Environment) is a discontinued tool that customizes Windows XP or Windows Server 2003 into a lightweight environment, similar to Windows Preinstallation Environment, which could be run from a Live CD or Live USB drive. ...