Skip to main content

Questions tagged [bcdedit]

A command-line tool in Windows Vista and later for editing the Boot Configuration Data (BCD).

Filter by
Sorted by
Tagged with
1 vote
0 answers
61 views

How to view boot debugging logs BCDedit

To expand on the title, Ive setup debugging of my boot sequence with the following commands: bcdedit /bootdebug {bootmgr} on bcdedit /bootdebug on bcdedit /debug on Where does BCDedit store debug ...
N S's user avatar
  • 19
-1 votes
1 answer
142 views

Booting of Win 10 not possible, how to fix UEFI and/or bcdedit bootmgr?

Problem During the boot of my Win-10-Pro-system I get a BSOD Kmode_Exception_Not_Handled without further information provided. This results in a reboot. The error occurred after I had tried to edit ...
user avatar
0 votes
2 answers
780 views

How does Windows BCDEdit work with multiple drives?

BCDEdit lets you edit, add and delete boot options for Windows (10/11). Doing the work to understand UEFI I found good video explaining the big picture of UEFI and two videos explaining how to fix the ...
xtian's user avatar
  • 1,005
-1 votes
2 answers
746 views

How to correctly boot into Windows D: drive after cloning

I've recently bought a new SSD and successfully cloned the old HDD and all it's partition to the SSD resulting in a C: and D: drive. I've added a new boot entry with bcdedit by copying over the ...
Abovegame's user avatar
0 votes
0 answers
129 views

Unable to boot windows on cloned SSD, missing bcdedit file, c:\boot directory, etc

I am using HP Pavilion i7 6th gen machine. I bought and cloned an NVME m.2 SSD only to realise that my hardware supported just the SATA m.2 internally. I bought a NVME m.2 enclosure and cloned SSD ...
YellowDust's user avatar
0 votes
1 answer
1k views

BCDEdit: RecoverySequence is all zeros. Can't Enable WinRE

I'm having trouble enabling the Recovery Environment for my virtual W10 after making some changes in the BCD store. W10 will still boot, I just can't enable WinRE. BCDEdit shows that the ...
Mike Tompson's user avatar
1 vote
0 answers
714 views

Clone Windows (11) to new SSD and dual-boot from new and old

I have added a secondary SSD to my laptop and cloned the disk with Clonezilla. I call them SSD1 and SSD2. Now I have two identical disks with Windows 11. But I'm not able to boot from the new ...
Sam's user avatar
  • 111
2 votes
1 answer
552 views

Is there a way to copy the contents of an ISO file to a specific windows partition and boot from it?

I'm currently trying to accomplish the following from the windows command line / powershell - create a bootable partition from an ISO, add a boot entry for it and boot from it. It's important to note ...
Yoan Sredkov's user avatar
0 votes
1 answer
589 views

How to set default BCD store location on UEFI system

I moved a Windows installation from one disk to another, using gparted. I manually created a new EFI partition using the bcdboot command. The system boots fine, however, advanced startup options are ...
Derkades's user avatar
  • 131
0 votes
0 answers
22 views

Bitlocker is not asking for password after altering bcd

I'm using Windows Server so I needed to disable Hyper-V for using VMWare Workstation. I altered bcd to set "hypervisorlaunchtype off" and now Bitlocker is not asking for a password. I also ...
user2775944's user avatar
3 votes
1 answer
2k views

Windows bcdedit stores config parameters in NVRAM? what does it mean?

In Win10 bcdedit /?, the help text says it will store boot configuration parameters in nonvolatile RAM (NVRAM) entries. Is that ridiculous? As far as I know, bcdedit stores configs in disk files. To ...
Jimm Chen's user avatar
  • 6,024
8 votes
0 answers
5k views

How to create Boot Menu Entry in UEFI Settings using bcdedit w/o copying existing {bootmgr}

Note – This thread How to add UEFI image boot option in BCDedit? is similar but the answer there is irrelevant as it does not describe my case. This thread How remedy situation with two EFI ...
rajeev's user avatar
  • 1,708
