BCDedit is a command-line tool used to view and modify the boot configuration data store. It is used to configure boot entries, such as the location of the boot loader, the operating system, and other settings. Bootrec is a command-line tool used to repair the Windows boot process. It can be used to fix problems such as missing or corrupt boot files, incorrect boot order, and other issues that can prevent Windows from booting. Bootrec can also be used to create new boot entries and repair the Master Boot Record (MBR).