Windows Setup

Last updated

Language select before installation in Windows 11 (before 26 January 2024 update and 24H2) Windows 11 Setup.png
Language select before installation in Windows 11 (before 26 January 2024 update and 24H2)
Expanding files during installation in Windows 11 (before 26 January 2024 update and 24H2) Windows 11 Installing.png
Expanding files during installation in Windows 11 (before 26 January 2024 update and 24H2)

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

Contents

The early versions of Windows required an existing compatible version of DOS operating system in order to be installed. The Windows NT family, from 3.1 through 5.0 featured text-based installation that prompted users to a GUI wizard in the final steps. The 9x family installer was similar to NT despite it being MS-DOS-based. Additionally, it did not need preinstalled DOS as a requirement. With the release of Windows NT 6.0 (which Windows Vista and Windows Server 2008 are based on), Microsoft introduced a fully graphical setup environment and UEFI support (partial in Windows Vista and 7, full UEFI support on Windows 8 onwards). The new graphical setup environment is based on Windows Preinstallation Environment.

Windows 1.x and Windows 2.x

The installation of Windows 1.x, Windows 2.0, Windows 2.1x requires that a compatible version of MS-DOS is installed. The user must specify any hardware such as mice or printers during installation. After the installation, Windows was to be started either manually by typing "WIN.COM" at the command prompt, or configured for automatic startup by adding WIN.COM to the end of AUTOEXEC.BAT.

Windows 3.x

The installation of Windows 3.0, Windows 3.1x and Windows 3.2 requires that a compatible DOS operating system is already installed. The installer attempts to detect network cards, mice, and other hardware on its own but will rely on the user to specify hardware if it cannot find them. After the installation, Windows was to be started either manually by typing "WIN.COM" at the command prompt, or configured for automatic startup by adding WIN.COM to the end of AUTOEXEC.BAT. [1]

Windows 9x

Windows 95-98 and Windows Me do not require MS-DOS to be preinstalled. The setup programme can run on DOS or an existing installation of Windows. If run from DOS, including the case of booting from an installation media, a Windows 3.x environment is started to run the setup which is a Windows application.

If not run from an existing installation, setup prepares the hard disk partition for use by Windows by formatting it to a compatible file system, then runs scandisk. Setup goes straight to the below step if run from an existing Windows install for an upgrade.

If the hard disk appears to be ready for installation in terms of free space and disk integrity, then it will copy files to the selected installation folder (typically C:\WINDOWS).

Once this phase is finished, the computer reboots and setup resumes from the hard disk, but still requires the installation media to continue copying files and drivers. At this point the user will be asked to provide a product key.

Windows NT

Before Windows Vista/Windows Server 2008

The setup process introduced with Windows NT 3.1 remained in effect until the release of Windows Vista. The general process is:

  1. The user starts the installation process, either by booting off the installation media, running the MS-DOS installer from MS-DOS, or running the Windows installer from an existing Windows install.
      • The MS-DOS installer goes straight to the text-based interface below to allow the user to install Windows.
      • The Windows installer presents an agreement and asks for the product key right at the beginning to upgrade Windows, then it copies files to the hard disk, and reboot to the setup from the hard disk in order to continue to the next step.
  2. If the installation process started from booting off the media, or from the Windows installer, the boot loader loads the kernel, various hardware and file-system drivers.
      • If any third-party drivers are needed in order to detect an SCSI or RAID system, setup pauses and requests the supply of a driver on a floppy disk. See F6 disk.
  3. If the installation process started from booting off the media, the user is then presented with a text-based interface which gives three options 1) install Windows, 2) repair an existing installation, or 3) quit setup. [2]
  4. If the user decides to install Windows, they are presented with an agreement that must be accepted for Setup to continue. Prior to Windows 2000, the user was required to scroll to the bottom of the agreement before they were permitted to agree.
  5. Unless it is an upgrade, the user must create or select a partition, then a filesystem (either NTFS or FAT). If either of these file systems is already present and there is no version of Windows already on the disk, it is also possible to leave the current file system intact.
  6. The hard disk is checked for errors and space requirements, then, if it passes the check, Windows will be installed.
  7. After the text-based phase of Setup is finished, the computer reboots and starts a graphical phase of setup from the hard disk, prompting the user to reinsert the installation media, to enter the product key, and then it continues copying files and drivers.

All versions of Windows NT up to Windows Server 2003, except for Windows XP Home Edition, prompt the user to enter an Administrator password.

On Windows 2000, Windows XP and Windows Server 2003, the Recovery Console is included to repair damaged installations. It allows the user to repair disk and boot record errors, and copy missing or corrupted files to the destination folders.

After Windows Vista/Windows Server 2008

