This is an old revision of the document!
Table of Contents
Windows 10 bootrec /fixboot access is denied
Windows 10 Installation Media: Insert the Media (DVD/USB) in your PC and restart. Boot from the media. Select Repair Your Computer. Select Troubleshoot. Choose Command Prompt from the menu: Type in the command: Diskpart Type in the command: List disk (Note which disk is your Boot drive number mine is 0) Type in the command: Sel disk 0 Type in the command: List vol (Note which volume is the EFI partition mine is 4) Type in the command: Sel vol 4 Type in the command: assign letter=V: Type in the command: Exit Type in the command: V: After you have assigned a drive letter Using Diskpart You can format the EFI partition: Example: if you assigned a letter V to the partition the command would be: format V: /FS:FAT32 After the format you need to recreate the EFI directory structure with the command: MD \EFI\Microsoft\Boot Then change to the Boot directory with: cd /d V:\EFI\Microsoft\Boot\ Then run: bootrec /FixBoot Finally run: bcdboot c:\Windows /l en-us /s V: /f All Type in the command: bcdboot C:\windows /s V: /f UEFI (This replaces the above crossed out lines and works in Win 10 1709)
How to repair the EFI Bootloader in Windows 10
This article provides information about how to resolve an issue with the EFI Bootloader not booting correctly on a GPT Hard Disk Drive for a number of Windows Operating Systems. Table of Contents: Introduction How to repair your EFI Bootloader How to repair your MBR (Master Boot Record)
NOTE: have succesfully used Repair on Windows 2018 version install disk.
The Fix 1. Assign the Drive Letter 2. Repair the Boot Record 3. Rebuild the BCD store
MBR fix
Here are commands to fix bootloader: diskpart select disk 0 select partition 2 assign letter=g exit bcdboot c:\windows /s g:
Restore registry
From: https://pureinfotech.com/restore-registry-backup-windows-10/
Type the following command to move inside the RegBack, which contains a backup of the Registry, and press Enter: cd c;\windows\system32\config\RegBack
Boot Configuration Data in Windows Vista
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463059.aspx
Microsoft has completely reengineered the boot environment for Microsoft Windows Vista to address the increasing complexity and diversity of modern hardware and firmware.
http://www.pronetworks.org/forums/how-to-edit-the-windows-vista-boot-menu-options-t79102.html
bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} description "Windows Vista Build 5270 x64"
Changes the text of the boot menu line for any other Vista installation. One must use the GUID for that particular installation as shown when one runs the bcdedit or bcdedit /enum all command
Correcting changes to the Partition/Disk structure
Where a partition or a hard drive has been added or removed and has caused the partition/disk structure to change, this can be corrected by running these commands in the order shown:
X:\>X:\boot\fixntfs.exe -lh -all (Where X: is the drive/partition on which the folder "boot" is to be found)
bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} device partition=X:
Changes boot partition of the OS whose GUID is indicated. (Where X: is new drive/partition required). Must be used together with the osdevice command below
bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} osdevice partition=X:
Changes boot partition of the OS whose GUID is indicated. (Where X: is new drive/partition required). Must be used together with the device command above
Configure BIOS/MBR-Based Hard Drive Partitions
From: https://technet.microsoft.com/en-us/library/hh825146.aspx
====== This documentation is archived and is not being maintained. Sample: Configure BIOS/MBR-Based Hard Disk Partitions by Using Windows PE and DiskPart mbr recovery partition requirements to boot
Samples: Applying Windows, System, and Recovery Partitions by using a Deployment Script
BIOS/MBR-based hard drive partitions
Restore Accidentally Deleted Partitions, Fix Damaged Volumes & Disks
From: http://www.partition-recovery.com/
Active@ Partition Recovery is a freeware toolkit that helps you to recover deleted and damaged logical drives and partitions within DOS, Windows, WinPE (recovery boot disk) & Linux (recovery LiveCD) environments.