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
0 votes
0 answers
50 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
  • 101
2 votes
1 answer
80 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
137 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
13 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
0 votes
0 answers
38 views

Dual Windows boot selector not always displayed

I have a PC with two Windows 10 (called "Windows Work", on Volume 4, and "Windows Games", on Volume 6) and one Linux partition. Linux's grub manages the Linux vs. Windows selection....
il_mix's user avatar
  • 156
3 votes
1 answer
744 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
  • 5,563
6 votes
0 answers
1k 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,566
1 vote
1 answer
4k 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
  • 722
0 votes
1 answer
199 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
0 votes
0 answers
122 views

How do I have to edit BCD in order to manually identify a Windows 10 installation?

This is my current BCD. When booting it either tells me a device is missing or spins a progress wheel for 15 seconds and reboots. My setup is as follows: disk 0 Partition 1: fat32, EFI system ...
Mauro F.'s user avatar
1 vote
0 answers
650 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
141 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
441 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 ...
Cooperino's user avatar
1 vote
1 answer
61 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 ...
Cooper H's user avatar
0 votes
0 answers
719 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
531 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
  • 225
0 votes
0 answers
36 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
86 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
1k 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
23 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
172 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
188 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
512 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
1 vote
0 answers
1k 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,625
6 votes
2 answers
20k 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
897 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
227 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
490 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
10k 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
1k 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
664 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
3k 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
  • 712
2 votes
0 answers
966 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
162 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
5k 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
  • 22
3 votes
1 answer
881 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
229 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
  • 351
0 votes
1 answer
88 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
765 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
194 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,188
6 votes
2 answers
14k 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
  • 283
1 vote
0 answers
837 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
594 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
3 votes
3 answers
3k views

Programmatically restart computer and boot into flash drive

I originally posted this on Stack Overflow but was told that this may be a better place to post this question, so here goes; I've created a small script which will automatically reboot a computer ...
GrumpyCrouton's user avatar
5 votes
2 answers
41k views

Bluestacks does not run even though I disabled Hyper-V

I tried disabling Windows Subsystem for Linux (WSL), Windows Defender Application Guard, and Hyper-V, but even THAT didn't work. I always disable virtualization to run Bluestacks, but now I need to ...
MythicalCode_'s user avatar
0 votes
0 answers
711 views

"Inaccessible boot device" error, but BCD, partition and drivers seem correct. What else could cause it?

My Win8.1 x64 EFI laptop refused to reboot after a recent update, the error is INACCESSIBLE BIOT DEVICE but I can't figure how to debug this. So far this is what I've done: -Used DISKPART to assign ...
Stilez's user avatar
  • 1,625
-3 votes
1 answer
197 views

Windows 7 not booting

My computer was updating and was then mistakenly turned off. It is showing me the following error   File: clfs.sys   Status:0xc000000f Windows Boot Manager Windows failed to ...
user858412's user avatar