Windows Vista, Windows Server 2008, and subsequent operating systems all utilize Windows Preinstallation Environment (Windows PE) as the installation environment. Windows PE features a graphical user interface with mouse support from the beginning, rather than requiring a text-only phase as in previous versions. The concept of F6 disks has been improved to provide support for computers without floppy drives; the loading of drivers from CD-ROMs and USB flash drives is now supported. Support for installing Windows onto FAT partitions has been dropped; Windows must be installed onto an NTFS partition. [3] [ failed verification ]

Process

  1. The user inserts a disc or USB flash drive which contains the PE environment and installation files, then boots off of it.
  2. The user selects language, region and keyboard preferences.
  3. The user enters a Windows product key to activate it, though this step can be skipped.
  4. The user accepts a license agreement.
  5. The user chooses where to install Windows. A list of drives and their partitions are shown. The user picks one to install Windows on, and the user can make new partitions, delete them or load any hardware drivers if necessary. The user is notified if there are potential problems with their install location or if they cannot install on that location.
  6. Setup begins to expand Windows files using a WIM image (aka install.wim). If the user has picked to upgrade from a current install of Windows (e.g. Windows 7 to 10), the files and applications will be transferred.
  7. If booting from the installation disk, the bootloader is installed (in the case of Windows Vista and above, this would be BOOTMGR). This is left untouched if upgrading.
  8. The system is restarted into a user setup (OOBE) where the user can make a new user and finish setting up Windows.

Windows 8 and later

Windows 8 introduces a new secondary installer known as the Upgrade Assistant, replacing Windows Setup for upgrade installations. Designed to be simpler and faster than previous installation methods, it analyses the system's hardware and software for compatibility with Windows 8, allows the user to purchase, download, and install the operating system, and migrate files and settings from the previous Windows installation in the case of a clean install. [4] [5] Windows Setup is still used when booting from installation media. [5] On Windows 10, a sister program to Upgrade Assistant known as "Media Creation Tool" was introduced, which is used to download the Windows OS files and generate ISO images or USB boot media. [6]

In January 2024, Microsoft began to replace Windows Setup on the Windows 11 boot media with a revamped version based on the UI of Upgrade Assistant. Microsoft stated that the new process would maintain all advanced features available in the existing setup process. [7]

Related Research Articles

<span class="mw-page-title-main">Windows 95</span> Microsoft computer operating system released in 1995

Windows 95 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of operating systems. The first operating system in the 9x family, it is the successor to Windows 3.1, and was released to manufacturing on July 14, 1995, and generally to retail on August 24, 1995, almost three months after the release of Windows NT 3.51. Windows 95 is the first version of Microsoft Windows to include the Modern Windows Feel Windows 95 merged Microsoft's formerly separate MS-DOS and Microsoft Windows products, and featured significant improvements over its predecessor, most notably in the graphical user interface (GUI) and in its simplified "plug-and-play" features. There were also major changes made to the core components of the operating system, such as moving from a mainly cooperatively multitasked 16-bit architecture to a 32-bit preemptive multitasking architecture, at least when running only 32-bit protected mode applications.

<span class="mw-page-title-main">Drive letter assignment</span> Alphabetical assignment to logical drives on computers (e.g., C:\)

In computer data storage, drive letter assignment is the process of assigning alphabetical identifiers to volumes. Unlike the concept of UNIX mount points, where volumes are named and located arbitrarily in a single hierarchical namespace, drive letter assignment allows multiple highest-level namespaces. Drive letter assignment is thus a process of using letters to name the roots of the "forest" representing the file system; each volume holds an independent "tree".

<span class="mw-page-title-main">Windows Me</span> Microsoft personal computer operating system released in 2000

Windows Me is an operating system developed by Microsoft as part of its Windows 9x family of Microsoft Windows operating systems. It is the successor to Windows 98, and was released to manufacturing on June 19, 2000, and then to retail on September 14, 2000. It was Microsoft's main operating system for home users until the introduction of its successor Windows XP on October 25, 2001.

<span class="mw-page-title-main">FreeDOS</span> Open source clone of MS-DOS

FreeDOS is a free software operating system for IBM PC compatible computers. It intends to provide a complete MS-DOS-compatible environment for running legacy software and supporting embedded systems.

NTLDR is the boot loader for all releases of Windows NT operating system from 1993 with the release of Windows NT 3.1 up until Windows XP and Windows Server 2003. From Windows Vista onwards it was replaced by the BOOTMGR bootloader. NTLDR is typically run from the primary storage device, but it can also run from portable storage devices such as a CD-ROM, USB flash drive, or floppy disk. NTLDR can also load a non NT-based operating system given the appropriate boot sector in a file.

<span class="mw-page-title-main">Windows 9x</span> Discontinued series of Microsoft Windows operating systems

Windows 9x is a generic term referring to a line of discontinued Microsoft Windows operating systems from 1995 to 2000, which were based on the Windows 95 kernel and its underlying foundation of MS-DOS, both of which were updated in subsequent versions. The first version in the 9x series was Windows 95, which was succeeded by Windows 98 and then Windows Me, which was the third and last version of Windows on the 9x line, until the series was superseded by Windows XP.

