Windows Boot Manager

Windows Boot Manager operating system select menu

Other names| `BOOTMGR`
Developer(s)| Microsoft
Operating system| Windows
Predecessor| NTLDR
Type| Bootloader
License| Proprietary

The Windows Boot Manager (`BOOTMGR`) is the bootloader provided by Microsoft for Windows NT versions starting with Windows Vista and Windows Server 2008. It is the first program launched by the BIOS or UEFI of the computer and is responsible for loading the rest of Windows.[1] It replaced the NTLDR present in older versions of Windows.

The boot sector or UEFI loads the Windows Boot Manager (a file named `BOOTMGR` on either the system or the boot partition), accesses the Boot Configuration Data store and uses the information to load the operating system through `winload.exe` or `winresume.exe` on BIOS systems, and `winload.efi` and `winresume.efi` on UEFI systems.[2]

## Contents

* 1 Launching
* 2 Operation
* 3 Operating system loading
* 3.1 winload.exe
* 3.2 winresume.exe
* 4 Boot Configuration Data
* 4.1 bcdedit
* 4.2 bcdboot
* 4.3 bootrec
* 5 See also
* 6 References
* 7 Further reading

## Launching

On system with BIOS firmware, the BIOS invokes MBR boot code from a hard disk drive at startup. The MBR boot code and the VBR boot code are OS-specific. In Microsoft Windows, the MBR boot code tries to find an active partition (the MBR is only 512 bytes), then executes the VBR boot code of an active partition. The VBR boot code tries to find and execute the `bootmgr` file from an active partition.[3]

On systems with UEFI firmware, UEFI invokes `bootmgfw.efi` from an EFI system partition at startup, starting the Windows Boot Manager.

## Operation

Once launched the Windows Boot Manager reads the Boot Configuration Data to determine what operating systems are present and if it should present the user with a menu allowing them to select which operating system to boot. Before Windows Vista, this data was contained in boot.ini.

These menu entries can include:

* Options to boot Windows Vista and later by invoking winload.exe.
* Options to resume Windows Vista and later from hibernation by invoking winresume.exe.
* Options to boot a prior version of the Windows NT family by invoking its NTLDR.
* Options to load and to execute a volume boot record.

## Operating system loading

The operating system is loaded by individual boot loaders for each install of Windows, called the Windows Boot Loader.

### winload.exe

The Windows Boot Manager invokes `winload.exe`—the operating system boot loader—to load the operating system kernel executive (`ntoskrnl.exe`) and core device drivers. In that respect, winload.exe is functionally equivalent to the operating system loader function of NTLDR in prior versions of Windows NT. In UEFI systems, the file is called `winload.efi` and the file is always located at `\windows\system32` or `\windows\system32\boot`. In addition, if Hyper-V is enabled, winload.exe or winload.efi will load `hvix64.exe` or `hvax64.exe` on x64 computer systems; later, `ntoskrnl.exe` is loaded.

### winresume.exe

If the computer has recently hibernated, then `bootmgr` will instead invoke `winresume.exe`. In UEFI systems, the file is called `winresume.efi` and is always located at `\windows\system32` or `\windows\system32\boot`.[4]

## Boot Configuration Data

`BCD` is a file that is used to store the configuration of Microsoft's Windows Boot Manager. It is the equivalent of NTLDR's `boot.ini` or GNU GRUB's `grub.cfg`.

For UEFI boot, the file is located at `/EFI/Microsoft/Boot/BCD` on the EFI System Partition. For traditional BIOS boot, the file is at `\boot\BCD` on the active partition.[5]

Boot Configuration Data is stored in a data file that has the same format as Windows Registry hives and is eventually mounted at registry key HKEY_LOCAL_MACHINE\BCD00000[6] (with restricted permissions[7]).

Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data.[8]

The BCD itself is encoded with UTF-16 encoding.

Several command-line tool to edit this file have been made available: bootrec, bcdboot and bcdedit.

### bcdedit

bcdeditDeveloper(s)| Microsoft

|

Operating system| Microsoft Windows
Type| Command
License| Proprietary commercial software
Website| docs.microsoft.com/en-us/windows-server/administration/windows-commands/bcdedit

