This article explains how to use the bootsect (bootsect.exe) utility to rebuild your computer’s boot sector code.
bootsect.exe is available only for these Windows versions: Windows XP, Vista, 7, 8, 8.1 and 10.
Bootsect on Windows
Bootsect on Windows Vista
If you have the installation disc
If you have your original Windows Vista installation disc, you can boot from the disc and run bootsect.exe from Command Prompt:
If you don’t have the Windows Vista disc, go to Repair boot sector with Easy Recovery Essentials.
- Insert the Windows Vista CD/DVD and restart your computer
- Boot from the CD/DVD. Press any key when presented with the “Press any key” screen to boot from the disc.
- Click Repair your computer
Windows Vista Repair Your Computer Menu
- Select your operating system, click Next
- Click Command Prompt at System Recovery Options
Windows Vista System Recovery Options
- Type:
bootsect /nt60 sys
This command will update your Windows Vista’s boot sector.
- Press Enter
For more commands and parameters you can run with bootsect, go to Parameters you can use.
If you don’t have the installation disc
Certain computers with Windows Vista pre-installed may have the System Recovery Options installed on the hard disk (the same System Recovery Options you’ll find on an original Windows Vista disc).
If your computer has the recovery tools pre-installed, follow these steps to access Command Prompt and run bootsect:
- Reboot your computer and press the F8 key as soon as your computer starts to boot
- At Advanced Boot Options, select Repair Your Computer
The Advanced Boot Options screen in Windows Vista
- Press Enter
- Select Command Prompt
Windows Vista System Recovery Options
- Type:
bootsect /nt60 sys
This command will attemtp to repair your Window Vista’s boot sector.
- Press Enter
If you don’t have the Repair your computer option listed at the Advanced Boot Options, you can use Easy Recovery Essentials and launch Command Prompt:
- Download Easy Recovery Essentials
- Burn the ISO Image. Follow our instructions on how to burn a bootable ISO image. If you’d like to have a recovery USB instead, follow our instructions on how to make a recovery USB.
- Boot Easy Recovery Essentials from the CD, DVD or USB
- Select Launch Command Line
Bootsect on Windows 7
If you have the installation disc
Here are the instructions on how to access bootsect on a Windows 7 using the installation disc:
If you don’t have the Windows 7 disc, go to Repair boot sector with Easy Recovery Essentials.
- Insert the installation disc and restart your computer
- Boot from the Windows 7 disc
- Click Repair your computer or press R
Install Now (Windows 7)
- Select the operating system
- Click Next
- Click Command Prompt
Windows 7 System Recovery Options Screen
- Type:
bootsect /nt60 sys
- Press Enter
For more commands and parameters, go to Parameters you can use.
If you don’t have the installation disc
If you don’t have the Windows 7 installation disc, your computer most likely has the recovery tools pre-installed on the hard disk.
To access these, follow these steps:
- Restart the computer
- Press the F8 key as soon as your computer boots, but before the Windows 7 logo appears
- At Advanced Boot Options, select Repair your computer
- Select Command Prompt from System Recovery Options
- Type:
bootsect /nt60 sys
- Press Enter
If you don’t have the recovery tools installed, use Easy Recovery Essentials:
- Download Easy Recovery Essentials
- Burn the ISO Image. Follow our instructions on how to burn a bootable ISO image. If you’d like to have a recovery USB instead, follow our instructions on how to make a recovery USB.
- Boot Easy Recovery Essentials from the CD, DVD or USB
- Select Launch Command Line
Bootsect on Windows 8 or 8.1
If you have the installation DVD or USB of your Windows 8 or 8.1, you can use it to run bootsect.
If you don’t have the Windows 8 media, go to Repair boot sector with Easy Recovery Essentials.
- Insert the installation media and boot from it
- At the Welcome screen, click Repair your computer
Windows 8 Repair Your Computer Menu
- Select Troubleshoot
- Select Command Prompt
- Type:
bootsect /nt60 sys
- Press Enter
Bootsect on Windows 10
If you have the installation DVD or USB of your Windows 10, you can use it to run bootsect.
If you don’t have the Windows 10 media, go to Repair boot sector with Easy Recovery Essentials.
- Insert the installation media and boot from it
- At the Welcome screen, click Repair your computer
- Select Troubleshoot
- Select Command Prompt
- Type:
bootsect /nt60 sys
- Press Enter
Repair boot sector with Easy Recovery Essentials
Easy Recovery Essentials can fix many errors such as this automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7, 8, Windows 10, and Windows 11 and can be downloaded and created on any PC.
- Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7, 8, 10, or Windows 11) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
- Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
- Boot up your PC from the Easy Recovery Essentials CD or USB you created.
- Once EasyRE is running, choose the “Automated Repair” option and click Continue.
Choose “Automated Repair” in Easy Recovery Essentials
- After EasyRE scans your computer’s drives, identify and select the drive letter for your Windows installation from the list, and then click on the Automated Repair button to begin.
Choose the drive associated with the Windows installation you’re trying to repair.
- Easy Recovery Essentials will start analyzing the selected drive for problems. EasyRE will test for and attempt to automatically correct errors with the disk, partition, bootsector, filesystem, bootloader, and registry. No intervention is required, as EasyRE’s repair is fully automated:
Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.
- Once the process is complete, EasyRE will report its findings. Click on the Restart button to reboot your PC and test the changes.
- The “boot sector error” error should now be fixed as your PC begins to load:
You can download Easy Recovery Essentials from here.
Parameters you can use
The bootsect utility has the following parameters you can use:
/nt52
– use nt52
parameter to repair a Windows XP boot sector. The command you need to run would be bootsect /nt52 D:
, where D:
is the drive’s letter
/nt60
– use nt60
to repair the boot sector for Windows Vista, 7 or 8. The full command would be: bootsect /nt60 D:
, where D:
is the drive’s letter
SYS
– the SYS
parameter is used to update the MBR code on the system partition, the partition used to boot Windows.
ALL
– the ALL
parameter is used to update all MBR codes on all partitions. It updates the MBR code only on volumes that can be used to boot Windows.
/force
– you can use the /force
parameter if the targeted partition is being used.
Run the utility with the /force
parameter if you receive this kind of message:
Updated NTFS filesystem bootcode. The update may be unreliable since the volume could not be locked during the update: Access is denied. Bootcode was successfully updated on all targeted volumes.
Use /force with extra caution. Using this parameter can invalidate open files on the selected volume.
Download bootsect
You can download the bootsect.exe file by any of the following options:
- Logging into your Microsoft account
- From the original installation disc
If you need to use bootsect to repair your computer’s boot sector, go to Repair boot sector with Easy Recovery Essentials.
Method #1: Login to your Microsoft account
If you purchased Windows 7 or Windows 8 through Microsoft.com Store, you can login into your account and download a copy of bootsect.exe from there.
To do so, follow these steps:
- Login to your Microsoft Store account
- Go to your purchases
- Click the Additional download options menu
- Select 32-bit ISO
- Right-click on the link and save the bootsect.exe file
Method #2: From the original installation disc
If Method #1 isn’t available to you, use the original installation disc to copy-paste the file:
- Insert the installation disc in the optical tray
- Open My Computer
- Right-click on the optical’s drive
- Click Explore
- Go to the Boot folder
- Find the bootsect.exe file
Troubleshooting
Unable to run bootsect
It’s common to have this error appear when using the Windows 7 USB/DVD Download Tool from Microsoft:
Files copied successfully. However, we were unable to run bootsect to make the USB device bootable. If you need assistance with bootsect, please click the "Online Help" link above for more information.
Follow any of the tips below to fix this error.
Fix #1: Check if USB is already bootable
The error may appear if the USB drive you’re trying to make bootable is already bootable.
Fix #2: Format it as FAT32
If the USB drive already has partitions, you should delete them first before running the Windows 7 USB/DVD Download Tool:
- Insert the USB drive
- Go to Command Prompt
- Type:
diskpart list disk
- Type:
select disk 2
Make sure 2 is the USB Drive!
- Extra-caution on selecting the right drive (the USB Drive). The following diskpart steps will use the clean parameter that will format your USB drive.
- Type:
clean
- Type:
create partition primary
- Type:
select partition 1
- Type:
active
- Type:
format quick fs=fat32
- Type:
assign
- Type:
exit
After you’ve performed these instructions, run Windows 7 USB/DVD Tool again.
More Information
Linked Entries
- bootrec
- diskpart
Support Links
- Easy Recovery Essentials for Windows – our repair and recovery disk.
It’s an easy-to-use and automated diagnostics disk. It’s available for Windows 8, Windows 7 and Windows Vista. It’s also available for Windows XP and Windows Server.
Read more at Windows Recovery Disks.
- The NeoSmart Support Forums, member-to-member technical support and troubleshooting.
- Get a discounted price on replacement setup and installation discs: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10.
Applicable Systems
This Windows-related knowledgebase article applies to the following operating systems:
- Windows XP (all editions)
- Windows Vista (all editions)
- Windows 7 (all editions)
- Windows 8 (all editions)
- Windows 8.1 (all editions)
- Windows 10 (all editions)
Propose an edit
Bootsect.exe, also referred to as the Boot Sector Manipulation Tool, is a crucial part of the Windows Operating System. The main function of Bootsect.exe is to manage the master boot code for hard disk divisions. It can also be utilized to restore the boot sector on the system.
The full form of BootSect is Boot Sector Manipulation Tool.
File Size and Location
Bootsect.exe is classified as a Win64 file type and its accessibility generally varies depending on the system. Bootsect.exe uses up to around 106 KB of space and resides under the C:\Windows\System32\ folder. However, you might find multiple copies (usually 2) in Windows 10 that is located under C:\Windows\WinSxS\ folder.
This is how the original bootsect.exe looks like in Windows 10:
Quick Overview:
File description: | Boot Sector Manipulation Tool |
Filename: | Bootsect.exe |
Type: | Application |
File Version: | 10.0.18362.1 |
Copyright: | Microsoft Corporation |
Size: | 105 KB |
Digital Signature | Microsoft Windows |
Digest Algorithm | sha256 |
Bootsect.exe Functionality
The boot sector of a system is an essential sector of a consistent information repository, such as a hard drive (like hdd or ssd), and it has machine code that gets loaded into RAM. This RAM is then executed by the system’s firmware and it is the boot sector that provides inter-functionality between varied firmware and operating systems.
bootsect.exe is a command-line tool that can be used to make a USB or Pendrive to make it a bootable device.
In short, Boot Sector is used to select which Operating System will be loaded first during the starting up the PC. This Boot Sector is a very crucial part of any Operating System that consists of important information of the hard drive.
Thus, the program bootsect.exe is incredibly important for maintaining the boot sector and is primarily used when the boot code becomes corrupted.
Syntax
There are several syntax that can be used like:
- /help
- /nt52
- /nt60
To run the /help, you will have to first open the command prompt and enter the below code that will list all options:
bootsect /help c:
This is how the bootsect help command line looks like:
Common Parameters
- SYS: This parameter updates the system partition master boot code and on the same system partition that is used to update Windows.
- ALL: This parameter updates all of the system partition’s boot code. But rather than updating all of the partition volumes, only the volumes that can boot Windows are updated, so normally, dynamic volumes that are unconnected to an implicit disk partition are excluded.
- /force: This parameter must be employed cautiously, as it forcibly dismounts volumes during the master code update. It should be noted that bootsect.exe always tries to lock and dismount the volumes before an update, so a forced dismount can result in invalidation on open handles to the destination volumes.
- /mbr: This is used to upgrades the master boot code with an unchanged partition table.
Bootsect.exe Errors
- Bootsect.exe – Application error
It is possible that the program is outdated, or there simply isn’t enough memory for its operation. Delete some simultaneous processes to free up some space.
- Bootsect.exe – Access denied
You may need to alter the permissions of the file, as this error message implies that you don’t have the required permissions to run the program. Another cause could also be that the antivirus software might have restricted access to the bootsect.exe file. Inspect your antivirus’ log.
- Faulting Application Path: bootsect.exe
The file bootsect.exe is missing or corrupt.
For such errors, we have listed below 3 suitable resolutions.
How to Fix Bootsect.exe Errors
The most common disk is unreadable..exe an error that a user can see is the disk is unreadable. Here are few common ways to fix this issue:
Method 1: Uninstall Speakonia (or any connected software)
- Click the Start button and enter ‘Uninstall’ in the search bar.
- Select ‘Add or Remove Programs’ in the search results.
- Find the Speakonia or related entry and select ‘Uninstall’.
- The user must follow any instructional prompts provided by the Uninstall Wizard.
Method 2: Windows Update
- Click the Start button, type ‘Update’ in the search bar, and hit ‘Enter’.
- In the resulting dialog box, select ‘Check for Updates’.
- Select ‘Install Updates’ if there are any existing updates.
- Reboot the system once updated.
Method 3: System Restore
This method should be tried at last if all of the above method not working:
- Click the Start button, type Recovery
- Click on Open System Restore
- The System Restore window will open
- Follow the steps instructed by System Restore Wizard to administer a suitable restore point and restore the system.
Alternatively, you can use the command line for system restore.
Another issue that can arise with executables such as bootsect.exe, is that oftentimes malware can disguise itself by employing the titles of such files, so take care that all of your executables are installed from a safe and reliable source.
How to Download Bootsect.exe?
If you are not able to create a Bootable device then you have to download a fresh copy of bootsect.exe. Make sure to download it only from the official Microsoft website. Here are the steps:
1) Go to https://www.microsoft.com/
2) Choose your Operating system like Windows 7 or 10
3) Verify by entering your product key
4) Now find ‘Additional download options’
5) Now choose ’32-bit ISO’ from the drop-down menu
6) Save it on your system.
В современных версиях Windows информация для запуска операционной системы храните в файле конфигурации загрузки BCD (Boot Configuration Data). В этом файле хранятся данные об установленной Windows и параметрах ее загрузки. Если файл BCD удален или поврежден, Windows перестает загружаться. Также вы не сможете загрузить Windows, если повреждена MBR запись на жестком диске. В этой статье мы покажем, как корректно пересоздать файл хранилища данных конфигурации загрузки BCD и
Master Boot Record
(MBR) на примере Windows 10 и 11.
Содержание:
- Ошибка “The boot configuration data file is missing some required information”
- Автоматическое восстановление конфигурации загрузчика Windows
- Идентификация разметки дисков и букв томов
- Восстановление загрузочного сектора MBR в Windows 10/11
- Пересоздание BCD файла загрузчика Windows 10
Ошибка “The boot configuration data file is missing some required information”
Если файл BCD поврежден, отсутствует, если вы удалили / отформатировали отдельный раздел диска с меткой System Reserved (и размером 500Мб), специальный OEM раздел, то скорее всего при попытке загрузить Windows появится такое сообщение:
Your PC needs to be repaired The Boot Configuration Data file is missing some required information File: \Boot\BCD Error code: 0xc0000034
Также ошибка может выглядеть так:
The Boot Configuration Data for your PC is missing or contain errors. File: \boot\bcd Error Code: 0xc000000f
При повреждении MBR может быть ошибка No operating system found.
Автоматическое восстановление конфигурации загрузчика Windows
При появлении такой ошибки, в первую очередь попробуйте исправить проблему с загрузкой ОС с помощью режима автоматического восстановления (Startup Repair), который можно запустить из среды восстановления Windows RE.
Совет. Желательно периодически проверять работоспособность среды WinRE, и если она не работает, воспользоваться для ее восстановления методикой из статьи Восстановление среды WinRE в Windows.
Если автоматическое восстановление с помощью Startup Repair не помогло решить проблему, вам нужно загрузиться с загрузочного или установочного диска с Windows или в среде WinRe (Repair your computer -> Troubleshoot -> Advanced options -> Command Prompt), запустить командную строку и попробовать полностью пересоздать файл конфигурации загрузчика BCD и обновить MBR запись.
В этом примере я буду использовать установочный диск с Windows 10. Выберите в настройках BIOS первичным загрузочным устройство DVD диск или USB флешку с дистрибутивом Windows (в зависимости от того, с какого устройства вы хотите загрузить компьютер). Загрузитесь с установочного диска и на экране выбора языка установки нажмите сочетание клавиш Shift+F10. Перед вами откроется консоль командной строки.
Попробуйте восстановить BCD файл автоматически, выполнив команду:
bootrec /RebuildBCD
Перезагрузите компьютер и проверьте, загружается ли Windows (не забудьте изменить приоритет загрузочных устройств в BIOS). Если Windows не загружается, еще раз загрузитесь с установочного диска и откройте окно командной строки.
Идентификация разметки дисков и букв томов
Очень важно. Все инструкции, описанные ниже, подходят для обычных компьютеров с BIOS (или загружающихся в режиме UEFI legacy) и MBR таблицей разделов. На компьютерах с UEFI прошивками для пересоздания BCD нужно использовать следующе инструкци: восстановлению EFI загрузчика в Windows 10 или восстановление удаленного EFI раздела в Windows.
Как понять, используется ли у вас BIOS или UEFI система? Проще всего проверить тип таблицы разделов на диске, на котором установлена Windows: GPT или MBR. Для этого выполните команду:
diskpart
Затем выполните:
list disk
- Если у диска в столбце Gpt указана звездочка (*), значит на диске используется таблица разделов GPT. Это значит, что у вас компьютер с UEFI, и для восстановления загрузчика нужно использовать статью по ссылке выше.
- Если в столбце GPT звездочка отсутствует, значит у вас на диске таблица разделов MBR, и вы можете продолжить следовать данной инструкции.
Далее вам нужно идентифицировать локальные диски и разделы системы (скорее всего назначенные им буквы дисков будут отличаться от дисков, которые вы видели при работе в Windows). Проще всего это сделать с помощью утилиты diskpart. Выполните следующие команды:
diskpart
list vol
Перед вами появится список разделов в системе, назначенные им буквы дисков и их размер. В нашем случае к компьютеру подключен 1 жесткий диск, на котором имеются всего два раздела:
- Раздел System Reserved размером 500 Мб, которому назначена буква диска C:. На этом небольшом служебном разделе по-умолчанию хранится файл конфигурации загрузки BCD (подробнее)
- NTFS раздел размером 39 Гб, которому назначена буква D:. На этом разделе находится установленная Windows, программы и данные пользователя.
Важно. Запомните буквы дисков, назначенные разделам. Данные буквы дисков будут использоваться в последующих командах.
Восстановление загрузочного сектора MBR в Windows 10/11
С помощью утилиты bootrec.exe можно перезаписать данные в MBR и загрузочном секторе, поместим в них ссылки на загрузчик Windows (bootloader).
Попробуйте перезаписать основную загрузочную запись (MBR) системного раздела для совместимости с загрузчиком Windows (существующая таблица разделов не перезаписывается).
bootrec.exe /fixmbr
Добавьте в загрузочные секторы диска код для загрузки файла bootmgr ( диспетчера загрузки Windows):
bootsect.exe /nt60 all /force
Прежде, чем идти далее, попробуйте автоматически пересоздать конфигурацию загрузчика BCD командами (это самый простой способ для начинающих):
bootrec /FixBoot
– команда создает новый загрузочный сектор на системном разделе (перезаписывает загрузочную запись раздела PBR).
bootrec /ScanOs
– просканировать диски и найти установленные копии Window, которых нет в хранилище конфигурации загрузки
В случае успешного сканирования появится запрос на добавление записей о найденный Windows в BCD:
Scanning all disks for Windows installations. Please wait, since this may take a while... Successfully scanned Windows installations. Total identified Windows installations: 1 [1] D:\Windows Add installation to boot list? Yes/No/All:
bootrec /RebuildBcd
– пересоздать хранилище конфигурации загрузкика, добавить в BCD найденные на компьютере копии Windows/
После этого перезагрузите компьютер и проверьте загрузку Windows. Если ОС не загружается, следуйте инструкции.
Если команда bootsect.exe не найдена, попробуйте указать полный путь к ней:
X:\boot\bootsect.exe /nt60 all /force
Пересоздание BCD файла загрузчика Windows 10
Далее с помощью команды BCDedit нужно создать новый файл с конфигурацией загрузчика (предполагается, что у вас нет резервной копии BCD).
Ваши дальнейшие действия зависят от того, есть ли на диске отдельный раздел System Reserved или нет. В командной строке выполните:
diskpart
list vol
Проверьте, есть ли на диске компьютера системный раздел System Reserved. Его можно идентифицировать по метке тома, либо более точнее по размеру (500 Мб для Windows 10+, 350 Мб для Windows 8.1 и 100 Мб для Windows 7).
- Если раздела нет (вы случайно удалили его), можно хранить конфигурацию загрузчика BCD на основном диске, где находится каталог Windows. Чтобы создать конфигурационные файл загрузчика BCD и Bootmgr на указанном диске, выполните команду:
bcdboot C:\Windows /S C:
Должно появится сообщение
Boot files successfully created
. - Если раздел System Reserved у вас имеется, удалите старый (поврежденный) файл BCD и создайте вместо него новый:
del c:\boot\bcd
Если разделу System Reserved не назначена буква диска (по-умолчанию), вы можете сами назначить ее с помощью diskpart.
Запустите:
diskpart
Выберите диск (в моем случае в компьютере имеется всего один жесткий диск, а вы можете вывести список дисков командой list disk):
select disk 0
На скриншота выше видно, что раздел с меткой System Reserverd называется Volume 1. Выберите его:
select volume 1
Назначьте букву диска (я назначил букву C:, но вы можете использовать любую другую букву, в этом случае измените путь в следующих командах):
assign letter C:
exit
Создайте временный пустой файл bcd.tmp:
bcdedit /createstore c:\boot\bcd.tmp
Создайте запись для диспетчера загрузки bootmgr:
bcdedit.exe /store c:\boot\bcd.tmp /create {bootmgr} /d "Windows Boot Manager"
Импортируйте в BCD настройки из файла bcd.tmp:
bcdedit.exe /import c:\boot\bcd.tmp
Если команда bcdedit возвращает ошибку (
Ошибка создания хранилища. Отказано в доступе, access denied
) при доступе к файлу BCD, попробуйте снять с него атрибуты скрытый, read-only и системный:
attrib C:\Boot\BCD -s -h -r
Укажите, что загрузчик находится на служебном разделе System Reserved (ему назначена буква диска C: )
bcdedit.exe /set {bootmgr} device partition=c:
Настройте время ожидания при выборе ОС:
bcdedit.exe /timeout 10
Удалите временный файл:
del c:\boot\bcd.tmp
Итак, вы создали пустой BCD файл с параметрами загрузчика. Теперь в него нужно добавить записи об установленных на диске Windows .
Создайте в хранилище BCD новую запись для Windows 10:
bcdedit.exe /create /d "Windows 10" /application osloader
Команда должна вернуть уникальный идентификатор (GUID) данной записи загрузчика:
The entry {8a7f03d0-5338-11e7-b495-c7fffbb9ccfs} was successfully created.
Укажем, что bootmgr должен использовать данную запись по-умолчанию (после истечения времени ожидания при выборе ОС, для загрузки будет используется именно эта запись).
bcdedit /default {8a7f03d0-5338-11e7-b495-c7fffbb9ccfs}
Теперь в новой записи загрузчика осталось указать пути к имеющейся на диске установленной копии Windows 10. Ранее мы определили, что в среде WinPE диску с установленной Windows присвоена буква D:. Используйте эту букву диска в следующих командах:
bcdedit.exe /set {default}device partition=d:
bcdedit.exe /set {default} osdevice partition=d:
bcdedit.exe /set {default} path \Windows\system32\winload.exe
bcdedit.exe /set {default} systemroot \Windows
Осталось сделать данную загрузочную запись в BCD видимой (по умолчанию она скрыта):
bcdedit.exe /displayorder {default} /addlast
Итак, мы полностью пересоздали загрузчик Windows 10 (обновили файл BCD и перезаписали загрузочный сектор MBR).
Теперь нужно сделать раздел, на котором находится файл BCD с конфигурацией загрузчика активным (BIOS передает управлению загрузчику ОС с активным MBR раздел). Допустим, разделы на вашем диске распределены так.
- Volume 0 – загрузочная/установочная флешка (ISO образ) диск, с которого вы загрузили компьютер
- Volume 1 – раздел System Reserved с BCD загрузчиком (размер 500 Мб)
- Volume 2 – раздел с файлами Windows (здесь находятся каталог Windows, Program Files, Users и т.д.)
В этом примере нужно сделать активным раздел Volume 1 (в вашем случае определите номер раздела самостоятельно). Сделать раздел активным можно с помощью diskpart:
diskpart
list disk
sel disk 0
list vol
select volume 1
(файлы bootmgr и «\Boot\BCD» находятся на этом разделе)
active
exit
Проверьте, что раздел volume 1 теперь активный:
select vol 1
detail partition
Все верно (
Active: Yes
).
Теперь вы можете перезагрузить компьютер и убедится, что Windows загружается в штатном режиме.