Bootsect exe windows 10

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.

  1. Insert the Windows Vista CD/DVD and restart your computer
  2. Boot from the CD/DVD. Press any key when presented with the “Press any key” screen to boot from the disc.
  3. Click Repair your computer

    Windows Vista Repair Your Computer Menu

  4. Select your operating system, click Next
  5. Click Command Prompt at System Recovery Options

    Windows Vista System Recovery Options

  6. Type:
    bootsect /nt60 sys

    This command will update your Windows Vista’s boot sector.

  7. 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:

  1. Reboot your computer and press the F8 key as soon as your computer starts to boot
  2. At Advanced Boot Options, select Repair Your Computer

    The Advanced Boot Options screen in Windows Vista

    The Advanced Boot Options screen in Windows Vista

  3. Press Enter
  4. Select Command Prompt

    Windows Vista System Recovery Options

  5. Type:
    bootsect /nt60 sys

    This command will attemtp to repair your Window Vista’s boot sector.

  6. 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:

  1. Download Easy Recovery Essentials
  2. 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.
  3. Boot Easy Recovery Essentials from the CD, DVD or USB
  4. Select Launch Command Line
    Easy Recovery Essentials screenshot

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.

    1. Insert the installation disc and restart your computer
    2. Boot from the Windows 7 disc
    3. Click Repair your computer or press R

Windows 7 setup Install Now dialog, with repair your computer link

Install Now (Windows 7)

  1. Select the operating system
  2. Click Next
  3. Click Command Prompt

    Windows 7 System Recovery Options Screen

    Windows 7 System Recovery Options Screen

  4. Type:
    bootsect /nt60 sys
  5. 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:

  1. Restart the computer
  2. Press the F8 key as soon as your computer boots, but before the Windows 7 logo appears
  3. At Advanced Boot Options, select Repair your computer
  4. Select Command Prompt from System Recovery Options
  5. Type:
    bootsect /nt60 sys
  6. Press Enter

If you don’t have the recovery tools installed, use Easy Recovery Essentials:

  1. Download Easy Recovery Essentials
  2. 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.
  3. Boot Easy Recovery Essentials from the CD, DVD or USB
  4. Select Launch Command Line
    Easy Recovery Essentials Screenshot

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.

  1. Insert the installation media and boot from it
  2. At the Welcome screen, click Repair your computer

    Windows 8 Repair Your Computer Menu

    Windows 8 Repair Your Computer Menu

  3. Select Troubleshoot
  4. Select Command Prompt
  5. Type:
    bootsect /nt60 sys
  6. 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.

  1. Insert the installation media and boot from it
  2. At the Welcome screen, click Repair your computer
    Windows 10 Setup screen

  3. Select Troubleshoot
  4. Select Command Prompt
  5. Type:
    bootsect /nt60 sys
  6. 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.

  1. 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.
  2. 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.
  3. Boot up your PC from the Easy Recovery Essentials CD or USB you created.
  4. Once EasyRE is running, choose the “Automated Repair” option and click Continue.

    EasyRE Home

    Choose “Automated Repair” in Easy Recovery Essentials

  5. 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.

    EasyRE displays a list of found Windows operating systems

    Choose the drive associated with the Windows installation you’re trying to repair.

  6. 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:

    EasyRE: Automated Repair

    Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.

  7. Once the process is complete, EasyRE will report its findings. Click on the Restart button to reboot your PC and test the changes.
  8. The “boot sector error” error should now be fixed as your PC begins to load:
    EasyRE: Automated Repair

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:

  1. Login to your Microsoft Store account
  2. Go to your purchases
  3. Click the Additional download options menu
  4. Select 32-bit ISO
  5. 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:

  1. Insert the installation disc in the optical tray
  2. Open My Computer
  3. Right-click on the optical’s drive
  4. Click Explore
  5. Go to the Boot folder
  6. 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:

  1. Insert the USB drive
  2. Go to Command Prompt
  3. Type:
    diskpart
    list disk
  4. Type:
    select disk 2

    Make sure 2 is the USB Drive!

  5. 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.
  6. Type:
    clean
  7. Type:
    create partition primary
  8. Type:
    select partition 1
  9. Type:
    active
  10. Type:
    format quick fs=fat32
  11. Type:
    assign
  12. 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:

