Windows Preinstallation Environment

Last updated

Windows Preinstallation Environment
Windows PE screenshot.png
Windows PE 10.0 (based on Windows 11), showing Windows Command Prompt, Registry Editor and Windows Task Manager
Developer Microsoft
Source model
Released to
manufacturing
2002;22 years ago (2002)
Latest release 10.0.26100.1 / May 22, 2024;6 months ago (2024-05-22)
Kernel type Hybrid
License Freeware
Official website learn.microsoft.com/windows-hardware/manufacture/desktop/winpe-intro

Windows Preinstallation Environment (also known as Windows PE and WinPE) is a lightweight version of Windows 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 boot disks and can be booted via USB flash drive, PXE, iPXE, [1] CD, DVD, or hard drive. Traditionally used by large corporations and OEMs (to preinstall Windows client operating systems on PCs during manufacturing), it is now widely available free of charge via Windows Assessment and Deployment Kit (WADK) (formerly Windows Automated Installation Kit (WAIK)).

Contents

Overview

WinPE was originally intended to be used only as a pre-installation platform for deploying Microsoft Windows operating systems, specifically to replace MS-DOS in this respect. WinPE has the following uses:

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. [2]

Version 2.0 introduced a number of improvements [3] 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. [4]

Versions

The following versions are known to exist:

VersionDescription
1.0The first release of Windows Preinstallation Environment, built from Windows XP RTM [5]
1.1Built from Windows XP SP1 [5]
1.2Built from Windows Server 2003 RTM [5]
1.5Built from Windows XP SP2 [5]
1.6Built from Windows Server 2003 SP1 [5]
2.0 [6] [7] Built from the first edition of Windows Vista. This version differs from the other versions since it doesn't need the disc to load all the files.[ citation needed ] This means that the download is now 992 MB in size instead of 60 MB from the previous versions. It's possible to modify the default startup disc to have access to a few plug-ins like Windows Management Instrumentation, Windows Scripting Host, additional drivers and other 32-bit applications (or 64-bit applications for 64-bit versions). Other new features include the capability for a rewritable RAM disk since WinPE version 1.x only has a recordable RAM disk.
2.1 [8] Built from Windows Server 2008
2.2Built from Windows Server 2008 SP2 [5]
3.0 [9] Built from Windows 7 code base. It is included in WAIK 2.0. [5]
3.1 [10] Built from Windows 7 SP1 code base. It is included in a WAIK supplementary update provided by Microsoft.
4.0 [11] Built from Windows 8 code base. It is included in WADK for Windows 8.
5.0 [12] [13] Built from Windows 8.1 code base. It is included in Windows ADK for Windows 8.1.
5.1 [14] [13] It is an update for version 5.0 that is applied manually. [15]
10.0.10240.16384Built from Windows 10 code base. It is included in Windows ADK for Windows 10. [16] [17]
10.0.10586.0Built from Windows 10, version 1511 code base. It is included in Windows ADK for Windows 10, version 1511. [18]
10.0.14393.0Built from Windows 10, version 1607 code base. It is included in Windows ADK for Windows 10, version 1607. [19]
10.0.15063.0Built from Windows 10, version 1703 code base.
10.0.16299.15Built from Windows 10, version 1709 code base. First version supporting ARM32 and ARM64 architecture.
10.0.17134.1Built from Windows 10, version 1803 code base.
10.0.17763.0Built from Windows 10, version 1809 code base.
10.0.18362.1Built from Windows 10, version 1903 code base.
10.0.19041.1Built from Windows 10, version 2004 code base.
10.0.20348.1Built from Windows Server 2022 code base. Last version supporting x86 and ARM32 architecture.
10.0.22000.1Built from Windows 11 code base.
10.0.22621.1 [20] Built from Windows 11, version 22H2 code base.
10.0.25398.1 [21] Built from Windows Server, version 23H2 code base.
10.0.26100.1 [22] Built from Windows 11, version 24H2 code base.

Derivatives

Windows Recovery Environment

System Recovery Options in Windows 7 Windows 7 - System Recovery Options.png
System Recovery Options in Windows 7
Windows 11 Recovery Environment, Advanced Options section screen, showing six of the seven available options (System image recovery is shown when the "See more recovery options" button is clicked.) Windows 11 Recovery Environment (WinRE).png
Windows 11 Recovery Environment, Advanced Options section screen, showing six of the seven available options (System image recovery is shown when the "See more recovery options" button is clicked.)

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 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). [23] 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 metadata, Master Boot Record, or Windows Registry, 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." [24] 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 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 : Gives command-line access to the file system, volumes and files. It can be used to run System File Checker (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. [25] In order to use the command prompt, the user must sign into an administrator account.

