window7 F8菜单选择“修复计算机”选项无法进入的解决办法

来源:互联网 发布:手机网络延迟 编辑:程序博客网 时间:2024/04/28 05:45

最近几天想在win7下多装一个XP组成双系统,过程中需要进入“修复计算机”的命令行工具,这时才发现自己电脑的这个选项竟不知道什么时候坏了,选择后显示载入失败,提示需要插入光盘修复,为此还专门刻了张光盘,但按照提示完成操作之后依旧老样子,问题未解决。后来在网上看来看去终于找到了解决办法,如下供参考:

 

(1) win7系统下打开cmd命令行


(2) 执行 bcdedit /enum all


我的显示内容如下,带{}的部分每台电脑会不一样:

 

Windows 启动管理器

--------------------

标识符                  {bootmgr}

device                  partition=/Device/HarddiskVolume2

path                    /bootmgr

description             Windows Boot Manager

locale                  zh-CN

inherit                 {globalsettings}

default                 {current}

resumeobject            {08097013-a022-11e0-a354-89c63826a38e}

displayorder            {current}

toolsdisplayorder       {memdiag}

timeout                 30

 

Windows 启动加载器

-------------------

标识符                  {current}

device                  partition=C:

path                    /Windows/system32/winload.exe

description             Windows 7

locale                  zh-CN

inherit                 {bootloadersettings}

recoverysequence        {08097017-a022-11e0-a354-89c63826a38e}

recoveryenabled         Yes

osdevice                partition=C:

systemroot              /Windows

resumeobject            {08097013-a022-11e0-a354-89c63826a38e}

nx                      OptIn

 

Windows 启动加载器

-------------------

标识符                  {08097017-a022-11e0-a354-89c63826a38e}

device                  ramdisk=[C:]/Recovery/7bcd8109-3ff3-11e0-b519-fa5f8414d

88/Winre.wim,{08097018-a022-11e0-a354-89c63826a38e}

path                    /windows/system32/winload.exe

description             Windows Recovery Environment

locale

osdevice                ramdisk=[C:]/Recovery/7bcd8109-3ff3-11e0-b519-fa5f8414d

88/Winre.wim,{08097018-a022-11e0-a354-89c63826a38e}

systemroot              /windows

winpe                   Yes

 

从休眠状态恢复

---------------------

标识符                  {08097013-a022-11e0-a354-89c63826a38e}

device                  partition=C:

path                    /Windows/system32/winresume.exe

description             Windows Resume Application

locale                  zh-CN

inherit                 {resumeloadersettings}

filedevice              partition=C:

filepath                /hiberfil.sys

debugoptionenabled      No

 

Windows 内存测试程序

---------------------

标识符                  {memdiag}

device                  partition=/Device/HarddiskVolume2

path                    /boot/memtest.exe

description             Windows Memory Diagnostic

locale                  zh-CN

inherit                 {globalsettings}

badmemoryaccess         Yes

 

EMS 设置

------------

标识符                  {emssettings}

bootems                 Yes

 

调试器设置

-----------------

标识符                  {dbgsettings}

debugtype               Serial

debugport               1

baudrate                115200

 

RAM 故障

-----------

标识符                  {badmemory}

 

全局设置

---------------

标识符                  {globalsettings}

inherit                 {dbgsettings}

                        {emssettings}

                        {badmemory}

 

启动加载器设置

--------------------

标识符                  {bootloadersettings}

inherit                 {globalsettings}

                        {hypervisorsettings}

 

虚拟机监控程序设置

-------------------

标识符                  {hypervisorsettings}

hypervisordebugtype     Serial

hypervisordebugport     1

hypervisorbaudrate      115200

 

恢复加载器设置

----------------------

标识符                  {resumeloadersettings}

inherit                 {globalsettings}

 

设备选项

--------------

标识符                  {08097018-a022-11e0-a354-89c63826a38e}

ramdisksdidevice        partition=C:

ramdisksdipath          /Recovery/7bcd8109-3ff3-11e0-b519-fa5f8414d188/boot.sdi

 

(3) 在{current}段找到recoverysequence 对应的值{08097017-a022-11e0-a354-89c63826a38e},然后在后面的段里查找这个值,找到之后检查其中的路径是否正确,我的情况是这个不正确,所以修改这个值即可,另外,该值的字段里对应的还有一个值{08097018-a022-11e0-a354-89c63826a38e},修改时注意都要更正。(设计到的部分上面已经标红)

 

(4) 具体修改方法使用bcdedit命令,详细内容网上一搜一大片,这里贴上解决问题是使用的。

bcdedit /create {*}   // 创建新段

bcdedit /delete {*}   // 删掉无用段

bcdedit /set {current} recoverysequence {08097017-a022-11e0-a354-89c63826a38e}

bcdedit /set{08097017-a022-11e0-a354-89c63826a38e} path /Windows/system32/winload.exe

 

原创粉丝点击