bootsect.exe file location

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:

bootsect command line options

Common Parameters

  1. SYS: This parameter updates the system partition master boot code and on the same system partition that is used to update Windows.
  2. 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.
  3. /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.
  4. /mbr: This is used to upgrades the master boot code with an unchanged partition table.

Bootsect.exe Errors

  1.   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.

  1.   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.

  1.   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)

  1. Click the Start button and enter ‘Uninstall’ in the search bar.
  2. Select ‘Add or Remove Programs’ in the search results.
  3. Find the Speakonia or related entry and select ‘Uninstall’.
  4.  The user must follow any instructional prompts provided by the Uninstall Wizard.

Method 2: Windows Update

  1. Click the Start button, type ‘Update’ in the search bar, and hit ‘Enter’.
  2. In the resulting dialog box, select ‘Check for Updates’.
  3. Select ‘Install Updates’ if there are any existing updates.
  4. Reboot the system once updated.

Method 3: System Restore

This method should be tried at last if all of the above method not working:

  1. Click the Start button, type Recovery

  2. Click on Open System Restore
  3. The System Restore window will open
  4. 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 file is missing some required information

Также ошибка может выглядеть так:

The Boot Configuration Data for your PC is missing or contain errors.
File: \boot\bcd
Error Code: 0xc000000f

При повреждении MBR может быть ошибка No operating system found.

ошибка 0xc000000f отсутсвует файл boot\bcd при загрузке Windows 10bcd-

Автоматическое восстановление конфигурации загрузчика Windows

При появлении такой ошибки, в первую очередь попробуйте исправить проблему с загрузкой ОС с помощью режима автоматического восстановления (Startup Repair), который можно запустить из среды восстановления Windows RE.

Совет. Желательно периодически проверять работоспособность среды WinRE, и если она не работает, воспользоваться для ее восстановления методикой из статьи Восстановление среды WinRE в Windows.

Если автоматическое восстановление с помощью Startup Repair не помогло решить проблему, вам нужно загрузиться с загрузочного или установочного диска с Windows или в среде WinRe (Repair your computer -> Troubleshoot -> Advanced options -> Command Prompt), запустить командную строку и попробовать полностью пересоздать файл конфигурации загрузчика BCD и обновить MBR запись.

Advanced options - data-lazy-src=

В этом примере я буду использовать установочный диск с 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, и вы можете продолжить следовать данной инструкции.

проверить тип разметки диска gpt или mbr

Далее вам нужно идентифицировать локальные диски и разделы системы (скорее всего назначенные им буквы дисков будут отличаться от дисков, которые вы видели при работе в Windows). Проще всего это сделать с помощью утилиты diskpart. Выполните следующие команды:

diskpart
list vol

diskpart: list volumes

Перед вами появится список разделов в системе, назначенные им буквы дисков и их размер. В нашем случае к компьютеру подключен 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

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).

проверить есть ли раздел system reserved в Windows

  • Если раздела нет (вы случайно удалили его), можно хранить конфигурацию загрузчика 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

bcdedit.exe /set {bootmgr} device partition=c:

Итак, вы создали пустой BCD файл с параметрами загрузчика. Теперь в него нужно добавить записи об установленных на диске Windows .
Создайте в хранилище BCD новую запись для Windows 10:
bcdedit.exe /create /d "Windows 10" /application osloader

Команда должна вернуть уникальный идентификатор (GUID) данной записи загрузчика:

The entry {8a7f03d0-5338-11e7-b495-c7fffbb9ccfs} was successfully created.

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

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 и т.д.)

diskpart список разделов на диске

В этом примере нужно сделать активным раздел 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
).

diskpart сделать раздел активным active:yes

Теперь вы можете перезагрузить компьютер и убедится, что Windows загружается в штатном режиме.

The bootsect.exe utility is used to update the partition bootsector code responsible for loading and running the bootloader. Depending on the circumstances, the utility can also be used to update the master boot record code of a hard disk partition without editing the partition table. The Bootsect.exe utility is available in Windows XP, Vista, 7, 8, 8.1 and 10.

