The bootcfg query command in Windows
Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
The bootcfg query query and display the entries in the [boot loader] and [operating systems] from Boot.ini.
Syntax
bootcfg / query [/ s [/ u / p]]
Parameters
Parameter Description / s Specifies the name or IP address of the remote computer (do not use a backslash). The default is the local computer. / u Run the command with the user account specified behind the sign. Default is the current user login rights on the computer that is issuing the command. / p Specify the password for the user account specified in the / u parameter . /? Show help at the command prompt.Attention:
- The following is an example of the bootcfg / query result :
Boot Loader Settings ---------- timeout: 30 default: multi (0) disk (0) rdisk (0) partition (1) WINDOWS Boot Entries ------ Boot entry ID: 1 Friendly Name : "" path: multi (0) disk (0) rdisk (0) partition (1) WINDOWS OS Load Options: / fastdetect / debug / debugport = com1:
- The Boot Loader Settings section in the result of the bootcfg / query command displays each entry in the [boot loader] section of Boot.ini.
- The Boot Entries section in the result of the bootcfg / query command displays details for each operating system entry in the [operating systems] section of Boot.ini: Boot entry ID (Boot entry ID), Friendly Name (commonly called name) ), Path (OS) and OS Load Options (operating system load options).
For example
The following examples show how you can use the bootcfg / query command :
bootcfg / query bootcfg / query / s srvmain / u maindomhiropln / pp @ ssW23 bootcfg / query / u hiropln / pp @ ssW23
See more:
- The bootcfg command copies in Windows
- The bootcfg addsw command in Windows
- What is the Bootcfg command?
4.5 ★ | 2 Vote
You should read it
May be interested
- What is the Bootcfg command?the bootcfg command is a recovery console command used to integrate or modify boot.ini files. boot.ini is a hidden file used to determine the directory on the partition, and the folder location on the windows hard drive.
- Query command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Qappsrv (query termserver) command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Qprocess (query process) command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Qwinsta (query session) command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- The quser (query user) command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- The LIKE command in SQLin sql, the like command is used to compare a value with similar values by using wildcards.
- The multiple-choice question set has an answer to Query P1in the previous articles, the network administrator sent you read query queries. following the series on this topic, below is the next part of the questionnaire, invite readers to try.
- Action Query in Action 2016action queries are queries that perform actions on data, can add, change or delete records.
- Multiple choice questions have a Query optionquery is a language used in databases and information systems. the following is an invitation to test your knowledge with network administrator through multiple-choice questions below.