qishun's profile躺在角落的孤独者PhotosBlogLists Tools Help

Blog


    November 09

    Bcdedit操作指令,编辑BCD文件

    Bcdedit 位于X:\Windows\system32\ "X:"为安装Vista的盘符。

      储存操作指令

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

      /createstore 创建一个新的空白启动配置数据文件。

      bcdedit /createstore C:\Data\BCD 创建BCD启动配置数据文件储存到“C:\DATA\”文件夹。

      /export 备份启动配置数据文件。

      bcdedit /export "C:\Data\BCD Backup" 备份BCD启动配置文件到“C:\Data\”文件夹,并以“BCD Backup”命名。

      /import 还原启动配置数据文件。

      bcdedit /import "C:\Data\BCD Backup" 从“C:\Data\”文件夹恢复BCD启动配置文件。

      储存项目操作指令

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

      /copy 项目拷贝

      操作系统启动项目的拷贝:

      bcdedit /copy {cbd971bf-b7b8-4885-951a-fa03044f5d71} /d "Copy of entry"

      /create 新建项目

      创建操作系统载入程序项目的 NTLDR(Ntldr):

      bcdedit /create {ntldr} /d "Earlier Windows OS Loader"

      创建存储器磁碟另外的选择项项目:

      bcdedit /create {ramdiskoptions} /d "Ramdisk options"

      创建一个新的操作系统启动项目:

      bcdedit /create /d "Windows Vista" /application osloader

      创建一个新的调试器:

      bcdedit /create {dbgsettings} /d "Debugger Settings"

      /delete 删除项目

      删除指定的操作系统项目:

      bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71}

      删除指定的操作系统项目但启动时不显示项目(彻底删除):

      bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71} /cleanup

      删除指定的操作系统项目但启动时显示项目:

      bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71} /nocleanup

      删除操作系统载入程序项目的 NTLDR:

      bcdedit /delete {ntldr} /f

      项目选择操作指令

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

      /deletevalue 删除项目选择项。

      删除启动管理的bootmgr选择项项目:

      bcdedit /deletevalue {bootmgr} bootsequence

      删除(WinPE)操作系统的数值开机项目:

      bcdedit /deletevalue winpe

      删除来自指定的操作的 Windows PE 数值系统开机项目:

      bcdedit /deletevalue {cbd971bf-b7b8-4885-951a-fa03044f5d71} winpe

      /set 设定项目选择项数值。

      设定操作系统“cbd971bf-b7b8-4885-951a-fa03044f5d71”引导分区“C”:

      bcdedit /set {cbd971bf-b7b8-4885-951a-fa03044f5d71} device partition=C:

      指定的操作系统引导文件“ windows\ system 32\ winload.exe”:

      bcdedit /set {cbd971bf-b7b8-4885-951a-fa03044f5d71} path \windows\system32\winload.exe

      设定“NX”为“OptIn”:

      bcdedit /set nx optin

      更改系统名称

      默认XP系统名称在Vista启动管理器中是"earlier version of Windows",更改:

      bcdedit /set {ntldr} Description "Windows XP Professional SP2"

      默认Vista系统名称在Vista启动管理器中是"Microsoft Windows",更改:

      bcdedit /set {current} Description "Windows Vista 5456"

      输出控制指令

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

      /enum 在储存中的列表项目。

      列出所有的操作系统载入程序启动项目:

      bcdedit /enum OSLOADER

      列出所有的启动管理项目:

      bcdedit /enum BOOTMGR

      列出默认的启动项目:

      bcdedit /enum {default}

      列出指定的操作系统启动项目:

      bcdedit /enum {b38a9fc1-5690-11da-b795-e9ad3c5e0e3a}

      /v 列出所有活动的项目

      bcdedit /enum ACTIVE /v  

      启动管理控制指令

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

      /bootsequence 设定启动列表顺序。

      设定二个操作系统项目和启动顺序:

      bcdedit /bootsequence {802d5e32-0784-11da-bd33-000476eba25f} {cbd971bf-b7b8-4885-951a- fa03044f5d71} {ntldr}

      加入操作系统项目为启动列表最后项:

      bcdedit /bootsequence {802d5e32-0784-11da-bd33-000476eba25f} /addlast

      /default 设定默认启动项目。

      设定默认启动项目:

      bcdedit /default {cbd971bf-b7b8-4885-951a-fa03044f5d71}

      设定默认启动操作系统程序为 NTLDR:

      bcdedit /default {ntldr}

      /displayorder 设定哪一个系统启动显示多启动画面。

      设定二个操作系统项目和在启动管理显示命令中被建立操作系统载入的程序 NTLDR:

      bcdedit /displayorder {802d5e32-0784-11da-bd33-000476eba25f}

       {cbd971bf-b7b8-4885-951a-fa03044f5d71} {ntldr}

      把指定的操作系统项目加入启动管理显示命令结束:

      bcdedit /displayorder {802d5e32-0784-11da-bd33-000476eba25f} /addlast

      /timeout 设定启动暂停数值。

      /toolsdisplayorder 设定命令在哪一个启动管理显示工具画面。

      设定二个工具项目和内存诊断在那启动管理工具显示命令:

      bcdedit /toolsdisplayorder {802d5e32-0784-11da-bd33-000476eba25f}

       {cbd971bf-b7b8-4885-951a-fa03044f5d71} {memdiag}

      把指定的工具项目加入启动的结束管理工具显示命令:

      bcdedit /toolsdisplayorder {802d5e32-0784-11da-bd33-000476eba25f} /addlast 

      为一个启动应用程序控制紧急处理服务的指令

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

      /bootems

      开启启动管理紧急处理服务:

      bcdedit /bootems {bootmgr} ON

      /ems

       为目前的操作系统启动项目 EMS 开启:

      bcdedit /ems ON

      /emssettings 设定紧急处理服务参数。

      设定 EMS 参数使用基本输出入系统设定:

       bcdedit /emssettings BIOS

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://caoqishun1984.spaces.live.com/blog/cns!D1C04C5A6FCAAADE!452.trak
    Weblogs that reference this entry
    • None