The bootcfg query command in Windows
The bootcfg query query and display the entries in the [boot loader] and [operating systems] from Boot.ini. The command applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
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
- The bootcfg ems command in Windows
- The bootcfg raw command in Windows
- The bootcfg rmsw command in Windows
- The command bootcfg delete in Windows
- The command bootcfg default in Windows
- The bootcfg timeout command in Windows
- The command bootcfg dbg1394 in Windows
- The bootcfg addsw command in Windows
- The bootcfg command copies in Windows
- The reg query command in Windows
- What is the Bootcfg command?
- Query command in Windows
Maybe you are interested
How to Use Windows Advanced Boot Options to Troubleshoot Faster
How to Use Rufus to Bypass TPM and Secure Boot Requirements in Windows 11
Quickly fix Unmountable Boot Volume error on Windows 10/11
How to fix Dell computer automatically booting into ePSA test mode
2 ways to create USB boot Windows 11 with Mac
How to use ADB and Fastboot on Android