<span class="mw-page-title-main">Multi-booting</span> Act of installing multiple operating systems on a single computer

Multi-booting is the act of installing multiple operating systems on a single computer, and being able to choose which one to boot. The term dual-booting refers to the common configuration of specifically two operating systems. Multi-booting may require a custom boot loader.

<span class="mw-page-title-main">Architecture of Windows NT</span> Structure of the operating system

The architecture of Windows NT, a line of operating systems produced and sold by Microsoft, is a layered design that consists of two main components, user mode and kernel mode. It is a preemptive, reentrant multitasking operating system, which has been designed to work with uniprocessor and symmetrical multiprocessor (SMP)-based computers. To process input/output (I/O) requests, it uses packet-driven I/O, which utilizes I/O request packets (IRPs) and asynchronous I/O. Starting with Windows XP, Microsoft began making 64-bit versions of Windows available; before this, there were only 32-bit versions of these operating systems.

<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">Windows Preinstallation Environment</span> Lightweight version of Microsoft Windows for deployment

Windows Preinstallation Environment 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, CD, DVD, or hard disk. Traditionally used by large corporations and OEMs, it is now widely available free of charge via Windows Assessment and Deployment Kit (WADK).

<span class="mw-page-title-main">Boot Camp (software)</span> Built-in macOS software to natively install Microsoft Windows on a Mac.

Boot Camp Assistant is a multi boot utility included with Apple Inc.'s macOS that assists users in installing Microsoft Windows operating systems on Intel-based Macintosh computers. The utility guides users through non-destructive disk partitioning of their hard disk drive or solid-state drive and installation of Windows device drivers for the Apple hardware. The utility also installs a Windows Control Panel applet for selecting the default boot operating system.

F6 disk is a colloquial name for a floppy disk containing a device driver that enables Windows Setup to install Microsoft Windows on storage devices based on SCSI, SATA, or RAID technologies. All versions of the Windows NT family prior to Windows Vista required F6 disks. Starting with Windows Vista, Windows Setup supports loading third-party drivers from USB drives and CD-ROMs.

<span class="mw-page-title-main">Wubi (software)</span> Ubuntu Linux installer for Windows

Wubi is a free software Ubuntu installer, that was the official Windows-based software, from 2008 until 2013, to install Ubuntu from within Windows, to a single file within an existing Windows partition.

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.

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.

Windows NT is a proprietary graphical operating system produced by Microsoft as part of its Windows product line, the first version of which, Windows NT 3.1, was released on July 27, 1993. Originally made for the workstation, office, and server markets, the Windows NT line was made available to consumers with the release of Windows XP in 2001. The underlying technology of Windows NT continues to exist to this day with incremental changes and improvements, with the latest version of Windows based on Windows NT being Windows 11 in 2021.

<span class="mw-page-title-main">MS-DOS</span> Discontinued Microsoft operating system

MS-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 operating systems attempting to be compatible with MS-DOS, are sometimes referred to as "DOS". MS-DOS was the main operating system for IBM PC compatibles during the 1980s, from which point it was gradually superseded by operating systems offering a graphical user interface (GUI), in various generations of the graphical Microsoft Windows operating system.

<span class="mw-page-title-main">DOS</span> Family of IBM PC-compatible operating systems

DOS is a family of disk-based operating systems for IBM PC compatible computers. The DOS family primarily consists of IBM PC DOS and a rebranded version, Microsoft's MS-DOS, both of which were introduced in 1981. Later compatible systems from other manufacturers include DR-DOS (1988), ROM-DOS (1989), PTS-DOS (1993), and FreeDOS (1998). MS-DOS dominated the IBM PC compatible market between 1981 and 1995.

References

  1. "Windows 3.1 WIN.COM Command Switches". support.microsoft.com. Archived from the original on April 23, 2007.
  2. "Windows NT 3.1 Setup Screens". support.microsoft.com. Archived from the original on February 16, 2007.
  3. "當您嘗試安裝 Windows Vista 時,無法選取升級選項,並且收到下列訊息:「已經停用升級」". Archived from the original on September 20, 2014. Retrieved December 27, 2008.
  4. Paul McDougall (July 3, 2012). "Microsoft Reveals Windows 8 Upgrade Price". InformationWeek. Archived from the original on August 8, 2012. Retrieved July 4, 2012.
  5. 1 2 "Improving the setup experience". Building Windows 8. Microsoft. Retrieved September 18, 2012.
  6. Barrett, Brian (July 29, 2015). "How to Upgrade to Windows 10". Wired. Archived from the original on August 6, 2024. Retrieved July 31, 2015.
  7. Tyson, Mark (January 28, 2024). "Windows installer gets its first update since Vista – cleaner modern Setup Experience debuts in Windows 11 Build 26040". Tom's Hardware. Retrieved November 8, 2024.