瑞星卡卡安全论坛

首页 » 技术交流区 » 系统软件 » vista下废弃引导选项如何删
蓝色金刚鹦鹉 - 2008-6-23 13:54:00
在大家的帮助下重建了引导管理器,但还是有点问题:引导管理器中有三个选项,一个为“早期版本的Windows”,另一个为Windows Vista,但还一个是乱码,没用的。在命令行里bcdedit中想看看,但无从下手,如图,废弃引导项是哪个?如何删掉?[img]file:///C:/Users/zhgwf/Pictures/bcdedit.jpeg[/img]

用户系统信息:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
蓝色金刚鹦鹉 - 2008-6-23 13:57:00
怎么上传图片???!
蓝色金刚鹦鹉 - 2008-6-23 14:11:00
文物2 - 2008-6-23 16:05:00
/delete
Deletes a boot entry from a BCD store:
bcdedit [/store filename] /delete id [/f] [/cleanup | /nocleanup]
Parameters
/store filename
Optional. The BCD store to be used. The default value is the system store. /store is discussed later in this paper.
id
Required. The identifier of the boot entry to be deleted.
/f
Optional. Force deletion. You must use this option to delete boot entries that have a well-known identifier. It is not required for other boot entries.
/cleanup | /nocleanup
Optional. These options specify whether the boot entry should be removed from the display order. The default value is /cleanup.
/cleanup
Removes the boot entry from the display order. If you delete an operating system boot loader entry, the associated resume-from-hibernation boot entry is also deleted, as long as it is not referenced by any other operating system loaders.
/nocleanup
Deletes the specified boot entry without removing it from the display order.
Examples
The following command deletes the specified Windows boot loader entry from the system BCD store and from the display order:
bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71}

The following command deletes the specified Windows boot loader entry from the system BCD store and from the display order:
bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71} /cleanup

The following command deletes the specified Windows boot loader entry from the system BCD store without removing the boot entry from the display order:
bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71} /nocleanup

The following command deletes the Ntldr boot entry from the system BCD store:
bcdedit /delete {ntldr} /f
/deletevalue
Deletes an element from a boot entry in a BCD store:
bcdedit [/store filename] /deletevalue [id] datatype
Parameters
/store filename
Optional. The BCD store to be used. The default value is the system store. /store is discussed later in this paper.
id
Optional. The identifier of the boot entry that owns the element to be deleted. By default, id is set to {current}.
datatype
Required. The element to be deleted. The elements and data formats that are available for the various boot entry types are listed in “BCDEdit Data Types” later in this paper.
Examples
The following command deletes the bootsequence element from the Boot Manager entry:
bcdedit /deletevalue {bootmgr} bootsequence


The following command deletes the Windows Preinstallation Environment (WinPE) element from the current operating system boot entry:
bcdedit /deletevalue winpe


The following command deletes the WinPE element from the specified Windows boot loader entry:
bcdedit /deletevalue {cbd971bf-b7b8-4885-951a-fa03044f5d71} winpe
Remarks
For more information on BCD elements and data formats, see “BCDEdit Data Types” and “BCDEdit Data Formats” later in this paper.
文物2 - 2008-6-23 16:15:00


引用:
原帖由 蓝色金刚鹦鹉 于 2008-6-23 14:11:00 发表


我觉的第一个resumeobject是废弃选项。
删之前需要进行备份,比如备份到C:\Data\BCD目录输入命令
bcdedit /export "C:\Data\BCD Backup"
恢复时命令格式为
bcdedit /import filename
我没用过这命令啦,filename大概是C:\Data\BCD

附件: BCDedit_reff.rar
1
查看完整版本: vista下废弃引导选项如何删