Boot Configuration Data may be altered using a command-line tool (bcdedit.exe), using the Registry Editor[6] (regedit.exe), using Windows Management Instrumentation, or with third-party tools such as EasyBCD, BOOTICE,[9] or Visual BCD Editor.[10]

Boot Configuration Data allows for third-party integration, so anyone can implement tools such as diagnostics or recovery options.

### bcdboot

BCDboot can be used to set up a system partition or repair the boot environment located on the system partition. BCDBoot can create a Boot Configuration Data (BCD) store on the system partition using the latest version of the Windows files.

### bootrec

bootrec is a command in the Windows Recovery Environment that can be used to troubleshoot and repair issues with an MBR, a boot sector, or a BCD file.[11]

## See also

* Booting process of Windows
* Windows Vista I/O technologies

## References

1. ↑ barrygolden. "Boot and UEFI – Windows drivers" (in en-us). https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/boot-and-uefi.
2. ↑ "The Windows NT 6 boot process". Frequently Given Answers. https://jdebp.eu/FGA/windows-nt-6-boot-process.html.
3. ↑ "Boot Sequence of Windows Multi-Boot – Multibooters.com". http://www.multibooters.com/guides/boot-sequence-of-mixed-windows-multiboot.html.
4. ↑ Hudek, Ted; Marshall, Don; Graf, Eliot (23 April 2019). "Overview of Boot Options in Windows" (in EN). Microsoft. https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/boot-options-in-windows.
5. ↑ Microsoft. "Error message when you start Windows 7: "The Windows Boot Configuration Data file is missing required information"". https://support.microsoft.com/en-us/kb/2004518.
6. ↑ 6.0 6.1 Russinovich, Mark (8 November 2011). "Fixing Disk Signature Collisions". Mark's Blog. Microsoft TechNet (Microsoft Corporation). https://docs.microsoft.com/en-us/archive/blogs/markrussinovich/fixing-disk-signature-collisions.
7. ↑ "Why can't I edit the system BCD store via regedit?". http://superuser.com/questions/654971/why-cant-i-edit-the-system-bcd-store-via-regedit.
8. ↑ Marshall, Don. "Overview of Boot Options in Windows – Windows drivers" (in en-us). https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/boot-options-in-windows.
9. ↑ Pauly. "BOOTICE board index". http://bbs.ipauly.com/viewforum.php?f=2.
10. ↑ Bo Yans. "Visual BCD Editor". http://www.boyans.net.
11. ↑ "Use Bootrec.exe in the Windows RE to troubleshoot startup issues". https://support.microsoft.com/en-us/topic/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues-902ebb04-daa3-4f90-579f-0fbf51f7dd5d.

## Further reading

* "The Windows NT 6 boot process". Frequently Given Answers. https://jdebp.eu/FGA/windows-nt-6-boot-process.html.

* v
* t
* e

Microsoft Windows components

Management
tools|

* App Installer
* Command Prompt
* Control Panel
* Applets
* Device Manager
* Disk Cleanup
* Disk Defragmenter
* Driver Verifier
* DxDiag
* Event Viewer
* IExpress
* Management Console
* Netsh
* Performance Monitor
* Recovery Console
* Resource Monitor
* Settings
* Sysprep
* System Configuration
* System File Checker
* System Information
* System Policy Editor
* System Restore
* Task Manager
* Windows Error Reporting
* Windows Ink
* Windows Installer
* PowerShell
* Windows Update
* Windows Insider
* WinRE
* WMI

Apps|

* Alarms & Clock
* Calculator
* Calendar
* Camera
* Character Map
* Cortana
* Edge
* Fax and Scan
* Feedback Hub
* File Manager
* Get Help
* Groove Music
* Magnifier
* Mail
* Messaging
* Maps
* Media Player
* Movies & TV
* Mobility Center
* Money
* News
* Narrator
* Notepad
* OneDrive
* OneNote
* Paint
* Paint 3D
* People
* Phone Companion
* Photos
* Quick Assist
* Snipping Tool
* Speech Recognition
* Skype
* Sports
* Sticky Notes
* View 3D
* Store
* Tips
* Voice Recorder
* Wallet
* Weather
* Windows To Go
* Windows Story Remix
* WordPad
* Xbox Console Companion
* Your Phone

Shell|

