File boot bcd 0xc000000f windows 10 как исправить

You may encounter the error code 0xc000000f on your system with a blue or black screen. It generally occurs after upgrading Windows OS or installing new device drivers, programs, etc. The error may show up on your screen with different messages, including:

  • Your PC needs to be repaired 0xc000000f Windows 10
  • Windows failed to start 0xc000000f fix without installation disc
  • Error code 0xc000000f: A required device isn’t connected or can’t be accessed
BCD error code 0xc00000f

You may have problem booting your system normally and lose access to its data due to this error. But, fret not! You can easily fix this system error using the methods shared in this blog. But before that, let’s find out the common causes behind this error.

What Causes Error Code 0xc000000f?

There could be multiple reasons which may cause Windows error code 0xc000000f, such as:

  • Damaged Boot Configuration Data (BCD)
  • Corrupted system files
  • Faulty device drivers
  • Corrupted hard drive
  • Malware infection

How to Fix Error Code 0xc000000f?

Now that you’re aware of the reasons, try out the methods to fix the Windows 10 error code 0xc000000f. The methods include:

  1. Remove Peripheral hardware
  2. Perform Startup Repair
  3. Use Bootrec.exe in the Windows RE
  4. Rebuild BCD
  5. Run CHKDSK command
  6. Reset your PC
  7. Reinstall Windows 10 with Installation Media

Method 1: Remove Peripheral Hardware

Sometimes, faulty peripheral devices may cause problems for your system. You may try removing the connected mouse, USB, printer, CD, webcams, and other external devices from your system and reboot it to check if the problem is sorted. If you’ve any video game controller connected to your system, remove it by unplugging the cables and removing any dongles as well used to connect the controllers.

Note: To perform the following methods, it’s recommended to use a USB installation media created with the Windows media creation tool. It will help you boot into your PC and troubleshoot the error without any interruptions.

Method 2: Perform Startup Repair

If removing the peripheral devices doesn’t help, you may try performing Startup Repair. Use Windows Recovery Environment (RE) to fix the system startup error code 0xc000000f. To perform Startup Repair, follow the given steps:

  • Start your system using the USB installation media.
  • The moment you see the Windows logo on the screen, reboot your PC again.
  • It will interrupt the system’s boot sequence. Repeat the procedure three times and you’d reach the Windows Setup screen.
  • Click Repair your computer.
  • Then click Advanced options on the Automatic Repair screen.
Advance Option in Automatic Repair

  • Next, choose ‘Troubleshoot’ from available options and then click Advanced options again.
Choose Advance Option

  • Now, click Startup Repair from the given options.
click Startup Repair

  • Choose your account and enter the password to perform Startup Repair.
Enter Password to Startup Repair

  • Now, press Continue and follow the instructions given on the screen to complete the process.
  • Reboot your system and check if the error is fixed.

Method 3: Use Bootrec.exe in the Windows RE

If performing Startup Repair doesn’t resolve the problem, use the Bootrec.exe tool in the recovery environment. This tool helps fix damaged MBR, a corrupted Boot Sector, and invalid BCD (Boot Configuration Data) store that may cause Windows error code 0xc000000f. Follow the steps given below:

  • Boot your PC with installation media and press a key when prompted.
  • Click Repair your computer and then go to Advanced options > Troubleshoot > Advanced options > Command Prompt.
choose command prompt

  • Now, type bootrec.exe and hit Enter.
Type bootrac command

  • Let the process end. Finally, close the Command Prompt window and reboot your system.

Method 4: Rebuild BCD

If running Bootrec.exe utility doesn’t help fix the error code 0xc000000f, you can try rebuilding the BCD using the Command Prompt. Follow the given steps:

  • Boot your system using bootable installation media and open the Command Prompt window in the Automatic Repair environment with the above mentioned steps.
  • In the Command Prompt window, type the following commands and hit Enter.

bootrec /fixmbr

bootrec /fixboot

bootrec /rebuildbcd

RebuildBcd

  • Wait until the process is completed. Then, close the window and reboot your system to check if the problem is resolved.

Method 5: Run CHKDSK Command

A faulty or corrupted hard drive may cause the error code 0xc000000f. You can run the CHKDSK command to fix corruption with the media drive. Follow these steps:

  • Boot your system with installation media and open Command Prompt (as discussed above).
  • In the Command Prompt window, type chkdsk f: /f command and press Enter.
