Sideway
output.to from Sideway
Draft for Information Only

Content

BCDEdit Operation on entry options
 BCDEdit /deletevalue
  Syntax
  Parameter
  Example
 BCDEdit /set
  Syntax
  Parameter
  Example
 Sources and References

BCDEdit Operation on entry options

BCDEdit /deletevalue

image This command deletes a data element from an entry in the boot configuration data store.

Syntax

bcdedit [/store <filename>] /deletevalue [<id>] <datatype>

Parameter

<filename>Specifies the store to be used. If this option is not specified, the system store is used. For more information, run "bcdedit /? store". <id>Specifies the identifier of the entry that will be modified. If not specified, {current} is used. For more information about identifiers, run "bcdedit /? ID". <datatype>Specifies the option that will be removed from the specified entry. Run "bcdedit /? TYPES" for more information about data types.

Example

The following command deletes the bootsequence option from the boot manager entry: bcdedit /deletevalue {bootmgr} bootsequence The following command deletes the Windows Preinstallation Environment (WinPE) value from the current operating system boot entry: bcdedit /deletevalue winpe The following command deletes the Windows PE value from the specified operating system boot entry: bcdedit /deletevalue {cbd971bf-b7b8-4885-951a-fa03044f5d71} winpe

BCDEdit /set

image This command sets an entry option value in the boot configuration data store.

Syntax

bcdedit [/store <filename>] /set [{<id>}] <datatype> <value> [ /addfirst | /addlast | /remove ]

Parameter

<filename>Specifies the store to be used. If this option is not specified, the system store is used. For more information, run "bcdedit /? store". <id>Specifies the identifier of the entry to be modified. If not specified, {current} is used. For more information about identifiers, run "bcdedit /? ID". <datatype>Specifies the option data type that will be created or modified. Run "bcdedit /? TYPES" for more information about data types. <value>Specifies the value that should be assigned to the option. The format of <value> depends on the data type specified. Run "bcdedit /? FORMATS" for more information about data formats. /addfirstThis switch can only be used if datatype is an object list. Adds the specified entry identifier to the top of the list. If this switch is specified, only a single entry identifier may be specified. If the specified identifier is already in the list, it will be moved to the top of the list. /addlastThis switch can only be used if datatype is an object list. Adds the specified entry identifier to the end of the list. If this switch is specified, only a single entry identifier may be specified. If the specified identifier is already in the list, it is moved to the end of the list. /removeThis switch can only be used if datatype is an object list. Removes the specified entry identifier from the list. If this switch is specified, only a single entry identifier may be specified. If the identifier is not in the list then the operation has no effect. If the last entry is being removed, then the datatype value is deleted.

Example

The following command sets the application device to the partition C: for the specified operating system entry: bcdedit /set {cbd971bf-b7b8-4885-951a-fa03044f5d71} device partition=C: The following command deletes the Windows Preinstallation Environment (WinPE) value from the current operating system boot entry: bcdedit /deletevalue winpe The following command deletes the Windows PE value from the specified operating system boot entry: bcdedit /deletevalue {cbd971bf-b7b8-4885-951a-fa03044f5d71} winpe NOTE: Use 'hd_partiton=' syntax to explicitly disable automatic VHD detection, and create entries that are compatible for booting a virtual machine, i.e., bcdedit /store F:\boot\bcd /set {default} device hd_partition=F: The following command sets the OS device to a VHD file (C:\vdisks\vdisk01.vhd) for the specified operating system entry: bcdedit /set {cbd971bf-b7b8-4885-951a-fa03044f5d71} osdevice vhd=[C:]\vdisks\disk01.vhd The following command sets the application path to \windows\system32\winload.exe for the specified operating system entry: bcdedit /set {cbd971bf-b7b8-4885-951a-fa03044f5d71} path \windows\system32\winload.exe The following command sets the NX policy to OptIn for the current operating system boot entry. bcdedit /set nx optin

Sources and References


©sideway

ID: 210400008 Last Updated: 4/8/2021 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339new

Travel 9new

Reference 79

Computer

Hardware 251

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019