• Wow,体验Windows Vista!
    • 您的位置 Vista之家 >> Vista应用技巧 >> vista启动菜单轻松搞定-bcdedit.exe
    • vista启动菜单轻松搞定-bcdedit.exe

    • 作者:Vista之家  来源:Vista之家整理  日期:2007-4-8 8:21:26  
    • 昨天安装vista x64,没有把vista x86删除干净,导致系统启动出现多个选择菜单,按照习惯,是修改boot.ini文件,但是打开此文件,提示:

      ;
      ;Warning: Boot.ini is used on Windows XP and earlier operating systems.
      ;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
      ;


      也就是说,要修改vista的启动菜单,需要使用专门的工具~~
      在c:\windows\system32中搜索到bcdedit.exe,但是双击没有反应,于是运行cmd打开命令行窗口,可以执行,但是总是提示:

      The boot configuration data store could not be opened.
      Access is denied.

      访问被拒绝。
      想了一下,应该是权限保护的问题。在网上搜索资料,发现执行Command Prompt以"Run as administrator"方式来运行,可以获得管理员权限。
      执行bcdedit /?可以获得bcdedit的帮助信息。
      第一次运行bcdedit,得到信息如下:

      Windows Boot Manager
      --------------------
      identifier              {bootmgr}
      device                  partition=D:
      description             Windows Boot Manager
      locale                  en-US
      inherit                 {globalsettings}
      default                 {ntldr}
      displayorder            {ntldr}
                              {current}
                              {6a80a10a-ba23-1243-be6a-c181f14c4040}
      toolsdisplayorder       {memdiag}
      timeout                 5
      Windows Legacy OS Loader
      ------------------------
      identifier              {ntldr}
      device                  partition=D:
      path                    \ntldr
      description             Earlier Version of Windows
      Windows Boot Loader
      -------------------
      identifier              {current}
      device                  partition=C:
      path                    \Windows\system32\winload.exe
      description             Microsoft Windows Vista
      locale                  en-US
      inherit                 {bootloadersettings}
      osdevice                partition=C:
      systemroot              \Windows
      resumeobject            {e3f80351-956c-11db-b612-b7fc4a37edc1}
      nx                      OptIn
      Windows Boot Loader
      -------------------
      identifier              {6a80a10a-ba23-1243-be6a-c181f14c4040}
      device                  unknown
      path                    \Windows\system32\winload.exe
      description             Microsoft Windows Vista
      locale                  en-US
      inherit                 {bootloadersettings}
      osdevice                unknown
      systemroot              \Windows
      resumeobject            {6a80a10b-ba23-1243-be6a-c181f14c4040}
      nx                      OptIn

      启动列表中,有3个系统,其中第一个是winXP,第二个是vista x64,第三个是信息丢失的vista x86。因此在device一项写有 unknown。
      每一个系统都有一个唯一的ID(identifier),所以,输入命令时,要使用ID号。
      我执行了如下的命令

      BCDEDIT /DELETE {6a80a10a-ba23-1243-be6a-c181f14c4040}      ------删除第三个系统
      bcdedit /set {current} Description "Microsoft Windows Vista x64"   ------把第二个系统改名为Microsoft Windows Vista x64
      bcdedit /set {ntldr} Description "Microsoft Windows XP"                ------把第一个系统改名为Microsoft Windows XP

      操作完成后,重新执行bcdedit,察看启动信息:

      Windows Boot Manager
      --------------------
      identifier              {bootmgr}
      device                  partition=D:
      description             Windows Boot Manager
      locale                  en-US
      inherit                 {globalsettings}
      default                 {ntldr}
      displayorder            {ntldr}
                              {current}
      toolsdisplayorder       {memdiag}
      timeout                 5
      Windows Legacy OS Loader
      ------------------------
      identifier              {ntldr}
      device                  partition=D:
      path                    \ntldr
      description             Microsoft Windows XP
      Windows Boot Loader
      -------------------
      identifier              {current}
      device                  partition=C:
      path                    \Windows\system32\winload.exe
      description             Microsoft Windows Vista x64
      locale                  en-US
      inherit                 {bootloadersettings}
      osdevice                partition=C:
      systemroot              \Windows
      resumeobject            {e3f80351-956c-11db-b612-b7fc4a37edc1}
      nx                      OptIn

      哈哈,终于正常了!!
      顺便给引导菜单做个备份
      bcdedit /export "e:\vista\bcdbkp\bcd0"
      导出引导菜单到e:\vista\bcdbkp目录。

      希望对玩vista的朋友们有所帮助!!(责任编辑: Admin)
    • 上一篇:实战:利用谷歌拼音输入法漏洞破解Vista!
      下一篇:轻轻松松卸载Vista(同样适应于2000和XP系统)
    • 赞助商链接
    • Copyright © 2007 VistaZJ.COM. All Right Reserved.
      使用 1024*768 分辨率浏览VISTA之家以达到最佳视觉效果
      VISTA之家 — 浙ICP备06031249号.