Starting with Windows Server 2012/Windows 8, 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. [26] [27] 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. Appears as Recover from the cloud on devices whose factory settings include Windows 10.[ citation needed ]
  • 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 can be mounted if a recovery key is available.

Windows Recovery Environment can also be installed to a hard drive partition by OEMs, [28] and customized with additional tools such as a separate system recovery tool for restoring the computer back to its original state. [29] As of Windows Vista SP1, users can create their own bootable CD containing the recovery environment.

REAgentC

REAgentC
Developer(s) Microsoft
Operating system Microsoft Windows
Type Command
Website docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options

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. [30] The command requires administrator privileges. [31]

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, uninstall previously installed Windows updates, scan system for malware and restore deleted files. There is currently no Windows 11 version of Microsoft DaRT. It is currently unknown if there will be a DaRT11, or that DaRT will just stay on Windows 10.

See also

Related Research Articles

<span class="mw-page-title-main">Live CD</span> Complete, bootable computer installation that runs directly from a CD-ROM

A live CD 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 from a hard disk drive. A live CD allows users to run an operating system for any purpose without installing it or making any changes to the computer's configuration. Live CDs can run on a computer without secondary storage, such as a hard disk drive, or with a corrupted hard disk drive or file system, allowing data recovery.

<span class="mw-page-title-main">Ghost (disk utility)</span> Disk cloning and backup tool

GHOST, now called Symantec™ GHOST Solution Suite (GSS) for enterprise, is a disk cloning and backup tool originally developed by Murray Haszard in 1995 for Binary Research. The technology was bought in 1998 by Symantec.

<span class="mw-page-title-main">System Restore</span> System recovery feature in Microsoft Windows

System Restore is a feature in Microsoft Windows that allows the user to revert their computer's state to that of a previous point in time, which can be used to recover from system malfunctions or other problems. First included in Windows Me, it has been included in all following desktop versions of Windows released since, excluding Windows Server. In Windows 10, System Restore is turned off by default and must be enabled by users in order to function. This does not affect personal files such as documents, music, pictures, and videos.

In computing, data recovery is a process of retrieving deleted, inaccessible, lost, corrupted, damaged, or formatted data from secondary storage, removable media or files, when the data stored in them cannot be accessed in a usual way. The data is most often salvaged from storage media such as internal or external hard disk drives (HDDs), solid-state drives (SSDs), USB flash drives, magnetic tapes, CDs, DVDs, RAID subsystems, and other electronic devices. Recovery may be required due to physical damage to the storage devices or logical damage to the file system that prevents it from being mounted by the host operating system (OS).

<span class="mw-page-title-main">BartPE</span> Software to create a customised Windows XP

BartPE 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. A BartPE system image is created using PE Builder, a freeware program created by Bart Lagerweij.

<span class="mw-page-title-main">Sysprep</span> Microsoft tool for Windows deployment

Sysprep is Microsoft's System Preparation Tool for Microsoft Windows operating system deployment.

System File Checker (SFC) is a utility in Microsoft Windows that allows users to scan for and restore corrupted Windows system files.

The Windows Imaging Format (WIM) is a file-based disk image format. It was developed by Microsoft to help deploy Windows Vista and subsequent versions of the Windows operating system family, as well as Windows Fundamentals for Legacy PCs.

The Logical Disk Manager (LDM) is an implementation of a logical volume manager for Microsoft Windows NT, developed by Microsoft and Veritas Software. It was introduced with the Windows 2000 operating system, and is supported in Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows 8, Windows 10 and Windows 11. The MMC-based Disk Management snap-in hosts the Logical Disk Manager. On Windows 8 and Windows Server 2012, Microsoft deprecated LDM in favor of Storage Spaces.

<span class="mw-page-title-main">Recovery disc</span> Media intended to restore the operating system

The terms Recovery disc, Rescue Disk/Disc and Emergency Disk all refer to a capability to boot from an external device, possibly a thumb drive, that includes a self-running operating system: the ability to be a boot disk/Disc that runs independent of an internal hard drive that may be failing, or for some other reason is not the operating system to be run.