This utility is mostly used when the volume boot code (residing on the Windows drive) has become corrupt or was accidentally programmed to make use of the wrong boot manager. This will trigger a whole array of system-halting errors known as hal.dll errors in Windows  Vista, 7, 8, and 10.

Note: Bootsect.exe is also used to Boot Configuration Data File is Missing error or to create a bootable USB drive.

Luckily, the bootsect.exe utility is very efficient when it comes to correcting volume boot code errors. However, this boot sector restore tool is only available via Command Prompt – accessible from Advanced Startup Options or System Recovery Options (depending on your Windows version).

Below you have a collection of step by step guides on accessing the Bootsect utility. Keep in mind that the exact steps of running bootsect.exe will be different, depending on your Windows version. Please follow the guide appropriate to your Windows version.

How to Use the Bootsect Utility on Windows 7

There are two different ways of accessing Bootsect on Windows 7. The ideal way would be to use an installation media. However, if your computer has the System Recovery Options pre-installed, you might be able to run the Bootsect utility without the installation media.

If you have your Windows installation media, follow the guide directly below (Method 1) to run bootsect.exe. In the event that you don’t have the installation media, follow the second guide (Method 2) to access the Bootsect utility.

Method 1: Accessing Bootsect using the installation media on Windows 7

  1. Insert your Windows media disk or bootable flash drive to boot from it. If your system doesn’t automatically boot from the newly inserted media, you might need to access your BIOS/UEFI settings and change the boot sequence order.
  2. At the first Install Windows screen hit Next, then click on Repair your computer. You can also press the R key for the same result.

  3. Select Use recovery tools that can help you fix problems starting Windows. Then, make sure Windows 7 is selected and hit Next.

    Note: You’ll only see two entries under Operating System if you dual boot your computer.

  4. In the System Recovery Options, click on Command Prompt.

  5. Type the following command into Command prompt and press Enter to run the Bootsect utility:
    bootsect /nt60 sys

    Note: The bootsect /nt60 sys command is used for the newer BOOTMGR present on Windows Vista, 7, 8 and 10. For older Windows version, the bootsect /nt52 sys command is used instead.

  6. If you see the message “Bootcode was successfully updated on all targeted volumes”, the volume boot code used by BOOTMGR should now be updated.
    Note: If you receive an error after inserting the command, try running bootsect /nt60 allThis command will solve most permission related issues. But keep in mind that if you have a dual-boot setup, the other OS will also be affected.
  7. Close Command Prompt and remove the installation media. Then, click the Restart button from the System Recovery Options. After the restart, Windows should boot normally.

Method 2: Accessing Bootsect without the installation media on Windows 7

If you don’t have the Windows installation media, you have a couple of ways forward. You can either create a Windows installation media and follow the guide above or access the pre-installed recovery tools on the hard disk.

In the event that you decide to create your own installation media, you can follow our complete guide to creating a Windows 7 bootable DVD or USB drive. Then, backtrack to the guide directly above and use it to run the Bootsect utility.

Else, follow the steps below to access the pre-installed recovery tools. But keep in mind that not all computers come with recovery tools pre-installed. If the steps below don’t work, you have little choice but to create a Windows installation media.

  1. Start/restart your computer. As soon as your computer boots up press the F8 key repeatedly to open the Advanced Boot Options.
  2. In Advanced Boot Options, use your arrow keys to highlight Repair Your Computer and hit Enter.

  3. The System Recovery Options should pop-up shortly. Select Command Prompt from the list.

  4. Type the following command into Command prompt and press Enter to run the Bootsect utility:
    bootsect /nt60 sys

    Note: The bootsect /nt60 sys command is used for the newer BOOTMGR present on Windows Vista, 7, 8 and 10. For older Windows version, the bootsect /nt52 sys command is used instead.

  5. If you see the message “Bootcode was successfully updated on all targeted volumes”, the volume boot code used by BOOTMGR should now be updated.
    Note: If you receive an error after inserting the command, try running bootsect /nt60 all. This is known to solve several permission related issues. But keep in mind that if you have a dual-boot setup, the other OS will also be affected.
  6. Close Command Prompt and click the Restart button from the System Recovery Options. After the restart, Windows should boot normally.

