[转载]windows7中没用boot.ini文件而是改用BCDEDIT来配置了

本人安装的Win7,因为机上有两个系统,一个dos系统,一个win7系统,开机时总是会在系统选择的界面停留在30秒,我不想浪费这个时间,按以前XP的思路,只要修改系统盘根目录中的boot.ini即可,可是进入win7系统,找不到这到这个文件了,在网上搜索一通,原来现在Windows7不是用boot.ini文件来配置这个的,而是用BCDEDIT程序来配置,大家可运行cmd进入dos界面,输入bcdedit命令可查看配置信息,如下:

C:UsersAdministrator>bcdedit

Windows 启动管理器
--------------------
标识符                  {bootmgr}
device                  partition=C:
description             Windows Boot Manager
locale                  zh-CN
inherit                 {globalsettings}
default                 {current}
resumeobject            {3efd3a30-a452-11de-ba3a-870b5a0c554f}
displayorder            {current}
                        {3efd3a36-a452-11de-ba3a-870b5a0c554f}
toolsdisplayorder       {memdiag}
timeout                 30

Windows 启动加载器
-------------------
标识符                  {current}
device                  partition=C:
path                    Windowssystem32winload.exe
description             Windows 7
locale                  zh-CN
inherit                 {bootloadersettings}
recoverysequence        {3efd3a37-a452-11de-ba3a-870b5a0c554f}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              Windows
resumeobject            {3efd3a30-a452-11de-ba3a-870b5a0c554f}
nx                      OptIn

实模式启动扇区
---------------------
标识符                  {3efd3a36-a452-11de-ba3a-870b5a0c554f}
device                  partition=C:
path                    ghldr.mbr
description             DOS

 

其实我想要修改的就是上面的

timeout                 30

把30改为0,修改方法如下:

通过命令BCDEDIT /set {bootmgr} timeout 1 来配置停留时间,前面的1就是时间值,单位为秒。


 青春就应该这样绽放  游戏测试:三国时期谁是你最好的兄弟!!  你不得不信的星座秘密
原文地址:https://www.cnblogs.com/huapox/p/3509650.html