Slide Ads

Thursday, July 16, 2009

Using BCDEDIT to change/add/remove/update entry

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:

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:

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>

No comments: