感觉这个文章有点过时了 –2019-06-11
首先vista 及以后系统是不用boot.ini的,而msconfig无法删除。(老实说很早以前的事了,具体记不清也懒得再现环境)
当时是别人的电脑,我在XP卸载360,结果系统进不去了。我直接把XP装了个win7,结果会有个旧版本的windows给你选择,一直处理不掉
1、以管理员身份启动cmd窗口【一定要以管理员身份启动,否者提示无法打开启动配置文件,拒绝访问。启动方法可以按照C:/windows/system32/cmd.exe路径找到cmd.exe 然后鼠标右键选择 以管理员身份运行或者在任务管理器里用“运行新任务”】
2、输入并执行命令bcdedit,得到如下结果:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| C:/Windows/system32>bcdedit
Windows Boot Manager -------------------- identifier {bootmgr} device partition=C: description Windows Boot Manager locale zh-CN inherit {globalsettings} default {current} resumeobject {f00a81b4-9c18-11de-817f-f75094157968} displayorder {current} {f00a81b3-9c18-11de-817f-f75094157968} {f00a81b8-9c18-11de-817f-f75094157968} toolsdisplayorder {memdiag} timeout 10
Windows Boot Loader ------------------- identifier {current} device partition=C: path /Windows/system32/winload.exe description Windows 7 locale zh-CN inherit {bootloadersettings} recoverysequence {f00a81b6-9c18-11de-817f-f75094157968} recoveryenabled Yes osdevice partition=C: systemroot /Windows resumeobject {f00a81b4-9c18-11de-817f-f75094157968} nx OptIn
Real-mode Boot Sector --------------------- identifier {f00a81b8-9c18-11de-817f-f75094157968} device partition=F: path /ubuntu/winboot/wubildr.mbr
|
description Ubuntu 【说明了系统的版本】
其中最后一条记录正是需要删除掉的ubuntu,它的ID号是{f00a81b8-9c18-11de-817f-f75094157968}
3、输入并执行命令bcdedit /delete {f00a81b3-9c18-11de-817f-f75094157968}
bcdedit /displayorder {current}
不显示选择 直接启动windows7