How to restore Windows 10 via command line

Operating systems can sometimes fail and Windows 10 is no exception. The new OS may, like previous assemblies, not be loaded for a number of reasons.

  • Software failure due to improper installation of drivers and utilities.
  • Or a malicious attack when the boot sector is damaged in the system.

Often, when there are problems with loading the operating system, users make a decision reinstall Windows 10. Although you can solve the problem with loading Windows 10 without reinstalling the OS, but simply restore the boot record.Windows 10 recovery through the command line

Recovery of the loading sector of Wing 10 through the command line

Before restoring the 10 wines through the command line, you need to prepare the boot media: CD or USB flash drive.

  • We insert our boot media and restart the computer. You must boot from this media.

In each individual case, when loading from the installation media, the method may vary. But in most cases, the key is used on computers Esc, to download Boot menu and here choose a carrier.Functional key for downloading from the installation media Windows 10

  • When the Windows 10 installation window appears, on the first screen we need to click the “buttonFurther.

Windows 10 recovery through the command line

  • Then select “System recovery.

System recovery through the Windows 10 command line

  • The recovery menu starts, where you want to select “Diagnostics“or”Finding and troubleshooting.

Search and troubleshooting Windows 10

  • Next, in the “sectionAdditional options“we are interested in the item”Command line.

Additional Windows 10 Options

But first you can try the built-in tool Windows 10 recovery when loading. This utility, in automatic mode, can restore Windows loading. Everything is quite simple here, we select our operating system (if, for example, several are installed on the computer). Often, this recovery method works well, and Windows after recovery is loaded as usual.

Automatic Windows 10 recovery

  • But in some cases, only manual bootloader recovery using the command line will help. We start the command line, it opens in the usual window familiar to us. And here you need to enter a command bcdboot.exe (in small Latin letters), then a space. Next, you need to specify the letter of the system disk, in our case it (D) – this is how the team will look:

bcdboot.exe (drive letter):Windows

How to find out the letter of the disk

  • To find out which letter we need before we proceed to restore, we recruit a team:

diskpart – click Enter

  • Next, when the tool starts DISKPART, you need to enter a command:

list disk

  • Information about the available disks will be opened, by volume you can determine which one we need. Next, you need to open detailed information about the system disk by the command:

sel disk 0

  • When the message appears that the 0 disk is selected, enter the command:

detail diskWindows Command Line 10 System Recovery

  • The information that has been opened already shows what name is assigned to our system disk.

Command line drive with Windows 10 recoveryWhy do we need all these manipulations? The fact is that in the system our local disk can wear a letter by default (C), and on the command line, it can be a completely different letter (This is a letter in our example D). We found out which letter is assigned to the system disk and now to leave the service DISKPART recruit a team – Exit and click EnterWe return to recovery and write a team – bcdboot.exe D:Windows, then press EnterWindows 10 recovery through the command lineAfter you see a message that the download files have been successfully restored, you can close the command line and restart the computer. In fact, everything is much simpler than it seems at first sight. Re-installation of Windows 10, this solution as a last resort can always be tried to fix the situation using Windows tools built into the

Rate article
Leave a Reply