bootcfg delete


bootcfg /delete new in WS2003

Deletes an OS entry.

Syntax

 bootcfg /delete /id   OSEntryLineNum   

Options

/id OSEntryLineNum

Deletes the OS entry with line number OSEntryLineNum in the operating systems section of boot.ini file

Examples

Display current boot.ini info :

  bootcfg  Boot Loader Settings -------------------- timeout:0 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 

Delete the second boot entry:

  bootcfg /delete /id 2  SUCCESS: OS entry "2" has been deleted. 

Verify the result:

  bootcfg  Boot Loader Settings -------------------- timeout:0 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 

See Also

bootcfg , Recovery Console



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net