<span class="mw-page-title-main">MSConfig</span> Microsoft Windows System Configuration

MSConfig is a system utility to troubleshoot the Microsoft Windows startup process. It can disable or re-enable software, device drivers and Windows services that run at startup, or change boot parameters.

<span class="mw-page-title-main">WinBuilder</span> Live CD builder for Windows

WinBuilder is a free application designed to build and customize boot disks based on Microsoft Windows (WinPE).

Windows Vista contains a range of new technologies and features that are intended to help network administrators and power users better manage their systems. Notable changes include a complete replacement of both the Windows Setup and the Windows startup processes, completely rewritten deployment mechanisms, new diagnostic and health monitoring tools such as random access memory diagnostic program, support for per-application Remote Desktop sessions, a completely new Task Scheduler, and a range of new Group Policy settings covering many of the features new to Windows Vista. Subsystem for UNIX Applications, which provides a POSIX-compatible environment is also introduced.

Windows Deployment Services (WDS) is a deprecated component of the Windows Server operating system that enables centralized, network-based deployment of operating systems to bare-metal computers. It is the successor to Remote Installation Services (RIS). WDS officially supports remote deployment of Windows Vista and later, as well as Windows Server 2008 and later. However, because WDS uses disk imaging, in particular the Windows Imaging Format (WIM), it could deploy virtually any operating system. This is in contrast with its predecessor, RIS, which was a method of automating the installation process.

Microsoft Desktop Optimization Pack (MDOP) is a suite of utilities for Microsoft Windows customers who have subscribed to Microsoft Software Assurance program. It aims at bringing easier manageability and monitoring of enterprise desktops, emergency recovery, desktop virtualization and application virtualization.

Microsoft Deployment Toolkit is a free software package from Microsoft for automating the deployment of Windows 10, Server 2019 and older Windows Server and desktop operating systems.

<span class="mw-page-title-main">EasyBCD</span> Software for Microsoft Windows

EasyBCD is a program developed by NeoSmart Technologies to configure and tweak the Boot Configuration Data (BCD), a boot database first introduced in Windows Vista and used in all subsequent Windows releases. EasyBCD can be used to set up multi-boot environments for computers on which some versions of Windows, Linux, BSD and Mac OS X can be simultaneously installed; EasyBCD can also be used for adding entries to bootable tools and utilities, as well as modifying and controlling the behavior of the Windows boot menu. EasyBCD 2.3 introduced additional support for creating and managing entries for UEFI-based Windows entries in the boot menu. As of June 20, 2011 with the release of EasyBCD 2.1, it is no longer free for use in commercial environments which require the purchase of a paid license, however it remains free for home and non-profit use without limitations.

Windows Assessment and Deployment Kit, formerly Windows Automated Installation Kit, is a collection of tools and technologies produced by Microsoft designed to help deploy Microsoft Windows operating system images to target computers or to a virtual hard disk image in VHD format. It was first introduced with Windows Vista. WAIK is a required component of Microsoft Deployment Toolkit.

A System Deployment Image is a file format used primarily with Microsoft products to contain an arbitrary disk image, including boot sector information.

<span class="mw-page-title-main">Windows Setup</span> Installer that prepares a hard disk drive for a Microsoft Windows operating system installation

Windows Setup is an installer that prepares a computer for a Microsoft Windows installation by allowing the user to pick installation settings and copying the files to the drive.

