bootcfg /rmsw | new in WS2003 |
Removes load options for a specified OS entry.
bootcfg /rmsw [/mm] [/bv] [/so] [/ng] /id OSEntryLineNum
Removes /maxmem switch with its associated maximum memory value from OS entry specified by OSEntryLineNum
Removes /basevideo switch from OS entry specified by OSEntryLineNum
Removes /sos switch from OS entry specified by OSEntryLineNum
Removes /noguiboot switch from OS entry specified by OSEntryLineNum
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
The bootcfg /rmsw command has the opposite effect of the bootcfg /addsw command.
bootcfg , Recovery Console