WIN7系统BCDEDIT添加XP启动

作者:system 发布于:2013-7-3 17:37

Bcdedit /create {ntldr} /d "Windows XP Professional" 
Bcdedit /set {ntldr} device partition=c: 
Bcdedit /set {ntldr} path \ntldr 
Bcdedit /displayorder {ntldr} /addlast

Bcdedit /timeout 10
 
win7系统添加 Vista windows 7 win8

bcdedit /create /d "Windows win7" /application osloader
成功并返回:
{678b5w56-k974-11h2-c3e6-w5b7f439h252}
 
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} device partition=\Device\Harddisk0\Partition4
 
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} path \Windows\system32\winload.exe
 
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} locale zh-CN
 
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} inherit {bootloadersettings}
 
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} recoveryenabled Yes bcdedit /set {**13b***-****-****-****-f35af68ae***} osdevice partition=\Device \HarddiskVolume1   这个ID(不知是怎么来的?)??
 
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} systemroot \Windows
 
这里的ID是 启动管理器的{bootmgr} ID
bcdedit /set {678b5w56-k974-11h2-c3e6-w5b7f439h252} resumeobject {874d3b80-e974-11e2-a3e6-e5c7f4392e58}
 
加到开机启动列表里
bcdedit /displayorder {678b5w56-k974-11h2-c3e6-w5b7f439h252} /addlast
 

评论(0) 浏览(58352)

Powered by emlog