Run chkdsk command

  • The process may take a while. Once completed, close the window and restart the PC.

Note: Running the CHKDSK utility fixes the hard drive errors and prevents Windows from reading and storing data from bad sectors. It would make you lose access to the data stored in bad sectors. Don’t worry! You can use a powerful data recovery software to restore data lost after running the CHKDSK command.

Method 6: Reset your PC

You can also try resetting your PC to get rid of the error. This method will help you remove all the problematic apps, programs, device drivers, etc. that may have caused this error. This method also enables you to choose between keeping and deleting your files while resetting your system.

To reset your pc, follow the below steps:

  • Restart your system with installation media and click Repair your computer.
  • Next, click Advanced options > Troubleshoot > Reset your PC.
Reset Your PC

  • On the next prompt, you’ll be prompted with two options – Keep my files and Remove everything.
  • You can choose to keep your files. However, it’s recommended to ‘Remove everything’ to make this process work efficiently.
Remove Everything

  • Next, click ‘Just remove your files’ and then click Next.
Just Remove Your files

  • A warning message will appear about removing everything from your system. Click Next.
  • Now, click Reset when prompted and click Continue to proceed.
Click on Reset

Method 7: Reinstall Windows 10

If the above methods don’t help you troubleshoot the error, you’re left with only one option, i.e., Windows reinstallation. Again, you’ll need the USB installer. It is to be noted that performing a clean install will clean the entire drive partition on which the OS is installed. Hence, we’d recommend you first recover your data and then proceed with the reinstallation process.

To Wrap Up

The Error Code 0xc000000f could appear with a black or blue screen. It can be tricky to deal with this error. But with the right solutions, discussed above, you’d be able to fix it easily. Additionally, this error makes you lose access to your system. You can use an easy-to-use yet powerful data recovery software, such as Stellar Data Recovery Professional to recover data from a non-booting or crashed Windows system.

FAQ

How to convert a USB drive into an installation media?

You need a new USB media (of at least 8 GB) and a 64-bit or 32-bit version of Windows 10 system. After that, you need to download the Windows media creation tool and run it to convert USB into the installation media. Read More

What does FIXMBR mean?

FIXMBR is a command that replaces the details and small executable, reading the partition table to find out where OS is placed.

Do I lose all of my system data due to error code 0xc000000f?

The error 0xc000000f generally occurs after system restart, which means that you won’t be able to boot your system, making the system and its data inaccessible to you.

Can I recover my data from the system affected by a boot-up error?

Yes. You can retrieve your data from a non-bootable, crashed, or BSOD-affected Windows system with the help of a powerful data recovery software, such as Stellar Data Recovery Professional. It is a DIY software that comes with ‘Create Media Recovery’ feature that allows you to create a bootable installation media and use it to restore your data from an unbootable system.

Was this article helpful?

YES0

NO

Если при загрузке компьютера или ноутбука с Windows 10 или Windows 7 вы получаете сообщение об ошибке с кодом состояния 0xc000000f и указанием на файл \Boot\BCD или winload.efi, с большой вероятностью проблема в испорченных файлах конфигурации загрузки (но не всегда) и обычно это сравнительно легко исправить.

В этой инструкции подробно о том, как исправить ошибку 0xc000000f при запуске компьютера или ноутбука, а также о некоторых дополнительных причинах, которыми она может быть вызвана.

  • Исправление ошибки 0xc000000f в Windows 10 и Windows 7
  • Дополнительные причины ошибки
  • Видео инструкция

Исправление ошибки 0xc000000f в Windows 10 и Windows 7

Внимание: прежде чем приступать, учитывайте, что, если вы подключали новые жесткие диски или SSD, в редких случаях — съемные накопители, они могут стать причиной проблемы. Попробуйте отключить их и проверить, сохраняется ли ошибка. В случае HDD и SSD можно попробовать поменять местами новый диск и старый.

Сообщение об ошибке 0xc000000f