How to Use the Bootsect Utility on Windows 8.1 and 10

Similar to the procedure on Windows 7, you can run the Bootsect utility in several different ways on Windows 8 and Windows 10. The easiest method will be to use the Windows installation media. However, there are several different other methods that you can use to access the bootsect.exe utility if you don’t have the installation media.

If you own a Windows 10 installation media, follow Method 3 to run the bootsect utility. In the event that you can’t use the installation media, follow Method 4 to explore different possibilities of running bootsect.exe.

Method 3: Running Bootsect using the installation media on Windows 8.1 and 10

  1. Insert the installation media and make sure your computer boots from it.
    Note: If you’re unable to boot from the installation DVD/USB, access your BIOS/UEFI settings and change the boot sequence.
  2. In the Windows Setup screen, click Next, then click on Repair your computer.

  3. At the following screen, click on Troubleshoot to access the Advanced options.

  4. Under Advanced options, click on Command Prompt.

  5. Type the following command into Command prompt and press Enter to run the Bootsect utility:
    bootsect /nt60 sys

    Note: If you encounter an error after hitting Enter, try running the bootsect /nt60 all. But keep in mind that this will also update the boot code from the other OS if you have a dual boot setup.

  6. If you see the message “Bootcode was successfully updated on all targeted volumes”, you can safely close Command Prompt, remove the installation media and click on Turn off your PC. The volume boot code is now updated.

Method 4: Running Bootsect without the installation media on Windows 8.1 and 10

If you don’t have the installation media for Windows 8 or Windows 10, you can make use of several workarounds to gain access to the Advanced Startup menu and run the bootsect.exe utility:

  • Follow this guide (here) to create a bootable USB drive for Windows 10 with Rufus, then follow Method 3.
  • Force two (or three) consecutive failed attempts to start Windows. You can do this by shutting down your machine while it’s in the middle of booting up. This is by no means elegant, but it will force Windows to automatically start the Advanced Startup menu when booting up.
  • If your computer is able to boot up successfully, you can force Windows 8 or Windows 10 to automatically restart into Advanced Startup. To do this, open a Run window (Windows key + R), type “ms-settings:” and hit Enter. In the Settings menu, select the Recovery tab, scroll down to Advanced Startup and click on Restart now.

If you followed one of the instructions above, you should find yourself in the Advanced Startup menu. Once there, follow the instructions below:

  1. Click on Troubleshoot to access the Advanced options.

  2. Under Advanced options, click on Command Prompt.

  3. Type the following command into Command prompt and press Enter to run the Bootsect utility:
    bootsect /nt60 sys

    Note: If you encounter an error after hitting Enter, try running the bootsect /nt60 all. But keep in mind that this will also update the boot code from the other OS if you have a dual boot setup.

  4. If you see the message “Bootcode was successfully updated on all targeted volumes”, you can safely close Command Prompt and click on Turn off your PC. The volume boot code is now updated.

Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Bootsect.exe is the executable file within Windows that runs the Boot Sector Manipulation Tool. This is an important program which helps restore corrupted Windows installs.

bootsect.exe explored

Like some other executables on this site, you can’t start this program by finding it in Windows and clicking on it. It is a recovery program and is most often launched from a Windows Recovery CD.

You can find bootsect.exe in Windows but clicking it won’t execute the program. This file is meant to be used as a command line utility, and if you find that confusing, you aren’t alone.

The command line is a special way of running programs that is generally used by advanced computer users and technicians. Because of this, it is very difficult to run bootsect improperly, and it is harmless to the average user.

This program is designed to repair something called the Boot Sector. This is a special part of the computer’s hard drive that has permanent instructions for the computer to follow when starting up. If these instructions are missing or corrupted, your computer won’t be able to run Windows and may “loop,” wherein it tries to start over and over again.

Generally, most users use the Windows Recovery software included with their computer to correct this. The Windows Recovery software suite can scan for a corrupted Boot Sector and execute bootsect.exe automatically to repair it.

If you send your computer to a technician for repair, they may use the command-line option mentioned above to make repairs while bypassing the Windows Recovery environment.

More details below:


Common Bootsect.exe errors

