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 do you know about Linux distros?linux has existed for nearly 30 years, this is a historic journey. if you are interested in the history of some of the major linux distributions, read the following article.
- What file is 3GP? How to open, edit and convert 3GP files3gp format is a video format developed by 3rd generation partnership project
- Differentiate between TTF and OTF fontsif you often work with fonts, maybe many times you've wondered yourself what is the difference between otf and ttf? when deciding to download fonts for my system.
- What file is WAV and WAVE? How to open, edit and convert WAV and WAVE filesa file with .wav or .wave extension is waveform audio files. this is the standard audio format developed by microsoft and ibm in 1991.
- What file is FLAC? How to open, edit and convert FLAC filesfree lossless audio codec flac audio compression is called lossless music, meaning that the sound quality will not be lost during file compression.
- What file is M4A? How to open, edit and convert M4A filesthe file is part of an extension .m4a is an mpeg-4 audio file. they are usually found in apple's itunes store and are considered as the default format of songs when downloaded.