В большинстве случаев сообщение об ошибке 0xc000000f на черном или синем экране при запуске Windows 10 и Windows 7 говорит о поврежденных файлах загрузчика или хранилища конфигурации загрузки \Boot\BCD. Исправление проблемы возможно несколькими методами.

  1. Если ошибка возникла в Windows 10, сообщение об ошибке отображается на синем экране, а ниже есть опция для запуска среды восстановления (по клавише F1 или Fn+F1 на некоторых ноутбуках), попробуйте зайти в среду восстановления и использовать пункт «Восстановление при загрузке» — иногда ему удается автоматически исправить ошибку, и следующая перезагрузка пройдет успешно.
  2. В остальных случаях придется прибегнуть к загрузочной флешке с Windows 10 или Windows 7 (возможно, придется создать её на другом компьютере, инструкции на тему — Загрузочная флешка Windows 10, Загрузочная флешка Windows 7). Загрузитесь с такой флешки, а затем нажмите клавиши Shift+F10 (иногда — Shift+Fn+F10), откроется командная строка.
  3. В командной строке введите по порядку команды
    diskpart
    list volume
    exit
  4. В списке разделов обратите внимание на тот раздел, который соответствует вашему диску с системой, которая не запускается. Обычно — это C, но на всякий случай следует проверить, так как иногда при загрузке с флешки буква меняется. В случае, если диск с системой в результате выполнения команды не отображается вообще, обратите внимание на раздел статьи с дополнительными причинами проблемы.
    Узнать букву системного диска

  5. Введите команду
    chkdsk C: /f

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

  6. Введите команду
    sfc /SCANNOW /OFFBOOTDIR=C:\ /OFFWINDIR=C:\Windows

    и дождитесь завершения выполнения (может показаться, что компьютер завис, но это не так). Если вы увидите сообщение о том, что системные файлы были исправлены, пробуем перезагрузку компьютера в обычном режиме.

  7. Введите команду
    bcdboot C:\Windows\
  8. Если вы получите сообщение «Файлы загрузки успешно созданы», закройте командную строку, извлеките загрузочную флешку и перезагрузите компьютер.
    Исправить BCD

Как правило, после этого система загружается успешно (внимание: в Windows 10 при первой перезагрузке может появиться ошибка, но повторная перезагрузка срабатывает) и каких-либо проблем не возникает. Однако, если это не помогло, обратите внимание на более подробные инструкции, а также на видео ниже, где показаны некоторые дополнительные возможности исправления ошибки для Windows 10:

  • Восстановление загрузчика Windows 10
  • Восстановление загрузчика Windows 7

Дополнительные причины ошибки

Некоторые дополнительные нюансы, которые могут оказаться полезными при решении рассматриваемой проблемы, также на эти причины следует обратить внимание, когда ошибке 0xc000000f сопутствует сообщение «Требуемое устройство не подключено или недоступно»:

  • Иногда случается, что ошибка 0xc000000f появляется спонтанно и так же сама исчезает. Если это происходит в Windows 10, попробуйте отключить быстрый запуск Windows 10.
  • Случается, что ошибка вызвана плохим подключением SSD или HDD или неисправным кабелем SATA. Попробуйте переподключить накопитель, использовать другой кабель. Иногда причиной оказываются проблемы с оперативной памятью — попробуйте отключить любой разгон памяти, оставить только одну планку памяти и проверить, исправит ли это ошибку.
  • В редких случаях проблема может крыться в проблемах с питанием. В случае, если есть подозрения на таковые (например, компьютер не всегда включается с первого раза, неправильно выключается), возможно, дело именно в этом.

Видео

Надеюсь, один из предложенных способов поможет решить проблему. Если исправить ошибку не получается, опишите детально ситуацию в комментариях ниже, я постараюсь помочь.

The 0xc000000f error on Windows 10 directly specifies that nothing is alright with BCD (Boot configuration data). When the data gets corrupt the operating system finds it difficult to read and execute the startup operation. Faulty hard drive moreover Malfunctioning Windows 10 installation are the prime factors that might lead to this problem. You can easily fix 0xc000000f stop code in Windows 10 using a variety of workarounds but before that, let’s have a look at other possible causes which produce this issue.

Why do I get Error Code 0xc000000f in Windows 10?

The error is really annoying to deal with but hitting the actual culprit could easily bring in the results the fastest as compared to moving the other way. Your Operating System may not read up the Configuration data due to the following factors:

  • PC holds a damaged or malfunctioning hardware.
  • System files Corrupt due to erroneous shutdown or/and power off problems.
  • Hard disk is Defective, as after an unexpected system power off.
  • Malware or viruses has spoiled the boot sector or the overall configuration data

The following reasons prevent Windows from loading thus you have to face this unwanted error.

