Using BCDEDIT

Posted by ABY MAULANA RAMADHAN | 11:42 PM | | 1 comments »


After installing the Windows 7 operating system as the second after the Windows XP and Windows Vista will ultimately find the choice of whether to membooting computer with Windows 7 or earlier versions of Windows. In the dual-boot mode is generated after the installation of Windows 7, by default the computer will be booting with Windows 7 when in 30 seconds does not do us any choice of Windows to be run. For me or some of your habits that have a PC and then turn away, can be so because it should restart back into Windows XP, not Windows 7. To change the default or delay time, there is a tool from Windows that can be used, namely BCDEDIT.

BCDEDIT is a command-line tool that can be used to configure the boot manager in Windows Vista and Windows 7. This is a boot manager that appear in the form of operating system options and how each operating system is booting, and this boot loader such as GRUB or LILO in the Linux operating system.

BCDEDIT that will be used to set the boot configuration data (BCD) in Windows Boot Manager is run through the Command Prompt as administrator. Do, open the Start - All Programs - Accessories then right-click on the Command Prompt and select Run As Administrator. In the confirmation dialog box that appears, select Yes.

By typing bcdedit via Command Prompt then [Enter], BCD contents will be displayed at this time. The result will appear like this:


Microsoft Windows [Version 6.1.7000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>bcdedit

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {4e5ddbb6-e5e3-11dd-beac-b1d96077c337}
displayorder {current}
{ntldr}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {4e5ddbb8-e5e3-11dd-beac-b1d96077c337}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {4e5ddbb6-e5e3-11dd-beac-b1d96077c337}
nx OptIn

Windows Legacy OS Loader
------------------------
identifier {ntldr}
device partition=\Device\HarddiskVolume1
path \ntldr
description Earlier version of Windows

C:\Windows\system32>



In the boot there is shown each boot entry with each of its parameters, including:

1. Identifier
System is the name given to a boot entry is written diapit (). Can be seen, to have the Windows Boot manager identifier (bootmgr), (current) to Windows 7, and (ntldr) for Windows XP. This will be used later in the boot parameters mengubahi its entry.

2. Device
Is the drive, partition, or virtual image that will be used to membooting a boot entry.

3. Path
Is the location on the device where the boot loader file.

4. Description
Is a description of a boot entry, and this will be displayed as the name in the list of options sisitem operations at the boot manager when booting.

As a precaution, before making the changes should make a backup on the BCD is currently doing with the export to a file, I run the following command:



bcdedit /export C:\BCDku




BCD with the command will be stored in a file called BCDku on drive C. If something happens later on, for example at the time of or after the changes and want to return the BCD is to eat BCD can be imported with the command as follows:



bcdedit /import C:\BCDku




After knowing how to export and import BCD, then we try to do some simple changes by typing the following:




bcdedit /set {ntldr} description "Windows XP Proffesional"




The above command is used to change the description for the boot entry (ntldr) (Windows XP) from the previously written "Earlier version of Windows" to "Windows XP Proffesional" for example. You can use the description that you want that will appear in the list of OS options.



bcdedit /displayorder {ntldr} /addfirst




The above command is used to display options (ntldr) / Windows XP on the first menu in the list of the OS.



bcdedit /displayorder {current} /addlast




The above command is used to display the current selection) (/ Windows 7 on the last thread on the OS list. If there are only two, this is an alternative to the previous command.



bcdedit /displayorder {ntldr} {current}




Other alternatives to set the order of the list of OS on the menu, which is mentioned first will be at the top of the order more.




bcdedit /default {ntldr}




The above command is used to change the default OS to be run if you do not select a time after the timeout is, to (ntldr) / Windows XP.



bcdedit /timeout 10




Command is used to change the timeout to 10 seconds. If in this time there is no activity then choose the default OS to be run.

Commands above is a small part of what can be done with bcdedit. That for example, to add another entry to boot another OS, remove the boot entry, and other. For help and a list of parameters for BCDEDIT can be found by typing



bcdedit /?




To read the guidelines and parameters that have displayorder for example, can be done with the command



bcdedit /displayorder /?




essentially live when /? behind him.

Of the few examples of the use BCDEDIT above, at least you can make changes as I do that already, the change description, change the order of the list menu, change the default OS that runs a Windows XP, and change the timeout from 30 seconds to 10 seconds.

Related Posts by Categories



1 comments

  1. BOGCESS // February 26, 2009 at 10:11 AM  

    Hi! I bought my own domain and changed it from http://e-pera.blogspot.com to http://www.e-pera.info
    Kindly update your blogroll.
    Thanks and GODBLESS!

    E-Pera

Post a Comment

Followers

ss_blog_claim=22387b05730b245ec746bdae3ac95a19 ss_blog_claim=22387b05730b245ec746bdae3ac95a19