References

  1. "Network-booting Windows PE" . Retrieved September 18, 2012.
  2. "WinPE 3.0 & Forensics". Praetorian Prefect. April 12, 2010. Archived from the original on April 27, 2010. Retrieved April 16, 2010.
  3. "Adding XML Parser support into WinPE". February 17, 2006. Archived from the original on April 28, 2006. Retrieved June 16, 2009.
  4. USpatent 6993642,Burkhardt, Ryan; Harikrishnan, Seetharaman; Yaryan, Tom; Bond, Richard; Shetty, Vijesh; Jayaseelan, Vijayachandran,"Method and system for creating and employing an operating system having selected functionality",published 2006-01-30,issued 2006-01-31, assigned to Microsoft Technology Licensing, LLC
  5. 1 2 3 4 5 6 7 "Windows PE Version Overview". TechNet Wiki. Microsoft. Retrieved December 28, 2017.
  6. "What is Windows PE?". Previous Versions Documentation. Microsoft Corporation. Retrieved July 22, 2018. Windows Preinstallation Environment (Windows PE) 2.0 is a minimal Win32 operating system with limited services, built on the Windows Vista kernel.
  7. "Windows Automated Installation Kit (AIK)". Download Center. Microsoft. Retrieved September 15, 2013.
  8. "Automated Installation Kit (AIK) for Windows Vista SP1 and Windows Server 2008". Download Center. Microsoft. Retrieved September 15, 2013.
  9. "What is Windows PE?". Previous Versions Documentation. Microsoft Corporation. Retrieved July 22, 2018. Windows® Preinstallation Environment (Windows PE) 3.0 is a minimal Win32® operating system with limited services, built on the Windows® 7 kernel.
  10. "The Windows® Automated Installation Kit (AIK) Supplement for Windows® 7 SP1". Download Center. Microsoft. Retrieved September 15, 2013.
  11. "Windows Assessment and Deployment Kit (ADK) for Windows® 8". Download Center. Microsoft. Retrieved September 15, 2013.
  12. "What is Windows PE?". Previous Versions Documentation. Microsoft Corporation. Retrieved July 22, 2018. (WinPE) Windows PE 5.0 (WinPE) is a small operating system used to install, deploy, and repair Windows 8, Windows Server 2012 R2, and other Windows operating systems.
  13. 1 2 "Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1". Download Center. Microsoft. Retrieved September 15, 2013.
  14. "What is Windows PE?". Previous Versions Documentation. Microsoft Corporation. Retrieved July 22, 2018. WinPE for Windows 8.1: Windows PE 5.1
  15. "Update WinPE 5.0 to WinPE 5.1". TechNet Library. Microsoft. Retrieved April 6, 2014.
  16. Rhee, Yong (August 11, 2015). "Download: Windows 10 Assessment and Deployment Kit (ADK)". Yong Rhee's Microsoft Technet Blog. Microsoft.
  17. "Windows PE (WinPE)". Hardware Dev Center. Microsoft. October 2, 2018.
  18. Rhee, Yong (December 1, 2015). "Download: Windows 10 Nov. 2015 update (version 1511) Assessment and Deployment Kit (ADK)". Yong Rhee's Microsoft Technet Blog. Microsoft . Retrieved January 11, 2016.
  19. O'Shea, Mark (August 3, 2016). "Windows ADK for Windows 10 version 1607 available for download". Microsoft Australia OEM Team. Microsoft. Archived from the original on November 11, 2016.
  20. windows-driver-content. "What's new in the ADK for Windows 11, version 22H2". docs.microsoft.com. Retrieved May 25, 2022.
  21. windows-driver-content. "What's new in the ADK for Windows 11, version 22H2 (updated September 2023)". docs.microsoft.com. Retrieved October 10, 2023.
  22. windows-driver-content (May 22, 2024). "What's new in the ADK for Windows 11, version 24H2 (updated September 2023)". docs.microsoft.com. Retrieved May 23, 2024.
  23. Parveen (September 18, 2006). "Introducing Windows Recovery Environment (Windows RE)". Windows RE Notes. Microsoft. Archived from the original on October 19, 2017. Retrieved December 18, 2020.
  24. "How Windows RE Works". Windows Vista Technical Library. Microsoft. July 25, 2008.
  25. Conway, Joseph (July 14, 2009). "The coolest new DISM command (to me at least)". The Windows Servicing Guy. Microsoft.
  26. Lee, Desmond (January 4, 2012). Sinofsky, Steven (ed.). "Refresh and reset your PC". Building Windows 8. Microsoft.
  27. Bright, Peter (September 19, 2011). "Making the lives of IT easier: Windows 8 Refresh, Reset, and Windows To Go". Ars Technica. Condé Nast.
  28. "How to install Windows RE on the hard disk". MSDN . Microsoft. January 11, 2007. Retrieved February 14, 2008.
  29. "Customizing the Windows RE Experience". TechNet . Microsoft. Archived from the original on February 20, 2007. Retrieved February 13, 2008.
  30. "REAgentC command-line options | Microsoft Docs". Archived from the original on November 12, 2020. Retrieved August 5, 2020.
  31. "How to enable Windows Recovery Environment (WinRE) on Windows 10 | Windows Central". May 13, 2020. Archived from the original on June 12, 2020. Retrieved August 5, 2020.