If you are reading this, you most possibly have faced this error recently furthermore seeking solutions to fix it. Well here, we have listed all the important methods, just buckle up and enjoy the ride.

How to fix BCD Error Code 0xc000000f in Windows 10?

There are a number of ways to fix this Windows Boot Manager (Bootmgr) error in Windows 10 because the solutions may vary on the basis of the reason. You are therefore advised to use every process, one by one until the system gets good to work with. Besides, the solution would help to know the actual cause behind the error which is otherwise very confusing to figure out.

Also, although the methods discussed below are very effective for Windows 10, some of them are very easy-going for other Windows operating systems as well.

So here are those solutions.

Method 1 – Repair your System Errors using the Original Installation Media

From Method 1, we mean the first thing that you should do to fix any error. It involves getting the original media used to install the Windows 10 OS on PC. This can be a CD or a USB flash drive. You need to attempt for fixing all the installation errors taking place with the drive. In case, you don’t occupy the installation source data, easily create one as follows.

How to create a Windows 10 installation media first?

Take an additional PC and go to the well, here are the steps for the same.

Step 1 – Download the “Windows 10 Media Creation tool” first from the authorized web page.

Step 2 – Run the file (after a successful download) then click Yes to move through the UAC Warning message. Select any Edition, language, moreover Architecture since here, you are not progressing to install Windows 10 actually. Choose Next.

Step 3 – Select the USB drive from the list (ensure it is encased to the laptop port) then select Next. Wait for the process and carefully follow the instructions until the completion.

This will create a Windows 10 installation media so now  Connect it to the desired computer (facing the BCD Error Code 0xc000000f) while it is turned off.

Once you have done this, follow the steps given below:

Step 1 – “Turn off” your machine that shows BCD error code 0xc000000f in Windows 10 then insert the previously created USB/DVD. Boot up the PC moreover navigate to the system BIOS by pressing F2 or another working key (multiple times).

Step 2 – Select the “Boot Order” then choose the DVD/USB as the “First Boot Device” (proceed up, down by applying arrow keys). Press F10 (or suggested key) to implement the modifications and Restart the PC.

Now, the system will use the set bootable media to repair all the errors like error code 0xc000000f in Windows 10 through an automatic process.

Note: This method is very effective because the system uses “booting configuration data” of the media which is listed at the top of the BIOS screen. So setting the original installation media to be the topmost in the order does all the required changes.

Method 2 – Use the bootrec.exe Tool

Bootrec.exe is a tool which is helpful in regenerating the Boot Configuration Data (BCD) and comes as default in Windows 10.

Note – The process also requires the original Windows 10 Installation USB/DVD. Follow the steps discussed in Method 1 to create your own Windows 10 Installation media.

Now, with a view to fix Error Code 0xc000000f in Windows 10 using the bootrec.exe tool, pursue the following steps:

Step 1 – Restart the system moreover opt for the bootable USB/DVD to proceed ahead. A prompt asks for Press Any Key so do exactly same. Follow the wizard to set the things like language, time, currency furthermore keyboard. Click Next.

Step 2 – Progress to the left part of Windows Setup wizard then choose “Repair your computer“ option.

Step 3 – Now, amidst a bunch of options, click Troubleshoot and then Advanced Options from the list. Advancing towards next step, click “Command Prompt” from the list of 6 items under “Advanced options”.

You’ll be taken to the Command Prompt (Choose the account you have logged in with into the system then enter the credential).

Step 4 – Now type: Bootrec.exe in the prompt furthermore hit “Enter”.

This action will start rebuilding your Boot Configuration data, and in the end, the system will be OK.

What if this fails?

If for some reason, the BCD fails to respond, delete the existing BCD moreover, rebuild it again. The whole process gives PC a new configuration data for a normal boot. Hence, use the following commands step by step into the “command prompt”. Don’t forget to press “Enter” key after you copy-paste or write an individual command line.

Bootrec \fixmbr

bcdedit /export c:\bcdbackup

attrib c:\boot\bcd -h -r -s

ren c: \boot\bcd bcd.old

bootrec /rebuildBcd

This will definitely fix the configuration data and thus, the BCD Error Code 0xc000000f in Windows 10 will disappear.

Still, no change takes place then install the Windows 10 again using the same bootable “USB/DVD”. There won’t be any case for the error then.

Method 3 – Repair the Existing BCD

This method involves un-hiding the real BCD file and its partition to repair its faults or to create a new one real quick.

