mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-16 10:53:43 +00:00
Update advanced-troubleshooting-boot-problems.md
- Set correct MarkDown spacing for [!NOTE] blocks - Add newline breaks to output text for readability - Reorder attrib command parameters to logical order - Add missing space between the command attrib and its parameters - Remove a redundant double backslash in a rename (`ren`) command - Remove redundant line "Start a text editor, such as Notepad." Closes #4631
This commit is contained in:
@ -153,10 +153,12 @@ If you receive BCD-related errors, follow these steps:
|
||||
|
||||
4. You might receive one of the following outputs:
|
||||
|
||||
- Scanning all disks for Windows installations. Please wait, since this may take a while...Successfully scanned Windows installations. Total identified Windows installations: 0
|
||||
- Scanning all disks for Windows installations. Please wait, since this may take a while...
|
||||
Successfully scanned Windows installations. Total identified Windows installations: 0
|
||||
The operation completed successfully.
|
||||
|
||||
- Scanning all disks for Windows installations. Please wait, since this may take a while... Successfully scanned Windows installations. Total identified Windows installations: 1
|
||||
- Scanning all disks for Windows installations. Please wait, since this may take a while...
|
||||
Successfully scanned Windows installations. Total identified Windows installations: 1
|
||||
D:\Windows
|
||||
Add installation to boot list? Yes/No/All:
|
||||
|
||||
@ -165,7 +167,7 @@ If the output shows **windows installation: 0**, run the following commands:
|
||||
```dos
|
||||
bcdedit /export c:\bcdbackup
|
||||
|
||||
attrib c:\\boot\\bcd -h -r –s
|
||||
attrib c:\\boot\\bcd -r –s -h
|
||||
|
||||
ren c:\\boot\\bcd bcd.old
|
||||
|
||||
@ -174,10 +176,12 @@ bootrec /rebuildbcd
|
||||
|
||||
After you run the command, you receive the following output:
|
||||
|
||||
Scanning all disks for Windows installations. Please wait, since this may take a while...Successfully scanned Windows installations. Total identified Windows installations: 1{D}:\Windows
|
||||
Scanning all disks for Windows installations. Please wait, since this may take a while...
|
||||
Successfully scanned Windows installations. Total identified Windows installations: 1
|
||||
{D}:\Windows
|
||||
Add installation to boot list? Yes/No/All: Y
|
||||
|
||||
5. Try again to start the system.
|
||||
5. Try restarting the system.
|
||||
|
||||
### Method 4: Replace Bootmgr
|
||||
|
||||
@ -187,26 +191,24 @@ If methods 1 and 2 do not fix the problem, replace the Bootmgr file from drive C
|
||||
|
||||
2. Run the **attrib** command to unhide the file:
|
||||
```dos
|
||||
attrib-s -h -r
|
||||
attrib -r -s -h
|
||||
```
|
||||
|
||||
3. Run the same **attrib** command on the Windows (system drive):
|
||||
```dos
|
||||
attrib-s -h –r
|
||||
attrib -r -s -h
|
||||
```
|
||||
|
||||
4. Rename the Bootmgr file as Bootmgr.old:
|
||||
```dos
|
||||
ren c:\\bootmgr bootmgr.old
|
||||
ren c:\bootmgr bootmgr.old
|
||||
```
|
||||
|
||||
5. Start a text editor, such as Notepad.
|
||||
5. Navigate to the system drive.
|
||||
|
||||
6. Navigate to the system drive.
|
||||
6. Copy the Bootmgr file, and then paste it to the System Reserved partition.
|
||||
|
||||
7. Copy the Bootmgr file, and then paste it to the System Reserved partition.
|
||||
|
||||
8. Restart the computer.
|
||||
7. Restart the computer.
|
||||
|
||||
### Method 5: Restore System Hive
|
||||
|
||||
|
Reference in New Issue
Block a user