The following are common errors with Bootsect.exe:

  • Bootsect.exe – Bad Image.
  • Bootsect.exe is not running.
  • Bootsect.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
  • Cannot find Bootsect.exe
  • Error starting program: Bootsect.exe
  • Bootsect.exe could not be found.
  • Bootsect.exe could not be installed.
  • Bootsect.exe could not be launched. Class not registered.
  • Faulting Application Path: Bootsect.exe
  • Bootsect.exe Application Error.
  • This file is missing or corrupt: Bootsect.exe
  • Bootsect.exe could not be started.
  • Bootsect.exe is not a valid Win32 application.
  • Bootsect.exe failed to initialize properly.
  • Windows failed to start

These errors are usually caused by:

  • Issues with the host
  • A recent Windows update which may cause the program to search in the wrong file location and so could not be found
  • An out of date Windows system32 file
  • Applications being loaded on an old machine
  • Too many programs being opened on a PC

How To Fix Bootsect.exe Errors

The safest way to fix these errors is to reinstall the related application. This should reinstall the latest Exe files and fix any issues.

You may wish to uninstall the previous version first too – to be downloading to a ‘clean’ PC. An alternative is to download the missing file from the vendor – although this is very technical and should only be done by a developer.

The other common fix, which we do not recommend, is to use one of the many download sites. Adding the file may not fix the problem as Exe errors are often more complex than a missing file (even if that’s the immediate error that is flagged).

In addition the files on these sites are often out of date, or even contain viruses, which could also cause problems.

Therefore, we recommend reinstalling the application using the offending exe file to fix any error.


How Can You Tell if Bootsect.exe Is Legit or a Virus?

The file is usually legitimate – it’s an important part of a reputable piece of software – but there are occasions where this may not be the case.

In particular malware writers and hackers sometimes give their virus the name as a legitimate file to fool you.

Here then are a few tips to ensure your version of Bootsect.exe is not malware.

Check the Location of the File

Spyware and malware are often smuggled in odd locations. This contrasts sharply with good executable files that fit neatly in places that make sense.

Here’s how you find the file’s location:

How To Check A File’s Location

a. Press ctrl-alt-del

b. Click on the ‘Processes Tab’ :

c. Highlight the Bootsect.exe file as above

d. Right click and click ‘Properties’ to get the following screen:

Bootsect.exe

e. Note the location (circled)

If the file is in C:\Windows\System32 or a relevant ‘Program Files’ folder then it is probably legitimate.

Check the Signature Verification

Checking the File Signature Verification is one of the smartest tricks we have to spot the wicked malware. It’s also a piece of cake, and takes a few minutes to do. Here’s how it works.

  • Step 1: Run the Microsoft Process Explorer. It doesn’t need setting up or anything, just click on it, and it’s ready for action.
  • Step 2: Go to ‘Options’
  • Step 3: Select ‘Check legends’
  • Step 4: Go to ‘View’
  • Step 5: Click on ‘Columns’
  • Step 6: Add ‘Verified Signer’
  • Step 7: Look at the description of the process in that new column
  • Step 8: If it says ‘Unable to Verify’, then there’s a high possibility that this process is part of a malware intrusion. But bear in mind that it could also be an unverifiable legit process from Windows. This happens from time to time. 

Check the Size of the Bootsect.exe File

The size of a file can also be a neat indicator of whether or not it’s authentic.

You can check the table above to find out how larger Bootsect.exe should be (although the version you have may differ slightly).

Then check the size of the file of concern by going to the task manager, and finding the location of the file. When you right click on it, you’ll get all the data you need.

If you read out a very different value from the above figure, then that’s definitely a reason for concern.

Now let’s have a look at how your remove Bootsect.exe if it is considered malware:


How to Remove Bootsect.exe From Your Computer Automatically

There’s a wide array of cybersecurity programs available for free download. These programs will destroy any malware, malware, or virus on your computer without any required effort on your part.

They also run scans regularly to make sure your device is clean. If it’s not, they’ll alert you to do necessary precautions, such as changing your password or disabling your online banking data. These programs will be able to detect hidden malware much better than you can do, and they’ll be constantly on the watch.