* Action Center
* Aero
* AutoPlay
* AutoRun
* ClearType
* Explorer
* Search
* Indexing Service
* IFilter
* Saved search
* Namespace
* Special folder
* Start menu
* Taskbar
* Task View
* Windows Spotlight
* Windows XP visual styles

Services|

* Service Control Manager
* BITS
* CLFS
* Multimedia Class Scheduler
* Shadow Copy
* Task Scheduler
* Error Reporting
* Wireless Zero Configuration

File systems|

* CDFS
* DFS
* exFAT
* IFS
* FAT
* NTFS
* Hard link
* Junction point
* Mount Point
* Reparse point
* Symbolic link
* TxF
* EFS
* ReFS
* UDF

Server|

* Domains
* Active Directory
* DNS
* Group Policy
* Roaming user profiles
* Folder redirection
* Distributed Transaction Coordinator
* MSMQ
* Windows Media Services
* Rights Management Services
* IIS
* Remote Desktop Services
* WSUS
* SharePoint
* Network Access Protection
* PWS
* DFS Replication
* Remote Differential Compression
* Print Services for UNIX
* Remote Installation Services
* Windows Deployment Services
* System Resource Manager
* Hyper-V
* Server Core

Architecture|

* Architecture of Windows NT
* Startup process
* NT
* Vista
* CSRSS
* Desktop Window Manager
* Portable Executable
* EXE
* DLL
* Enhanced Write Filter
* Graphics Device Interface
* hal.dll
* I/O request packet
* Imaging Format
* Kernel Transaction Manager
* Library files
* Logical Disk Manager
* LSASS
* MinWin
* NTLDR
* Ntoskrnl.exe
* Object Manager
* Open XML Paper Specification
* Registry
* Resource Protection
* Security Account Manager
* Server Message Block
* Shadow Copy
* SMSS
* System Idle Process
* USER
* WHEA
* Win32 console
* Winlogon
* WinUSB

Security|

* Security and Maintenance
* AppLocker
* BitLocker
* Credential Guard
* Data Execution Prevention
* Family Safety
* Kernel Patch Protection
* Mandatory Integrity Control
* Protected Media Path
* User Account Control
* User Interface Privilege Isolation
* Windows Defender
* Windows Firewall

Compatibility|

* COMMAND.COM
* Virtual DOS machine
* Windows on Windows
* WoW64
* Windows Subsystem for Linux

API|

* Active Scripting
* WSH
* VBScript
* JScript
* COM
* ActiveX
* ActiveX Document
* COM Structured storage
* DCOM
* OLE
* OLE Automation
* Transaction Server
* DirectX
* .NET Framework
* Universal Windows Platform
* Windows Mixed Reality
* Windows Runtime
* WinUSB

Games|

* Solitaire Collection

Discontinued|

| Games|

* 3D Pinball
* Chess Titans
* FreeCell
* Hearts
* InkBall
* Hold 'Em
* Purble Place
* Reversi
* Spider Solitaire
* Solitaire
* Tinker

|

Apps|

* ActiveMovie
* Anytime Upgrade
* Address Book
* Backup and Restore
* Cardfile
* CardSpace
* CD Player
* Contacts
* Desktop Gadgets
* Diagnostics
* DriveSpace
* DVD Maker
* Easy Transfer
* Fax
* Food & Drink
* Help and Support Center
* Health & Fitness
* HyperTerminal
* Internet Explorer
* Journal
* Media Center
* Meeting Space
* Messaging
* Messenger
* Mobile Device Center
* Movie Maker
* MSN Dial-up
* NetMeeting
* NTBackup
* Outlook Express
* Travel
* Photo Gallery
* Photo Viewer
* Program Manager
* Steps Recorder
* Syskey
* WinHelp
* Write

Others|

* ScanDisk
* File Protection
* Media Control Interface
* Next-Generation Secure Computing Base
* POSIX subsystem
* Interix
* Video for Windows
* Windows SideShow
* Windows Services for UNIX
* Windows System Assessment Tool
* WinFS

Spun off to
Microsoft Store|

* DVD Player
* Hover!
* Mahjong
* Minesweeper

Template:Firmware and booting

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Windows Boot Manager. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Windows_Boot_Manager&oldid=4217092"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template