Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: BCDEDIT - How to Use

21 Dec 2010   #120
tyee

Win7 32 bit and WinXP 32 bit
 
 

I am making progress. Gee, these password overwrite apps do not work! Offline NT Password editor didn't, an old Winternals ERD didn't. I managed to boot off the last drive that worked, then copy my image file back on to my real boot drive. It then booted into WinXP but not Win7. Trying to checkout the BCD with bcdedit, which did work all of a sudden, I wonder why?

Ok, I am back to normal finally! Had to use bcdedit to rewrite what I originally had there. I guess drive snapshot has a bug (which I emailed the author of last week) regarding restoring something in the bootsector. I have used "restore partition structure" and "restore disk signature" but both are still missing something for my dual boot with WinXP and a .vhd Win7.
Last week I tried Drive Shadow Copy and it seemed to work ok but I much prefer Drive Snapshot, it's so small and it mostly just works except here.

So....I guess what I learned is not to have more than one bootable drive connected to a PC at one time or windows can reassign drive letters and do all sorts of things to make it a nightmare to restore.


My System SpecsSystem Spec
.
17 Jun 2011   #121
Chipsite

Windows 7 Home Premium 64bit.
 
 

I changed the number of cores in msconfig to 2 under the boot tab and now when i try to boot my computer it crashes on the starting windows window, I typed these bcdedit command on the cmd prompt "bcdedit /deletevalue {UUID} numproc" and the bcdedit /set {UUID} numproc 1" they both return this command "The element data type is not recognized, or does not apply to the specified entry Element not found" What i'm i doing wrong? please assist.
My System SpecsSystem Spec
12 Jul 2011   #122
jackce

Windows Vista Ultimate x64 and Windows 7 Ultimate x64
 
 

This was a very informative post, but unless I missed it, I didn't see how to move the BOOTMGR from one drive to another. I have VISTA Ultimate x64 installed on one drive and WIN 7 x64 installed on another. The drive containing VISTA is failing and I would like to remove it completely, but the BOOTMGR is located on that drive. How do I use BCDEDIT to relocate it to the drive containing WIN 7? I have included an image of the current BOOTMGR. Thanx in advance to anyone who can help me accomplish this.


Attached Images
BCDEDIT - How to Use-bcdedit.jpg 
My System SpecsSystem Spec
12 Jul 2011   #123
boyans

Win 8 RP, Win 7, XP
 
 

Windows always starts booting from first disk and active partition on that disk.
Boot sequence in short is:
MasterBootRecord, active PartitionBR, bootmgr (uses BCD from \boot), winload

Method 1:
1. Run Disk Management and check if Windows 7 is on the active partition. If not set the partition to active. (It is best if first partion is active)
2. Write MBR & PBR on Windows 7 disk (use bootsect.exe)
3. Repair/create Windows 7 boot files on Win 7 disk (bootmgr + \boot folder with BCD) (use bcdboot.exe)
4. In BIOS set Windows 7 disk to be first disk in boot sequence.

If you want detailed instructions post a disk map.

METHOD 2:
JUST UNPLUG VISTA DRIVE and Startup Repair - Run 3 Separate Times
My System SpecsSystem Spec
.

12 Jul 2011   #124
theog

Microsoft Community Contributor Award Recipient

ME/XP/Vista/Win7
 
 

Quote   Quote: Originally Posted by jackce View Post
This was a very informative post, but unless I missed it, I didn't see how to move the BOOTMGR from one drive to another. I have VISTA Ultimate x64 installed on one drive and WIN 7 x64 installed on another. The drive containing VISTA is failing and I would like to remove it completely, but the BOOTMGR is located on that drive. How do I use BCDEDIT to relocate it to the drive containing WIN 7? I have included an image of the current BOOTMGR. Thanx in advance to anyone who can help me accomplish this.
Take a look here:
System won't boot from SSD, please help.
My System SpecsSystem Spec
31 Jul 2011   #125
hichkas

windows 7 ultimate x64
 
 

hello guys i need know what mean /d switch in bcdedit.
same like " bcdedit /copy {...} /d "..."
OR
Bcdedit /create {legacy} /d “...”
OR
bcdedit /create {ramdiskoptions} /d "Ramdisk options"
OR
bcdedit /create /d "Boot from WIM" /application OSLOADER

i can't find any Description in technet microsoft.

thank's
My System SpecsSystem Spec
31 Jul 2011   #126
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

/d <description>
My System SpecsSystem Spec
31 Jul 2011   #127
hichkas

windows 7 ultimate x64
 
 

tnx siw2
My System SpecsSystem Spec
16 Aug 2011   #128
Algirdas

CentOS 5.6, Windows 7 Ultimate
 
 

Thanks Siw2 for usefull info here. Sorry, if it was already explained. I just didn't found exact description "how to" for me.
I have CentOS 5.6 on my primary SATA drive. Windows 7 Ultimate is installed on second SATA drive. I did some edit of grub config to have Windows 7 boot from second drive and it works just perfect untill ... one note before. I use hd0, hd1 for drives decription - I guess, BIOS mimics PATA drives. sd0 sd1 don't work.
So, what happens. I can choose CentOS from hd0 or Windows7 from hd1 on grub loader menu and it works. Untill I installed one more Windows 7 instance on hd0. I can't boot hd1 Windows since. I tried to edit grub config: adding "mark active" and so. No help. Windows loader get's the control and doesn't boots from secondary drive.
Windows boot choice will help me, I guess. I understand bcdedit command, I see "bcd" file I need. what lines must be added to "bcd" to solve this?
My System SpecsSystem Spec
16 Aug 2011   #129
paul1149

Linux Lite 3.2 x64; Windows 7, 8.1
 
 

Algirdas,

The second instance of Windows overwrote your MBR, and failed to detect the first Windows on hd1. You can either work with the Windows loader, in which case I recommend EasyBCD, or you can repair the GRUB loader, which might be preferable since CentOS is your main OS. See TipsAndTricks/ReinstallGRUB - CentOS Wiki for some instructions for the latter.

When you say you marked Active, what did you mark active, and did you do so in GRUB, or in a partition manager?
My System SpecsSystem Spec
Reply

 BCDEDIT - How to Use




Thread Tools




Similar help and support threads
Thread Forum
bcdedit question
Is there a way to make "Start Windows Normally" the default option without disabling recovery? I would like to be able to still use winre.
General Discussion
BCDEDIT Question
Been having fun with having dual booting on my machine now, but here's a question I'm wondering if you can do, and if you can do it, how. I read that you can boot off of a DVD as well. So can you boot off of a external drive as well? I know my computer will allow me to boot off of a usb, but...
General Discussion
create BCD with BCDedit
hello fren... I have a C: partition with the contents of windows xp and I have a D: partition with the contents of windows 7 then I accidentally delete the C: partition in order to remove XP then I made ​​the drive D: set of active primaries for the purpose of my laptop can boot into windows...
Installation & Setup
BCDEDIT confusion
My old PC could boot into either of two completely independent OS's - Windows XP and Windows 2000. Selection was controlled by the boot.ini file on the XP partition. Neither OS could see the other. So when I booted into WinXP, XP became my C: drive whereas Win2K had no drive letter assigned....
Installation & Setup
bcdedit problem
Hi... i am trying to made a hard drive bootable by using the bcdedit commands. i have executed all entries successfuly but still i am not seeing it in boot menu as "Window 7 setup". Can anybody help me?
Installation & Setup
bcdedit
Opening as elevated permission however it comes back saying the requested system device could not be found.
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:39.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App