DEV Community

Victor James
Victor James

Posted on • Originally published at windowscmd.com on

BROWSTAT

This command line is to get a domain, browser, and PDC info. This is a powerful command-line tool that can aid you to determine the source of a browsing problem and then help to fix it.

CMD Line

CMD Line is a ** text-based interface** that transfers the command from the user to the OS.

CLI-Command Line Interpreter

The command-line interpreter (CLI) for windows is CMD.EXE. Also, you can use PowerShell which can automize many system administration tasks and these tasks are not approachable in command prompt. With the help of the CLI, you can communicate with your system by typing the text in commands. As a result, your system answers to the text that you have typed previously, and then the user can proceed with the next command line that shows up.

Ways to open the Run command Window

Run command window helps you to run programs, open the files and folders. And there are several ways to open up the run command dialog box. This run command box is useful for you to head straight to the destined program easily.

Way 1: By using the Keyboard shortcut Key:

WINDOWS+R

The shortcut key method to the run command box is the most commonly used one. Also, this method is in all versions of Windows. You need to press the **Windows+ R **key concurrently to open the Run command dialog box.

Run command box
Run command box

Way 2: Using the search box:

  • You can also use the search box to open the Run command Windows.
  • In the left corner of your desktop, you can see the search box near the Windows icon.

Search bar
Search bar

  • In that box type run, a ** pop-up menu box ** appears in that select ** Run**.

Search box
Search box

  • After you select the Run app in the pop-up menu, the Run dialog box appears on your screen.

Run command box
Run command box

  • By using one of these methods, you can open the *Run * command Windows.

BROWNSTAT.exe

This command is to get NetBIOS browser and PDC information. NetBIOS is disapproved in Windows 2000 and above, the command is not supported on Server 2008 R2.

Syntax:


 BROWSTAT option

Enter fullscreen mode Exit fullscreen mode

Options:

  • BROWSTAT Dumpnet

BROWSTAT dn – Shows the transports bound to the browser.

  • BROWSTAT GetPdc Transport Domain

BROWSTAT gp Transport Domain – Lists the PDC name (via NetBIOS)

  • BROWSTAT Getblist Transport

BROWSTAT gb Transport – Lists the backup DNS Servers.

  • BROWSTAT ListWfw

BROWSTAT wfw – WindowsforWorkgroups servers running the browser.

  • BROWSTAT Stats \ServerName

BROWSTAT sts \ServerName – This lists all the browser statistics

  • BROWSTAT Status : Display Transport, Primary DNS and Backup DNS servers.

BROWSTAT sta

  • BROWSTAT Status -v domain- Verbose Status Display include Server OS and active browsers.

BROWSTAT sta -v domain

  • BROWSTAT Tickle – Force remote master to stop.

BROWSTAT Tic

  • BROWSTAT Elect – Force election on remote domain.

BROWSTAT el

  • BROWSTAT View Transport BROWSTAT vw Transport BROWSTAT vw Transport ‹domain› BROWSTAT vw Transport \Server BROWSTAT vw Transport \‹Server› /DOMAIN ‹DomainToQuery>

In this, the VIEW options list server services running across a server or domain. Other Browstat features will only work within a single network subnet. To span subnets/routers across a domain, run browstat via psexec.

In the list displays, the following flags are used:

| W = Workstation | NT = Windows NT |
| S = Server | W95 = Windows95 |
| SQL = SQLServer | WFW = WindowsForWorkgroups |
| SS = StandardServer | MFPN = MS Netware |
| PDC = PrimaryDomainController | NV = Novell |
| BDC = BackupDomainController | XN = Xenix |
| TS = Time Source | MBC = Member Server |
| PQ = Print Queue Server | DL = Dial-in Server |
| AFP = AFP Server | OSF = OSF Server |
| VMS = VMS Server | PBR = Potential Browser |
| BBR = Backup Browser, | MBR = Master Browser |
| DMB = DomainMaster Browser | DFS = Distributed File System |

Examples:

To display Transports


C:\>browstat dn

List of transports currently bound to the browser

1 \Device\NetBT_Tcpip_{B1AFFCA2-6410-4644-9FE7-BA6C274FD4F3}

Enter fullscreen mode Exit fullscreen mode

Shows the backup DNS servers for transport #1


C:\>browstat gb 1

Browser: \\PC00096
Browser: \\PC00082

Enter fullscreen mode Exit fullscreen mode

To list the Print queues for transport #1


C:\> BROWSTAT vw 1 |find "PQ"

Enter fullscreen mode Exit fullscreen mode

Verdict:

In this article, we have seen about Browstat.exe command-line tool that can aid you to determine the source of a browsing problem and then help to fix it.

Read Further:

  • BROWSTAT In this article, we are going to discuss the BROWSTAT.exe command-line tool that is used to get a domain, browser, and PDC info.
  • BOOTREC In this article, we have discussed the BOOTREC command-line tool, which works as a repair or replaces a partition boot sector.
  • BCDEDIT In this article, we have discussed the BCDEDIT command-line tool that manages the Boot Configuration Data.
  • Assoc In this article, we have discussed the Assoc command line that works to change file extension associations.
  • ADDUSERS In this article, we have covered about the ADDUSERS CMD and how that command helps to automate the creation of numerous usernames.

The post BROWSTAT appeared first on Windows Commands- SS64 Commands.

Discussion (0)