Boot Configuration Data (BCD)Edit

Boot Configuration Data (BCD) files provide a store that is used to describe boot applications and boot application settings. The objects and elements in the store effectively replace Boot.ini.

BCDEdit is a command-line tool for managing BCD stores. It can be used for a variety of purposes, including creating new stores, modifying existing stores, adding boot menu parameters, and so on. BCDEdit serves essentially the same purpose as Bootcfg.exe on earlier versions of Windows, but with two major improvements:

*Exposes a wider range of boot parameters than Bootcfg.exe.

*Has improved scripting support.

Command line options

C:\windows\system32>bcdedit /?

 

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 /? <command>. 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

================================

/createstoreCreates 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

======================================

/bootsequenceSets 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.

/emssettingsSets the global Emergency Management Services parameters.

 

Command that control debugging

==============================

/bootdebug     Enables or disables boot debugging for a boot application.

/dbgsettingsSets the global debugger parameters.

/debug         Enables or disables kernel debugging for an operating system

entry.

/hypervisorsettings Sets the hypervisor parameters.

 

Example:

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           {cf0742ba-cc87-11e2-acb8-b8ac6f24c6ff}

displayorder           {current}

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       {ebf98e0b-cc17-11e2-94cf-b8ac6f24c6ff}

recoveryenabled         Yes

osdevice               partition=C:

systemroot             \windows

resumeobject           {cf0742ba-cc87-11e2-acb8-b8ac6f24c6ff}

nxOptIn

 

  1. Click Start- All Programs-Accesories-Commando Prompt – “Right Click-Run as administrator”
  2. “Bcdedit /set PAE forceenable”
  3. Restart Server

 

 

https://msdn.microsoft.com/en-us/library/aa366796(VS.85).aspx

 

System Support for PAE

 

PAE is supported only on the following 32-bit versions of Windows running on x86-based systems:

  • Windows 7 (32 bit only)
  • Windows Server 2008 (32-bit only)
  • Windows Vista (32-bit only)
  • Windows Server 2003 (32-bit only)
  • Windows XP (32-bit only)

https://msdn.microsoft.com/en-us/library/windows/desktop/aa366796(v=vs.85).aspx

Advertisements

Posted on July 18, 2015, in Windows. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: