Windows Vista Forums


Reply
Thread Tools Display Modes

A guide to using the BCDedit.exe in Windows Vista 5308

 
 
Junior Member
Join Date: Mar 2006
Location:
Posts: 2
 
      15th March 2006, 04:31 AM
Edit the Windows Vista Boot Menu Options - BCDEDIT



Click start>All Programs>Accessories>Right Click on Command Prompt and select Run As Administrator



Then type BCDedit.exe



Introduction



In Windows Vista, the Boot Configuration Data (BCD) store contains boot



configuration parameters which control how the operating system is started in



the Windows Vista and Windows Server Code Name "Longhorn" operating systems.



These were found in the boot.ini file in previous versions of Microsoft



Windows. To edit the Windows Vista Boot Menu Options, the Boot Configuration



Data Editor - BCDEDIT is used.



The Bcdedit.exe command-line tool can be used to add, delete and edit entries



in the BCD store which contains objects. Each object is identified by a GUID



(Globally Unique Identifier). Every drive or partition on the system will have



its own GUID and could be {legacy} (to describe a drive or partition on which a



pre-Windows Vista operating system), {default} (to describe the drive or



partition containing the current default operating system), or {current} (to



describe the current drive or partition one is booted to), or for example



{c34b751a-ff09-11d9-9e6e-0030482375e7} (to describe another drive or partition



on which an operating system has been installed).



Bcdedit.exe is located in the \Windows\System32 directory of the Windows Vista



partition and can be accessed only from the Commad Prompt which is found on



the Windows Vista start menu at Start>All Programs>Accessories





Command-line Help



bcdedit /? Shows all commands one is able to use



bcdedit.exe /? CREATESTORE Shows detailed information for the command



CREATESTORE or any other command available in bcdedit as shown when running



bcdedit /? followed by the particular command more information is required for.



bcdedit or bcdedit /enum all Shows the current structure of your boot



configuration data.

The GUID tags {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} of all Windows



installations present on your computer will be displayed.





Create a Backup



It is strongly recommended that one creates a backup of the BCD store before



making any changes to it.



bcdedit /export "D:\BCD Backup\Bcd Backup" Creates a backup to a pre-created



folder, in this case “BCD Backup” on drive D:



bcdedit /import "D:\BCD Backup\Bcd Backup" Restores the backup previously



created





Making Changes to the Boot Configuration Data



bcdedit /set {legacy} Description "Windows XP Professional SP2" Changes the



text description of the “Legacy” OS line in the boot menu. The quotation marks



must be included in the command



bcdedit /set {current} description "Windows Vista Build 5308 x86" Changes the



text of the boot menu line for the Vista or non-Vista installation one is



currently booted to, from the default "Microsoft Windows" or other description



to that shown in the quotation marks



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



bcdedit /default {current} Sets the current Windows installation one is booted



to as the default Windows boot OS



bcdedit /default {5189b25c-5558-4bf2-bca4-289b11bd29e2} Sets the referenced



Windows OS as the {default} Windows boot OS



<FONT
 
Reply With Quote
 
 
 
 
Senior Member
Join Date: Sep 2005
Location: Chicago,IL
Posts: 2,081
 
      15th March 2006, 02:50 PM
Nice, I'll make this pinned.
 
Reply With Quote
 
 
 
 
Junior Member
Join Date: Mar 2007
Location:
Posts: 2
 
      9th March 2007, 10:25 AM
small problem, maybe you guys can help, i had to move my vista install to another drive, so i cloned it but it messed up the bcd. SO, i go into the editor, change the drive letter and it didn't work, now i want to specify the disk instead of drive letter. how would i do that in bcdedit? and how do i know which one is which?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bcdedit.exe voiceinurhead Installation & Compatibility 0 30th July 2010 11:22 PM
bcdedit nightmare Aurixious Recovery & Backup 1 10th December 2008 10:14 AM
Prob regarding BCDEDIT yarlagadda General Technical 4 3rd July 2007 01:52 PM
sysprep.exe - build 5308 manikm General Technical 0 8th May 2006 10:09 AM
Dual boot existing Windows XP with Vista 5308 ? manikm General Technical 7 21st March 2006 04:14 PM


All times are GMT. The time now is 07:57 AM.
Vista Forums is an independent website and is not affiliated with Microsoft Corporation.