bcdedit删除引导_Bcdedit命令教程以及用于编辑Windows引导配置的示例

bcdedit删除引导

bcdedit删除引导

bcdedit is a command line tool used to manage Boot Configuration Data (BCD). This tool can be used to store boot configuration, boot applications and related settings. We need Administrator privileges in order to change and modify boot configuration with the bcdedit.

bcdedit是用于管理引导配置数据(BCD)的命令行工具。 该工具可用于存储启动配置,启动应用程序和相关设置。 我们需要管理员特权才能使用bcdedit更改和修改启动配置。

帮帮我 (Help)

Before starting using the bcdedit command we need to list and learn the features and options provided by the bcdedit command. We can use /? to list all available options and features.

在开始使用bcdedit命令之前,我们需要列出和学习bcdedit命令提供的功能和选项。 我们可以使用/? 列出所有可用的选项和功能。

> bcdedit /?
Help
Help
帮帮我

商店(Store)

Boot configuration is stored in stores. Stores are containers that hold configuration and values.

引导配置存储在存储中。 商店是保存配置和值的容器。

建立店铺 (Create a Store)

We can create en new and empty store with the /createstore. The newly created store is not a system store and named as a user store. In this example, we will create a new store named poftut.

我们可以使用/createstore创建一个新的空商店。 新创建的存储不是系统存储,而是被命名为用户存储。 在此示例中,我们将创建一个名为poftut的新商店。

> bcdedit /createstore poftut
Create a Store
Create a Store
建立店铺

出口商店(Export Store)

We can export a given store with the /export option. We will also the export name after the  /export option like below. This will be named as system.

我们可以使用/export选项导出给定的商店。 我们还将在/export选项之后添加导出名称,如下所示。 这将被命名为system

> bcdedit /export system
Export Store
Export Store
出口商店

进口商店(Import Store)

We can also import a given store and related boot configuration. We will use /import and provide the store name. In this example, we will import the store file named system.

我们还可以导入给定的商店和相关的启动配置。 我们将使用/import并提供商店名称。 在此示例中,我们将导入名为system的商店文件。

> bcdedit /import system

列出当前商店值 (List Current Store Values)

We can list current store values with the /store option. This will enum following information.

我们可以使用/store选项列出当前商店的值。 这将枚举以下信息。

  • `identifier`

    `标识符`
  • `device`

    设备
  • `timeout`

    `超时`
  • `path`

    路径
> bcdedit /store system
List Current Store Values
List Current Store Values
列出当前商店值

列表条目类型(List Entry Types)

Data types are identified using either a name or custom type. We can list them with the /? TYPES option like below.

数据类型使用名称或自定义类型来标识。 我们可以用/? TYPES列出它们/? TYPES /? TYPES选项如下。

> bcdedit /? TYPES
List Entry Types
List Entry Types
列表条目类型

列表条目格式(List Entry Formats)

Formats describe formats of the data that are required for data types used with the /set command. We can list supported format with the /? FORMATS option.

格式描述与/set命令一起使用的数据类型所需的数据格式。 我们可以使用/? FORMATS列出支持的格式/? FORMATS /? FORMATS选项。

> bcdedit /? FORMATS
List Entry Formats
List Entry Formats
列表条目格式

复制条目(Copy Entry)

We can copy an already existing entry with the /copy option. We need tp specify the entry we want to copy and the value of the entry

我们可以使用/copy选项复制一个已经存在的条目。 我们需要tp指定要复制的条目和该条目的值

> bcdedit /copy {052c3990-b2d4-11e8-a404-cb11a34d6922} /d "Copy of entry"
Copy Entry
Copy Entry
复制条目

创建条目(Create Entry)

We can create a new entry in the boot configuration of the data store. We will create a {ntldr} entry which data is "Old Windows OS Loader".

我们可以在数据存储区的启动配置中创建一个新条目。 我们将创建一个{ntldr}条目,其数据为"Old Windows OS Loader"

> bcdedit /create {ntldr} /d "Old Windows OS Loader"

删除条目 (Delete Entry)

We can delete an entry just by specifying the name of the entry. We will use /delete option for this.

我们可以仅通过指定条目名称来删除条目。 我们将使用/delete选项。

> bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71}
LEARN MORE  UEFI or Unified Extensible Firmware Interface
了解更多UEFI或统一可扩展固件接口

翻译自: https://www.poftut.com/bcdedit-command-tutorial-with-examples-to-edit-windows-boot-configuration/

bcdedit删除引导

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值