使用bcdedit 更改windows vista 的启动顺序,并用bootsect 删除启动管理器
2007-07-03 20:37
459 查看
下了个windows vista试用,等我旅游一趟回来,发现要激活。但我又没有激活码,所以连操作系统都进不去。vista安装后更改了启动顺序,将vista 设为缺省启动。这样我每次启动电脑一不留神就跑vista里面去了,而又不能用。查看XP的boot顺序,根本连vista的选项都没有。这就是说,我无法更改启动顺序,而缺省却总引导到一个我不能用的vista?
查看XP的boot.ini,发现vista加了个注释:
;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
因此找到装vista的E盘的windows/system32目录,
使用bcdedit.exe来更改启动选项。
该程序是字符界面。选项很多。经过摸索,成功更改了启动顺序,并删除vista的启动选项,手工将vista直接从硬盘中清除。
1.在cmd模式下,切换到 e:/windows/system32,执行bcdedit /v命令
E:/Windows/System32>bcdedit /v
Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {77c363ea-4851-11db-9098-ba68b5106fc5}
displayorder {466f5a88-0af2-4f76-9038-095b170dc21c}
{77c363ea-4851-11db-9098-ba68b5106fc5}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30
Windows Legacy OS Loader
------------------------
identifier {466f5a88-0af2-4f76-9038-095b170dc21c}
device partition=C:
path /ntldr
description Earlier Version of Windows
Windows Boot Loader
-------------------
identifier {77c363ea-4851-11db-9098-ba68b5106fc5}
device partition=E:
path /Windows/system32/winload.exe
description Microsoft Windows Vista
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
osdevice partition=E:
systemroot /Windows
resumeobject {77c363eb-4851-11db-9098-ba68b5106fc5}
nx OptIn
看到了Windows Legacy OS Loader的identifier 为 {466f5a88-0af2-4f76-9038-095b170dc21c}
2.执行下面的命令,将缺省启动选项改为XP:
E:/Windows/System32>bcdedit /default {466f5a88-0af2-4f76-9038-095b170dc21c}
操作成功完成。
查看一下启动选项:
E:/Windows/System32>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {ntldr}
displayorder {ntldr}
{77c363ea-4851-11db-9098-ba68b5106fc5}
toolsdisplayorder {memdiag}
timeout 30
Windows Legacy OS Loader
------------------------
identifier {ntldr}
device partition=C:
path /ntldr
description Earlier Version of Windows
Windows Boot Loader
-------------------
identifier {77c363ea-4851-11db-9098-ba68b5106fc5}
device partition=E:
path /Windows/system32/winload.exe
description Microsoft Windows Vista
locale en-US
inherit {bootloadersettings}
osdevice partition=E:
systemroot /Windows
resumeobject {77c363eb-4851-11db-9098-ba68b5106fc5}
nx OptIn
3.更改timeout时间
E:/Windows/System32>bcdedit /timeout 0
操作成功完成。
4.将Vista的选项清除
E:/Windows/System32>bcdedit /delete {77c363ea-4851-11db-9098-ba68b5106fc5}
操作成功完成。
//然后就可以将E盘的Vista直接删除了。最好是格式化。
接下来必须处理Vista遗留下来的BootManager:
☆ 使用 Daemon Tools 加载 Vista 光盘映像
☆ 打开“运行” (开始〉运行), 输入 cmd
☆ 输入 X: (X代表你的虚拟光驱盘符)
☆ 输入 cd boot
☆ 输入 bootsect /nt52 SYS (使用启动修复程序改变系统盘启动管理器)
☆ 重新启动, Vista 的 启动管理器已经消失了
☆ 删除在启动盘中的:
*Boot 文件夹
*Boot.BAK
*bootmgr
*BOOTSECT.BAK
查看XP的boot.ini,发现vista加了个注释:
;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
因此找到装vista的E盘的windows/system32目录,
使用bcdedit.exe来更改启动选项。
该程序是字符界面。选项很多。经过摸索,成功更改了启动顺序,并删除vista的启动选项,手工将vista直接从硬盘中清除。
1.在cmd模式下,切换到 e:/windows/system32,执行bcdedit /v命令
E:/Windows/System32>bcdedit /v
Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {77c363ea-4851-11db-9098-ba68b5106fc5}
displayorder {466f5a88-0af2-4f76-9038-095b170dc21c}
{77c363ea-4851-11db-9098-ba68b5106fc5}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30
Windows Legacy OS Loader
------------------------
identifier {466f5a88-0af2-4f76-9038-095b170dc21c}
device partition=C:
path /ntldr
description Earlier Version of Windows
Windows Boot Loader
-------------------
identifier {77c363ea-4851-11db-9098-ba68b5106fc5}
device partition=E:
path /Windows/system32/winload.exe
description Microsoft Windows Vista
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
osdevice partition=E:
systemroot /Windows
resumeobject {77c363eb-4851-11db-9098-ba68b5106fc5}
nx OptIn
看到了Windows Legacy OS Loader的identifier 为 {466f5a88-0af2-4f76-9038-095b170dc21c}
2.执行下面的命令,将缺省启动选项改为XP:
E:/Windows/System32>bcdedit /default {466f5a88-0af2-4f76-9038-095b170dc21c}
操作成功完成。
查看一下启动选项:
E:/Windows/System32>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {ntldr}
displayorder {ntldr}
{77c363ea-4851-11db-9098-ba68b5106fc5}
toolsdisplayorder {memdiag}
timeout 30
Windows Legacy OS Loader
------------------------
identifier {ntldr}
device partition=C:
path /ntldr
description Earlier Version of Windows
Windows Boot Loader
-------------------
identifier {77c363ea-4851-11db-9098-ba68b5106fc5}
device partition=E:
path /Windows/system32/winload.exe
description Microsoft Windows Vista
locale en-US
inherit {bootloadersettings}
osdevice partition=E:
systemroot /Windows
resumeobject {77c363eb-4851-11db-9098-ba68b5106fc5}
nx OptIn
3.更改timeout时间
E:/Windows/System32>bcdedit /timeout 0
操作成功完成。
4.将Vista的选项清除
E:/Windows/System32>bcdedit /delete {77c363ea-4851-11db-9098-ba68b5106fc5}
操作成功完成。
//然后就可以将E盘的Vista直接删除了。最好是格式化。
接下来必须处理Vista遗留下来的BootManager:
☆ 使用 Daemon Tools 加载 Vista 光盘映像
☆ 打开“运行” (开始〉运行), 输入 cmd
☆ 输入 X: (X代表你的虚拟光驱盘符)
☆ 输入 cd boot
☆ 输入 bootsect /nt52 SYS (使用启动修复程序改变系统盘启动管理器)
☆ 重新启动, Vista 的 启动管理器已经消失了
☆ 删除在启动盘中的:
*Boot 文件夹
*Boot.BAK
*bootmgr
*BOOTSECT.BAK
相关文章推荐
- 使用bcdedit 更改windows vista 的启动顺序
- 如何在 Windows 恢复环境中使用 Bootrec.exe 工具解决和修复 Windows Vista 中的启动问题
- 使用BCDEdit修改Windows Vista启动菜单
- 如何在 Windows 恢复环境中使用 Bootrec.exe 工具解决和修复 Windows Vista 中的启动问题
- 如何在 Windows 恢复环境中使用 Bootrec.exe 工具解决和修复 Windows Vista 中的启动问题
- 使用BCDEdit修改Windows Vista以及以上操作系统的系统启动菜单
- 更改了启动驱动器的 SATA 模式后启动基于 Windows Vista 的计算机时收到错误消息:“STOP 0x0000007B INACCESSABLE_BOOT_DEVICE”
- 使用Spring Boot操作Hive JDBC时,启动时报出错误:NoSuchMethodError: org.eclipse.jetty.servlet.ServletMapping.setDef
- spring boot 使用 JdbcTemplate 连接oracle数据库 及修改启动端口方法
- SpringBoot的配置文件加载顺序和使用方式
- Ubuntu12.04 开机启动菜单 删除多余的内核(旧版本) 调整不同操作系统的启动顺序
- 通过修改grub设置Linux和Windows等多个系统的启动顺序变更和删除
- ubuntu /boot目录不足,不小心删除系统正在使用的内核及其处理。
- Eclipse中maven环境搭配,使用jetty启动后不能更改css,js文件的解决方法
- spring boot 使用属性加载顺序
- [转]更改Ubuntu和Windows启动顺序的方法
- 使用u-boot引导linux的启动过程
- springboot使用Application启动失败,bootrun启动成功
- Spring Boot相关知识(二) Spring Boot项目启动的执行顺序和原理
- vxWorks/BootROM Imageq启动顺序详解