4 votes
1 answer
12k views

Cloned Windows 10 won't boot

Issue: Windows 10 clones to same disk/different SSD won't boot. Why: I've got a M.2 NVMe with the following structure: 300 MB Recovery Partition 100 MB EFI System Partition Windows 8.1 Unallocated ...
Rhaenys's user avatar
  • 842
0 votes
1 answer
579 views

Windows 10 Install using WinPE on USB - Boot Loop After Applying Image

I am applying a Windows 10 wim image via WinPE which I captured using dism. After the image has finished applying to the disk, if I forget to remove the USB flash drive from the USB port the device ...
Ben's user avatar
  • 101
1 vote
0 answers
2k views

bcdedit.exe command giving strange error

Until yesterday i could use the command bcdedit /set testsigning on, so that i could start kernel mode drivers that are not signed, and then bcdedit /set testsigning off before shutting down, and i ...
User9387425's user avatar
0 votes
0 answers
377 views

bcdedit - The process cannot access the file because it is being used by another process

This is a strange one, but whenever I bcdedit /export and then try to load it with bcdedit /store, system seems to swallow up the file, and you can't unlock it or close the handle on process explorer. ...
Lewis Kelsey's user avatar
0 votes
1 answer
1k views

bcdedit - how to tell which drive the identifier belongs to?

When using bcdedit /enum firmware, it lists all the boot entries, but I have 2 drives and identical entries for both of them and I can't tell which drive is which. How to know? There is the device ...
Stackerito's user avatar
1 vote
1 answer
105 views

What is the difference between bcedit and diskpart for deleting partitions

I successfully removed grub in two different ways: First one was to use rmdir inside the EFI volume after assigning it a letter using diskpart, and the second one was using bcdedit and deleting the ...
Stackerito's user avatar
0 votes
0 answers
1k views

dual boot windows/ubuntu only loads windows loader, will not load grub, will not boot ubuntu

I have a successful dual boot installation of ubuntu 20 with windows 11. However, upon reset, the system always goes to the windows loader rather than to grub, so I cannot boot ubuntu. However, in ...
Henry's user avatar
  • 101
0 votes
1 answer
2k views

How to disable driver signature enforcement mode if bcdedit /set TESTSIGNING ON fails?

I have been trying to set up some experimental driver, but I have typed quite several times: bcdedit /set loadoptions DDISABLE_INTEGRITY_CHECKS bcdedit /set TESTSIGNING ON Now I have an error saying: ...
Ivan P.'s user avatar
  • 235
0 votes
0 answers
74 views

Load password recovery from SD card

The problem I have an old Lenovo tablet (Lenovo IdeaPad Miix 10) that is running Windows 8.1. The tablet comes with a detachable keyboard, that seems to be broken - there is absolutely no reaction to ...
Sevastyan Savanyuk's user avatar
-1 votes
3 answers
103 views

Migrate C Drive

I am looking to migrate the C Partition from a Windows 7 PC from about 2008. I would like to copy the C Partition to a new PC. I am experienced in troubleshooting boot issues, copy/restoring ...
NoMoronsAllowed's user avatar
0 votes
1 answer
2k views

No xelzd - Cannot find xeldz in all drives. Press Ctrl+Alt+Del to restart

