﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Windows Vista Forum / General Technical / Vista Technical  / A guide to using the BCDedit.exe in Windows Vista 5308 / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Windows Vista Forum</description><link>http://vistaforums.com/Forum/</link><webMaster>Admin@VistaForums.com</webMaster><lastBuildDate>Fri, 20 Nov 2009 19:10:55 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: A guide to using the BCDedit.exe in Windows Vista 5308</title><link>http://vistaforums.com/Forum/Topic587-9-1.aspx</link><description>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?</description><pubDate>Fri, 09 Mar 2007 10:25:59 GMT</pubDate><dc:creator>acme64</dc:creator></item><item><title>RE: A guide to using the BCDedit.exe in Windows Vista 5308</title><link>http://vistaforums.com/Forum/Topic587-9-1.aspx</link><description>Nice, I'll make this pinned.</description><pubDate>Wed, 15 Mar 2006 14:50:02 GMT</pubDate><dc:creator>Jason</dc:creator></item><item><title>A guide to using the BCDedit.exe in Windows Vista 5308</title><link>http://vistaforums.com/Forum/Topic587-9-1.aspx</link><description>[b]Edit the Windows Vista Boot Menu Options - BCDEDIT [/b]&lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;Click start&amp;gt;All Programs&amp;gt;Accessories&amp;gt;Right Click on Command Prompt and select Run As Administrator&lt;/FONT&gt;&lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;Then type BCDedit.exe&lt;/FONT&gt;&lt;br&gt;&lt;br&gt;[b]Introduction [/b]&lt;br&gt;&lt;br&gt;In Windows Vista, the Boot Configuration Data (BCD) store contains boot &lt;br&gt;&lt;br&gt;configuration parameters which control how the operating system is started in &lt;br&gt;&lt;br&gt;the Windows Vista and Windows Server Code Name "Longhorn" operating systems. &lt;br&gt;&lt;br&gt;These were found in the boot.ini file in previous versions of Microsoft &lt;br&gt;&lt;br&gt;Windows. To edit the Windows Vista Boot Menu Options, the Boot Configuration &lt;br&gt;&lt;br&gt;Data Editor - BCDEDIT is used. &lt;br&gt;&lt;br&gt;The Bcdedit.exe command-line tool can be used to add, delete and edit entries &lt;br&gt;&lt;br&gt;in the BCD store which contains objects. Each object is identified by a GUID &lt;br&gt;&lt;br&gt;(Globally Unique Identifier). Every drive or partition on the system will have &lt;br&gt;&lt;br&gt;its own GUID and could be {legacy} (to describe a drive or partition on which a &lt;br&gt;&lt;br&gt;pre-Windows Vista operating system), {default} (to describe the drive or &lt;br&gt;&lt;br&gt;partition containing the current default operating system), or {current} (to &lt;br&gt;&lt;br&gt;describe the current drive or partition one is booted to), or for example &lt;br&gt;&lt;br&gt;{c34b751a-ff09-11d9-9e6e-0030482375e7} (to describe another drive or partition &lt;br&gt;&lt;br&gt;on which an operating system has been installed). &lt;br&gt;&lt;br&gt;Bcdedit.exe is located in the \Windows\System32 directory of the Windows Vista &lt;br&gt;&lt;br&gt;partition and can be accessed only from the Commad Prompt which is found on &lt;br&gt;&lt;br&gt;the Windows Vista start menu at Start&amp;gt;All Programs&amp;gt;Accessories &lt;br&gt;&lt;br&gt;&lt;br&gt;[b]Command-line Help [/b]&lt;br&gt;&lt;br&gt;bcdedit /? Shows all commands one is able to use &lt;br&gt;&lt;br&gt;bcdedit.exe /? CREATESTORE Shows detailed information for the command &lt;br&gt;&lt;br&gt;CREATESTORE or any other command available in bcdedit as shown when running &lt;br&gt;&lt;br&gt;bcdedit /? followed by the particular command more information is required for. &lt;br&gt;&lt;br&gt;bcdedit or bcdedit /enum all Shows the current structure of your boot &lt;br&gt;&lt;br&gt;configuration data. &lt;br&gt;The GUID tags {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} of all Windows &lt;br&gt;&lt;br&gt;installations present on your computer will be displayed. &lt;br&gt;&lt;br&gt;&lt;br&gt;[b]Create a Backup [/b]&lt;br&gt;&lt;br&gt;It is strongly recommended that one creates a backup of the BCD store before &lt;br&gt;&lt;br&gt;making any changes to it. &lt;br&gt;&lt;br&gt;bcdedit /export "D:\BCD Backup\Bcd Backup" Creates a backup to a pre-created &lt;br&gt;&lt;br&gt;folder, in this case “BCD Backup” on drive D: &lt;br&gt;&lt;br&gt;bcdedit /import "D:\BCD Backup\Bcd Backup" Restores the backup previously &lt;br&gt;&lt;br&gt;created &lt;br&gt;&lt;br&gt;&lt;br&gt;[b]Making Changes to the Boot Configuration Data [/b]&lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;bcdedit /set {legacy} Description "Windows XP Professional SP2"&lt;/FONT&gt; Changes the &lt;br&gt;&lt;br&gt;text description of the “Legacy” OS line in the boot menu. The quotation marks &lt;br&gt;&lt;br&gt;must be included in the command &lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;bcdedit /set {current} description "Windows Vista Build 5308 x86"&lt;/FONT&gt; Changes the &lt;br&gt;&lt;br&gt;text of the boot menu line for the Vista or non-Vista installation one is &lt;br&gt;&lt;br&gt;currently booted to, from the default "Microsoft Windows" or other description &lt;br&gt;&lt;br&gt;to that shown in the quotation marks &lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} description “Windows Vista &lt;/FONT&gt;&lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;Build 5270 x64”&lt;/FONT&gt; Changes the text of the boot menu line for any other Vista &lt;br&gt;&lt;br&gt;installation. One must use the GUID for that particular installation as shown &lt;br&gt;&lt;br&gt;when one runs the bcdedit or bcdedit /enum all command &lt;br&gt;&lt;br&gt;bcdedit /default {current} Sets the current Windows installation one is booted &lt;br&gt;&lt;br&gt;to as the default Windows boot OS &lt;br&gt;&lt;br&gt;bcdedit /default {5189b25c-5558-4bf2-bca4-289b11bd29e2} Sets the referenced &lt;br&gt;&lt;br&gt;Windows OS as the {default} Windows boot OS &lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;bcdedit /default {legacy} Sets the legacy (Windows XP SP2) OS as {default} boot&lt;/FONT&gt; item &lt;br&gt;&lt;br&gt;bcdedit /displayorder Sets the display order of boot menu items for example: &lt;br&gt;&lt;br&gt;bcdedit.exe /displayorder {legacy} {current} &lt;br&gt;&lt;br&gt;&lt;FONT color=#bb1111&gt;bcdedit /timeout 15&lt;/FONT&gt; Changes the default 30 second time-out of the boot menu to &lt;br&gt;&lt;br&gt;15 seconds or any other value inserted. &lt;br&gt;&lt;br&gt;&lt;br&gt;[b]Correcting changes to the Partition/Disk structure [/b]&lt;br&gt;&lt;br&gt;Where a partition or a hard drive has been added or removed and has caused the &lt;br&gt;&lt;br&gt;partition/disk structure to change, this can be corrected by running these &lt;br&gt;&lt;br&gt;commands in the order shown: &lt;br&gt;&lt;br&gt;X:\&amp;gt;X:\boot\fixntfs.exe -lh -all (Where X: is the drive/partition on which the &lt;br&gt;&lt;br&gt;folder "boot" is to be found) &lt;br&gt;&lt;br&gt;bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} device partition=X: Changes &lt;br&gt;&lt;br&gt;boot partition of the OS whose GUID is indicated. (Where X: is new &lt;br&gt;&lt;br&gt;drive/partition required). Must be used together with the osdevice command &lt;br&gt;&lt;br&gt;below &lt;br&gt;&lt;br&gt;bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} osdevice partition=X: &lt;br&gt;&lt;br&gt;Changes boot partition of the OS whose GUID is indicated. (Where X: is new &lt;br&gt;&lt;br&gt;drive/partition required). Must be used together with the device command above &lt;br&gt;&lt;br&gt;&lt;br&gt;[b]Msconfig - System Configuration Utility [/b]&lt;br&gt;&lt;br&gt;The System Configuration Utility (msconfig) is accessible from the Windows &lt;br&gt;&lt;br&gt;Vista start menu, Start&amp;gt;All Programs&amp;gt;Accessories&amp;gt;System Tools&amp;gt;System &lt;br&gt;&lt;br&gt;Configuration. It has limited funcionality as regards the BCD store however, &lt;br&gt;&lt;br&gt;with the only relevant functionalities being to change the default boot &lt;br&gt;&lt;br&gt;operating system, to delete a boot menu item and to change the timeout display &lt;br&gt;&lt;br&gt;period of the boot menu. &lt;br&gt;&lt;br&gt;&lt;FONT color=#dd1111&gt;CAUTION: Making incorrect or invalid changes to one's BCD store can result in &lt;/FONT&gt;&lt;br&gt;&lt;br&gt;&lt;FONT color=#dd1111&gt;the system no longer booting and only those comfortable with using command line &lt;/FONT&gt;&lt;br&gt;&lt;br&gt;&lt;FONT color=#dd1111&gt;entries and who understand the inherent risks of making a mistake should do so.&lt;/FONT&gt;</description><pubDate>Wed, 15 Mar 2006 04:31:41 GMT</pubDate><dc:creator>knightcrawler</dc:creator></item></channel></rss>