Prerequisites/Requirements

To move forward with the process, you must contain a “bootable Windows 10 installation USB/DVD” (already discussed in Method 1) formatted with a “FAT32” file system. This is performed to ensure that the UEFI based system recognizes the bootable device which is not so in case of NTFS formatted USBs.

Follow the steps to complete this process:

Step 1 – Power on the PC (after connecting the installation media you have just created) then tap the appropriate key frequently to Boot from another device.

The key may vary depending on the model and manufacturer such as F8, F9, Esc, Arrow.

Step 2 – At the “Boot device selection” screen, select your USB.

Now, while you are on the Installation screen, Squeeze and hold the Shift key to open Command Prompt.

Step 3 – Once the command prompt comes to view on the computer screen, type diskpart then hit Enter.

Step 4 – Subsequently write, list disk then Press Enter. This displays you a list that includes all the connected disks.

Step 5 – Put down sel disk 0 furthermore hit “Enter” to choose a disk with Windows 10.

Step 6 – Finally, copy-paste or write list vol then press Enter to check all volumes.

You’ll need to identify 2 volumes here namely, EFI and the one which includes the Windows installation setup.

How to Identify Volumes?

The EFI volume enlists FAT32 in the Fs column. It has 100MB moreover System is found under the Info section. Note down or remember FAT32 Volume number.

— The Windows partition on the other hand, displays C in “Ltr” and Boot in “Info” column. Note down Ltr to recognize it later.

Step 7 – Proceeding to next, you need to “assign a letter” to the EFI volume. For this, type,             select Volume 1 (supposing that the first volume is EFI Volume) then Enter.

Step 8 – Now write, assign letter P moreover press Enter. Next, type exit then Enter.

Step 9 – typewrite: cd/d P:\efi\microsoft\boot\ furthermore press Enter. Now inscribe bootrec /fixboot then Enter to generate a new boot sector.

Step 10 – Put down ren BCD BCD .bak and Enter to render useless and old BCD files which may be corrupt and allow us to create a new BCD file.

Step 11 – Write: bcdboot C:\Windows /l en-us /s k: /f ALL together with pressing Enter. Here, presume that C is the drive Ltr for volume on which the windows is installed. Exit the black panel (command prompt) and Reboot your PC.

Now, there are very fewer chances of coming across the same BCD Error Code 0xc000000f in Windows 10. If it still persists, try the next method.

Method 4: Create a new EFI Partition

In certain circumstances, EFI partition may be absent but don’t worry because you can create a new one comfortably. But before that, ensure to possess a “Windows installation media” (bootable USB/DVD) and a 200 MB of free disk space.

Follow the Method 1 to create a new Windows 10 installation media furthermore Method 3 to boot from the USB until the black Command prompt console appears.

After reaching to the prompt, follow the steps given below:

Step 1 – Type the following commands successively then press Enter after each one of them:

diskpart

list disk

select disk 0      (to select a disk to “create a new EFI partition”)

list partition

select partition 1         (Imagine that the partition have more than 200 MBs of free space)

shrink desired=200 minimum=200

create partition efi

list partition

select partition 2       (assuming that the new partition is the partition 2)

Forma fs=fat32

list vol                (write down the volume of the new partition in a safe place)

select vol 3      (Supposing that volume no. of “EFI partition” you earlier noted down was 3)

assign

List vol        (and check which letter is assigned to the 200 MB EFI partition).

Note down the letter (ltr). You’ll also need to recognize the ltr of the volume containing your Windows partition (just look for Boot written in the Info column).

Step 2 – Now type: bcdboot C:\Windows /l en-gb /s B: /f ALL; assuming that C is the letter for Windows partition in addition to B for the EFI.

Step 3 – Restart the machine and you’ll find that the BCD error code 0xc000000f in Windows 10 has been resolved.

That’s it

Final Words

So this was all about fixing BCD error code 0xc000000f in Windows 10. This issue is among those very rare booting errors; which takes place due to corrupt BCD and other malware misfunction. However, you can easily solve it using any of the above-mentioned ways which have been tested before presenting here.

В современных версиях 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 загружается в штатном режиме.

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как поставить свои живые обои на рабочий стол для windows 10
  • Microsoft windows terminalservices localsessionmanager operational
  • Установить формат heic на windows
  • Загрузочная флешка mac os el capitan из под windows
  • Запуск программ для windows на android