Today my windows 7, after download a not-so-secure file (a good prank from an University friend to show me that the SO is really outdated), the windows license was deleted. (I have a buyed license, ...
Barragán Louisenbairn's user avatar
0 votes
0 answers
26 views

Cant boot - new drive and incorrect DeviceID

Working on Dad's computer. Hard drive had 0KB available. Bought new SSD. Used Clonezilla to create image and then attempted to restore. Windows then failed to load. I ended up running: bcdedit /set {...
BeMy Friend's user avatar
1 vote
1 answer
251 views

Boot vhd that is located on external drive

I followed this article https://www.hanselman.com/blog/less-virtual-more-machine-windows-7-and-the-magic-of-boot-to-vhd, but got error 0xc000000e. External drive is connected through usb 3.0.
Василий's user avatar
1 vote
0 answers
275 views

Need to Reset Windows 10 Dual Boot (no recovery environement found)

I had a dual boot configuration on my old X58 platform. The setup was an up to date Windows 10 partition and a Windows 1809 partion. Both OS's were on the same SSD which had the same system reserved ...
edo101's user avatar
  • 111
0 votes
1 answer
854 views

Win10 Unable to boot - Srttrail.txt Bluescreen / 0xc0000001 Error

Srttrail.txt Bluescreen Error on Winows 10 x64 Desktop(with GTP Drive) I recently purchased a software(VST plugin) which required registration with PACE iLOK Licence Manager. The installation of iLOK ...
ViktorH's user avatar
2 votes
0 answers
2k views

In BCD, what do the elements "displaymessage" and "displaymessageoverride" do?

As the question says. I can't find documentation covering the purpose of displaymessage and displaymessageoverride. It looks like BCD entries can have up to 3 names - the description which is what ...
Stilez's user avatar
  • 1,745
6 votes
3 answers
35k views

What is the best way to move MBR and bootmgr to new drive (Windows 10)?

I have several hard drives in my desktop but only 1 has the OS (Win 10). Here is an image of my Disk Manager: Disk 2 (D:) is an old slow dying backup HDD. Disk 1 (G:) is a much newer faster (...
MilkyTech's user avatar
  • 205
0 votes
0 answers
1k views

EasyBCD Boot Device different to Windows Boot Manager device

Can someone explain why EasyBCD has a different Boot Device to the Windows Boot Manager device? My drives use MBR (not GPT). BCDedit shows this at the beginning: Windows Boot Manager ----------------...
Aendie's user avatar
  • 101
0 votes
1 answer
325 views

BCDEdit /delete {ID} Unexpected token in the ID

I'm trying to remove an old linux-debian partition that I don't use anymore to increase the size of my linux-Manjaro partition. I'm doing that on my Windows 10 by following this tutorial (in french) ...
Vired's user avatar
  • 1
0 votes
2 answers
2k views

how to Dual Boot Windows 10 and Windows Server WITHOUT INSTALLATION

Several internet sites describe how to install Windows Server as a second OS. This is not my case. On the same PC I have a working drive with Windows 10 Pro and another drive with Windows Server 2012 ...
Aendie's user avatar
  • 101
0 votes
1 answer
685 views

bcdedit cannot be found by rust executable

I am trying to call bcdedit from within a rust executable using std::process::Command. When executing the resulting program on Windows 10 in an administrator command prompt I get: 'bcdedit' is not ...
Thomas's user avatar
  • 101
1 vote
1 answer
12k views

How to Clone OEM Recovery Partitions

I have a PC running Windows 10 May 2019 Build 18362. I'm trying to migrate from a small M2 NVME SSD to a larger and faster one. I tried different disk cloning/imaging apps with no luck (True Image, ...
trananhtuan's user avatar
0 votes
0 answers
4k views

Login stuck on black screen with cursor after enabling Hyper-V hypervisor

strange one. I enabled the Hyper-V feature on my works Win10 1803 Lenovo T450 (8GB RAM) laptop. Tried to create the first Windows Server VM but got the error: "...hyperpvisor is not running" ...
TripToBelize's user avatar
1 vote
1 answer
1k views

Windows 10 - Ubuntu: Windows bootmgr set to wrong partition

I am using Dell Inspiron 7560, dual booted with Windows 10 and Ubuntu. Windows is installed on a 128 GB SSD and Ubuntu is installed on a partition of a 1TB HDD. Each of the drives also have an EFI ...
shreyase99's user avatar
1 vote
1 answer
2k views

BCDedit on Windows 2012 R2

The first boot entry that comes up on this machine is hosed. The second is good. However, I can't figure out how to delete the bad one- they all seem to share the same identifier. Anybody have any ...
Frank Siler's user avatar
1 vote
0 answers
891 views

bcdedit - Dynamically dual-boot Windows and Linux

For the last couple of days I am searching for an answer, but I constantly run into brick walls. I want to create a bootable USB with a custom Linux-based OS (for the sake of this conversation, let's ...
Dejan Pejčev's user avatar
-1 votes
1 answer
4k views

What exactly does bcdedit do?

In windows, to start in safe mode we can execute in the terminal, with privileges, the command: %windir%\system32\bcdedit.exe /set {default} safeboot minimal And to return to normal mode, we execute:...
acgbox's user avatar
  • 785
2 votes
0 answers
1k views

Remove 'BCDEdit set {bootmgr}' entry

While dual booting Ubuntu with windows, I had encountered 'Ubuntu grub not showing' problem. At the stage, I typed on the following command on windows command prompt. bcdedit /set {bootmgr} \EFI\...
PickRick's user avatar
1 vote
0 answers
224 views

Applying an image file using ImageX script gives boot configuration data store could not be opened error with new PC

I am applying windows image files, wim files, using Microsoft ImageX. This used to work fine but on a new version of what should be the same PC it now fails. The script is like this: DISKPART /s ...
user619818's user avatar
1 vote
1 answer
7k views

Installing Windows 10 with bootloader on a different disk?

I'm trying to install Windows 10 on a brand new NVMe disk, but I just found out my motherboard can't boot from these (but windows sees it natively in the installer and installs just file), however, I ...
anto418's user avatar
  • 57
3 votes
1 answer
1k views

bcdedit issue? M.2 SATA to NVME clone: Windows 10 won't boot

Problem: Windows partition won't boot after cloning M.2 SATA drive to M.2 NVME. Background: Cloning process was simple raw dd copy. Drive had EFI, Windows 10, and Linux partitions. Cloning preserved ...
pbft's user avatar
  • 31
2 votes
0 answers
399 views

How to create a custom safe mode option

I want to create a custom safe mode option (like Minimal and Network). I began by going to the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot and made a new key called ...
Anonymous's user avatar
  • 451
0 votes
1 answer
105 views

Windows 8 boot issue after installing Ubuntu

After multi-boot installing Ubuntu, my Windows 8 will not boot anymore. I can enter the System Repair interface and open a command line. But when I execute the bcdedit command, it says : X:\windows\...
Knighto05's user avatar
0 votes
1 answer
889 views

Remove boot option in Windows Boot Manager that is not listed in bcdedit

I've accidentally installed grub2win in order to configure a multiboot setup witch a Linux distro. I've figured out that the correct way is to create an EFI partition and install the 'real' GRUB. This ...
Thomas Devoogdt's user avatar
0 votes
0 answers
252 views

Effect of enabled kernel debug mode on Windows Server

I have a problem which shows up sporadically on Windows Server (Cannot bind TCP Port but netstat does not show any usage). I think I would be able to look at the kernel structures. For this I would ...
eckes's user avatar
  • 1,288
7 votes
2 answers
21k views

How do I change the UEFI Boot Order from within Windows 10?

I have multiple Operating systems installed, each with their respective EFI file in the ESP (EFI System Partition). For example: I have Windows 10 at \EFI\Boot\Microsoft\bootmgr.efi, and I have ...
Dylan's user avatar
  • 293
1 vote
0 answers
871 views

black screen with mouse cursor - windows 7

After installing a game from Blizzard(Diablo 2) and playing it for a while, I shut down my laptop and opened it again the next morning. That's when my laptop(Lenovo T520) was booted to a black screen ...
guest12345's user avatar
1 vote
1 answer
677 views

wubi bcdeditor real-mode boot sector default boot

I have installed Xubuntu using wubi on windows 7 starter. I use Xubuntu often, hence setting default boot to Xubuntu makes sense :-) This is current listing: PS C:\Windows\system32> .\bcdedit.exe /...
AjayKumarBasuthkar's user avatar