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

Roberta Bragg

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

bootcfg /querynew in WS2003

Displays the boot loader and operating systems sections of

boot.ini .

Syntax

bootcfg /query

Examples

Display the results of using the bootcfg /query command:

bootcfg /query
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

Now compare this with the actual contents of the

boot.ini file:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
operating systems
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="WS2003, Enterprise" /fastdetect /noguiboot
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="WS2003 Enterprise" /fastdetect /noguiboot

Note that:

  • The Boot Loader Settings part of the output for bootcfg /query displays the information for each entry in the boot loader section of the

    boot.ini file.

  • The Boot Entries part of the output for bootcfg /query shows the Boot entry ID, Friendly Name, Path, and OS Load Options for each OS entry in the operating systems section of the

    boot.ini file.

Notes

Using bootcfg without switches produces the same result as bootcfg /query.

See Also

bootcfg,

Recovery Console