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:

  1. 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: 
  1. The Boot Loader Settings section in the result of the bootcfg / query command displays each entry in the [boot loader] section of Boot.ini.
  2. 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:

  1. The bootcfg command copies in Windows
  2. The bootcfg addsw command in Windows
  3. What is the Bootcfg command?
Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile