bootcfg rmsw


bootcfg /rmsw new in WS2003

Removes load options for a specified OS entry.

Syntax

 bootcfg /rmsw [/mm] [/bv] [/so] [/ng] /id   OSEntryLineNum   

Options

/mm

Removes /maxmem switch with its associated maximum memory value from OS entry specified by OSEntryLineNum

/bv

Removes /basevideo switch from OS entry specified by OSEntryLineNum

/so

Removes /sos switch from OS entry specified by OSEntryLineNum

/ng

Removes /noguiboot switch from OS entry specified by OSEntryLineNum

Examples

Display current boot.ini info :

  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 

Remove the /noguiboot switch from boot entry 2:

  bootcfg /rmsw /ng /id 2  SUCCESS: Removed the switches from the OS entry for line "2" in the BOOT.INI. 

Verify the result:

  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 

Notes

The bootcfg /rmsw command has the opposite effect of the bootcfg /addsw command.

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