Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 271
نمايش فراداده

bootcfg /addswnew in WS2003

Adds load options for a specified OS entry in

boot.ini .

Syntax

bootcfg /addsw [/mm MaximumRAM] [/bv] [/so] [/ng] /id OSEntryLineNum

Options

/mm MaximumRAM

Specifies maximum amount of RAM the operating system can use

/bv

Adds the /basevideo option to OS entry specified by OSEntryLineNum to force use of standard VGA mode

/so

Adds the /sos option to OS entry specified by OSEntryLineNum to display names of device drivers as they load

/ng

Adds the /noguiboot option to OS entry specified by OSEntryLineNum to hide the progress bar that appears before the logon prompt

Examples

Disable the boot progress bar for OS entry 1 in the operating systems section of

boot.ini :

bootcfg /addsw /ng /id 1
SUCCESS: Added the switch to OS entry for line "1" in the BOOT.INI file.

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

Notes

To remove boot entry switches after adding them, use the bootcfg /rmsw command.

See Also

bootcfg,

Recovery Console