Skip to main content

BCDEDIT command to edit the boot manager of Windows 7 insted of Legacy Boot.ini on windows XP

 Running command prompt "Run as administrator" (AT YOUR OWN RISK)...



BCDEDIT - Boot Configuration Data Store Editor

The Bcdedit.exe command-line tool modifies the boot configuration data store.
The boot configuration data store contains boot configuration parameters and
controls how the operating system is booted. These parameters were previously
in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile
RAM entries (in Extensible Firmware Interface-based operating systems). You can
use Bcdedit.exe to add, delete, edit, and append entries in the boot
configuration data store.

For detailed command and option information, type bcdedit.exe /? . For
example, to display detailed information about the /createstore command, type:

bcdedit.exe /? /createstore

For an alphabetical list of topics in this help file, run "bcdedit /? TOPICS".

Commands that operate on a store
================================
/createstore Creates a new and empty boot configuration data store.
/export Exports the contents of the system store to a file. This file
can be used later to restore the state of the system store.
/import Restores the state of the system store using a backup file
created with the /export command.
/sysstore Sets the system store device (only affects EFI systems, does
not persist across reboots, and is only used in cases where
the system store device is ambiguous).

Commands that operate on entries in a store
===========================================
/copy Makes copies of entries in the store.
/create Creates new entries in the store.
/delete Deletes entries from the store.
/mirror Creates mirror of entries in the store.

Run bcdedit /? ID for information about identifiers used by these commands.

Commands that operate on entry options
======================================
/deletevalue Deletes entry options from the store.
/set Sets entry option values in the store.

Run bcdedit /? TYPES for a list of datatypes used by these commands.
Run bcdedit /? FORMATS for a list of valid data formats.

Commands that control output
============================
/enum Lists entries in the store.
/v Command-line option that displays entry identifiers in full,
rather than using names for well-known identifiers.
Use /v by itself as a command to display entry identifiers
in full for the ACTIVE type.

Running "bcdedit" by itself is equivalent to running "bcdedit /enum ACTIVE".

Commands that control the boot manager
======================================
/bootsequence Sets the one-time boot sequence for the boot manager.
/default Sets the default entry that the boot manager will use.
/displayorder Sets the order in which the boot manager displays the
multiboot menu.
/timeout Sets the boot manager time-out value.
/toolsdisplayorder Sets the order in which the boot manager displays
the tools menu.

Commands that control Emergency Management Services for a boot application
=================================================
/bootems Enables or disables Emergency Management Services
for a boot application.
/ems Enables or disables Emergency Management Services for an
operating system entry.
/emssettings Sets the global Emergency Management Services parameters.

Command that control debugging
==============================
/bootdebug Enables or disables boot debugging for a boot application.
/dbgsettings Sets the global debugger parameters.
/debug Enables or disables kernel debugging for an operating system
entry.
/hypervisorsettings Sets the hypervisor parameters.

an example if you want to change the OS boot description
Code:
bcdedit /set {current} description "Windows 7 EgyEng.com"
You can use the /export command to create a backup file of the current system store contents.

For info on the /export command, type...
?
1
2
bcdedit /? /export




Examples..
?
1
2
3
bcdedit /export C:\BCDbak
bcdedit /export C:\"BCD bak"



(if file name contains spaces, it must be enclosed in quotation marks.)

You can then use the /import command to restore the system store contents if any non-fatal errors are encountered.
Examples..
?
1
2
3
bcdedit /import C:\"BCD bak"
bcdedit /import C:\BCDbak /clean




My dual-boot system has Windows 7 64bit and an earlier install of XPPro 64 bit. For a full description of entry identifiers, I type..
?
1
2
bcdedit /enum /v



..and I get..
Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {07cf7f58-e206-11dd-a0c8-bab28362099d}
resumeobject {07cf7f57-e206-11dd-a0c8-bab28362099d}
displayorder {466f5a88-0af2-4f76-9038-095b170dc21c}
{07cf7f58-e206-11dd-a0c8-bab28362099d}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30

