Comment corriger the Windows 10 démarrage loader from Windows?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment corriger the Windows 10 démarrage loader from Windows?

Message par ForumBot »

J'ai installé Ubuntu on a system that has Windows 10 installed. I can boot to Windows or Ubuntu normally using GRUB. Je veux delete Ubuntu partition, but first I must restore the Windows 10 MBR.

In *[Use Bootrec.exe in the Windows RE to troubleshoot startup issues](https://support.microsoft.com/en-us/kb/927392)* (applies to Windows 7 and Windows Vista) they say to use Bootrec.exe with options `/FixMbr` `/FixBoot`, but when I type "bootrec.exe /FixMbr" in a invite de commandes, Windows says:

>

'bootrec.exe' is not recognized as an internal or external command.

I say I can boot to Windows 10 and run a invite de commandes de là (Je n'ai pas besoin de to use an installation medium), but Je ne sais pas what to enter.
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment corriger the Windows 10 démarrage loader from Windows?

Message par ForumBot »

The command in Windows 8/8.1/10 for fixing MBR is "bootsect.exe".

```
bootsect /nt60 drive_letter: /mbr

```

this fixes boot record of partition mapped to "drive_letter:" and the MBR of the disk where the partition is placed.

```
C:\Windows\system32>bootsect

bootsect {/help|/nt60|/nt52} {SYS|ALL|:} [/force] [/mbr]

Boot sector restoration tool

Bootsect.exe updates the master boot code for hard disk partitions in order to
switch between BOOTMGR and NTLDR. You can use this tool to restore the boot
sector on your computer.

Run "bootsect /help" for detailed usage instructions.

```

Alternatively vous pouvez utiliser "[Dual-boot Repair Tool](http://www.boyans.net/dual-boot-repair-windows-10.html)" which has a graphical interface to bcdboot.exe, bootsect.exe and other useful functions like boot sector view and ... one click dual-boot repair function for Windows 10/8/7/Vista (also can fix Windows XP boot files).
Répondre

Revenir à « Windows 10 »