bootcfg /default | new in WS2003 |
Designates an OS entry as the default.
bootcfg /default /id OSEntryLineNum
Specifies line number of OS entry that should be designated as default OS to boot from
Display current boot menu:
bootcfg Boot Loader Settings -------------------- timeout:30 default:multi(0)disk(0)rdisk(0)partition(1)\WINDOWS Boot Entries ------------ Boot entry ID: 1 OS Friendly Name: WS2003, Enterprise Path: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS OS Load Options: /fastdetect /noguiboot Boot entry ID: 2 OS Friendly Name: WS2003 Enterprise Path: multi(0)disk(0)rdisk(0)partition(2)\WINDOWS OS Load Options: /fastdetect /noguiboot
Note default OS listed in line 4. Now change default OS to boot entry 2:
bootcfg /default /id 2 SUCCESS: Changed the default OS entry in the BOOT.INI.
Verify the result:
bootcfg Boot Loader Settings -------------------- timeout:30 default:multi(0)disk(0)rdisk(0)partition(2)\WINDOWS Boot Entries ------------ Boot entry ID: 1 OS Friendly Name: WS2003 Enterprise Path: multi(0)disk(0)rdisk(0)partition(2)\WINDOWS OS Load Options: /fastdetect /noguiboot Boot entry ID: 2 OS Friendly Name: WS2003, Enterprise Path: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS OS Load Options: /fastdetect /noguiboot
Note the change in line 4 and the reversed boot entries.
You can also use the GUI to specify which OS entry should be the default for booting:
Control Panel System Advanced Startup and Recovery Settings select default OS
bootcfg , Recovery Console