Windows Legacy OS Loader
------------------------
identifier {466f5a88-0af2-4f76-9038-095b170dc21c}
device partition=\Device\HarddiskVolume1
path \ntldr
description Earlier Version of Windows

Windows Boot Loader
-------------------
identifier {07cf7f58-e206-11dd-a0c8-bab28362099d}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence {07cf7f59-e206-11dd-a0c8-bab28362099d}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {07cf7f57-e206-11dd-a0c8-bab28362099d}
nx OptIn
For output showing names for well-known identifiers and to show what system is active (current), I just type..
?
1
2
bcdedit



..and get..
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {07cf7f57-e206-11dd-a0c8-bab28362099d}
displayorder {ntldr}
{current}
toolsdisplayorder {memdiag}
timeout 30

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

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {07cf7f59-e206-11dd-a0c8-bab28362099d}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {07cf7f57-e206-11dd-a0c8-bab28362099d}
nx OptIn
I want to change the "Windows 7" description to "Windows 7 Ultimate X64 beta" so I type..
?
1
2
bcdedit /set {current} description "Windows 7 Ultimate X64 beta"



.. and voila
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {07cf7f57-e206-11dd-a0c8-bab28362099d}
displayorder {ntldr}
{current}
toolsdisplayorder {memdiag}
timeout 30

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

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7 Ultimate X64 beta
locale en-US
inherit {bootloadersettings}
recoverysequence {07cf7f59-e206-11dd-a0c8-bab28362099d}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {07cf7f57-e206-11dd-a0c8-bab28362099d}
nx OptIn
*edit*
If I wanted to alter the XP boot settings, I would log on to XP and just edit the boot.ini by right-clicking "My computer" then "properties", etc.

source: http://www.dslreports.com/forum/r21741595-Windows-7-boot-manager-editing-questions

Comments

Popular posts from this blog

Question كيفية عمل share للـ outlook conntact لكل الـ Domain Users

  الحل بسيط جدا عايز الكونتاكت تتحدث دايما بحيث انك لما تضيف يوزر جديد يسمع في الكونتاكت اول حاجه بتدخل علي in office 2003 tools --- email account ---- add address book --- internet directory service (LDAP) type your server name then login info . mark this server require me to logon type any user on active directory and its password then save and close outlook and open it again now you will find all your active directory users in address book

3 things has to be done for better performance

  Tips from Goutham: 3 things has to be done for better performance: By default, XP displays extra graphic objects for menu items which can slow down your display. 1. To turn off these selectively... Right click My Computer Select Properties Click Advanced tab Under Performance, click Settings button To turn them all off, select Adjust for best performance Preference is to leave them all off except for Show shadows under mouse pointer and Show window contents while dragging 2. To speed up the display of the Start Menu Items, turn off the menu shadow. Right click open area of the Desktop Select Properties Click Appearance tab Click Effects button Uncheck Show shadows under menus 3. You can increase system performance by loading more of the system into memory. DO NOT attempt this with less then 512MBs of ram. Your system will become unstable. Click Start Click Run Enter regedit Click OK Go to HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Session Manager Memory Management Double cli

The difference between DNS and NDS

  Novell Directory Services(NDS) - Novell Directory Services (NDS) is a popular software product for managing access to computer resources and keeping track of the users of a  network , such as a company's  intranet , from a single point of administration. Using NDS, a network administrator can set up and control a  database  of users and manage them using a  directory  with an easy-to-use graphical user interface ( GUI ). Users of computers at remote locations can be added, updated, and managed centrally. Applications can be distributed electronically and maintained centrally. NDS can be installed to run under  Windows NT , Sun Microsystem's Solaris, and IBM's  OS/390  as well as under Novell's own  NetWare  so that it can be used to control a multi-platform network. NDS is generally considered an industry  benchmark  against which other products, such as Microsoft's Active Directory, must compete. Lucent Technologies plans to integrate NDS into its own QIP product