Most anti-malware automatic tools are fairly easy to use. You’ll merely download them and check the steps they require you to do. Afterward, they’ll start working on their own. As long as you don’t turn them off, they’ll keep checking your computer for infections.

There are a bunch of efficient options to choose from. Here are some of the best:

  • Malwarebytes
  • McAfee
  • Norton
  • Cylance
  • Kaspersky
  • Bitdefender
  • BullGuard

How to Remove Bootsect.exe From Your Computer Manually

Aside from the anti-malware tools, you can remove Bootsect.exe by using the old-fashioned manual method. A lot of people prefer it, even though it’s associated with a lot of system risks if done the wrong way. That’s why we advise against it for beginners.

Nevertheless, some anti-malware programs might not be able to trace minor malware. That’s where the manual method shines.

Here, we’ll show you 3 easy steps for removing malware infections from your computer.

Step 1: Run the ‘cmd’ Command

The first thing you’ll do is open the Command Prompt Window. You can do that by pressing the Windows Start button. Afterward, click on ‘Run’. A small window will appear on your screen; write the command ‘cmd’ in its text bar and click OK.

Step 2: Locate the related DLL Files

In this step, you’ll locate the unwanted DLL files on your PC. DLL files contain a bunch of procedures and codes for various Windows programs, and they’re usually the malware’s primary target.

To locate the files, you’ll have to type ‘Regedit’ in the command prompt window once it opens. This will open the Windows Explorer. Regedit is a Windows executable file that lets you view the registry editor. The editor allows you to see all entries and keys present in the registry database.

The next thing to do is locate the DLL files associated with Bootsect.exe and unregister them. You can easily do that by clicking File and choosing Export. Next, save the file in the local disk c:\. This is only a backup step, just in case you need it later.

Afterward, click Edit and choose Find. Type Bootsect.exe and wait until it detects all the unwanted files. You’ll then delete all files related to the malware.

Step 3: Reboot Your Computer

Now, you should be done with the all vital steps of the procedure. The only thing left is rebooting your computer to let it start with a clean slate. If you have an anti-malware tool, this would be the right time to use it. It’ll make sure the Bootsect.exe is 100% gone.


So, Which Malware Removal Method Should I Use?

Although the manual method is effective, there’s a high chance you won’t be able to do it correctly. Deleting the wrong file in the previous step can cause permanent damage to your computer.

Additionally, some malware has resuscitators, which means they’re likely to come back to life after you remove them. So, we advise against using the manual method, unless you’re an expert in these situations. Alternatively, the automatic tools are always available to do your job for you. Most of them are available for free download, too.


How to Protect Your Computer From Bootsect.exe

If you want to steer clear of harmful malware, there are some measures to take. Take a look at these tips; they’ll help you protect your computer as much as you can.

  • Keep your software constantly updated. Outdated systems can be vulnerable for cybercriminals to target.
  • Don’t open any link that gets you curious. Take caution and make sure the link you’re opening is legitimate before diving in.
  • Don’t open illegal links knowingly. This puts you closer to malware risks and lets criminals take advantage of your trust.
  • Malware hits from places you can’t expect. Look out for red flags in links, email messages, and social media profiles.
  • Don’t share risky information, such as banking data, unless you’re absolutely sure your computer is clean of malware.
  • Don’t install pirated versions of Windows. They cost less than original versions, but they’re associated with too many risks.
  • Don’t download anything suspicious. Make sure you’re downloading from a trusted source to avoid getting hit by malware infections.

Now that you know how to remove Bootsect.exe, it should be easy to deal with it. The most vital thing is identifying that it’s present on your computer. Afterward, getting rid of it shouldn’t be that hard.

The malware removal tools will make your life much easier; they’re double as efficient as the manual method. Not to mention that they won’t allow the malware to come back to life.


To Wrap Up

What’s important is that you take caution and steer clear of suspicious links. Free downloads seem tempting, but the end result won’t be worth the hassle.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Установка windows не может быть выполнена в это местоположение ошибка 0x80300024
  • Как сделать калибровку руля на windows 10
  • Как мне установить windows 8
  • Как создать нового пользователя на windows без входа в систему windows
  • Lenovo ideapad 320 drivers windows 10