Bootrec
lastmod 2026-11-10created 2019-03-162 edits
bootrec is a command that repairs boot-related damage from the Command Prompt of the Windows Recovery Environment (WinRE). /fixmbr rewrites the master boot record, /fixboot rewrites the boot sector of the system partition, /scanos looks for installed Windows installations, and /rebuildbcd rebuilds the Boot Configuration Data (BCD). It is used by booting from installation media when Windows fails to start because of corrupted boot files.