How to find DC and other servers

There are few checks for identifing the dc between other servers

First Method
Check the computer roles using command net accounts

c:\>net accounts

computer role  :primary FOR PDC
computer role  :backup  for ADC
computer role  :server for member server

Second Method
Check Netbios registrations using command nbtstat

c:\>nbtstat -n        1c registered

NetBIOS Local Name Table   for PDC

Name               Type         Status
———————————————
TESTLAB1    <00>  UNIQUE      Registered    workstation service
TESTLAB     <00>  GROUP       Registered   domain name
TESTLAB    <1C>  GROUP       Registered    domain controller
TESTLAB1    <20>  UNIQUE      Registered    file server service
TESTLAB    <1B>  UNIQUE       Registered    DOMAIN MASTER BROWSER
TESTLAB    <1E>  GROUP       Registered    browser service election
TESTLAB    <1D>  UNIQUE      Registered    master browser
..__MSBROWSE__.<01>  GROUP       Registered    master browser

Name               Type         Status   for BDC
———————————————
TESTLAB2     <00>  UNIQUE      Registered
TESTLAB   <00>  GROUP       Registered
TESTLAB    <1C>  GROUP       Registered
TESTLAB2     <20>  UNIQUE      Registered
TESTLAB   <1E>  GROUP       Registered

Name               Type         Status   for Servers
———————————————
TESTLAB3     <00>  UNIQUE      Registered
TESTLAB   <00>  GROUP       Registered
TESTLAB3     <20>  UNIQUE      Registered
TESTLAB   <1E>  GROUP       Registered

Third Method
Check the services for the Domain controllers.there will be a service running as kdc

c:\>net start -(KDC will started on domains)

Fourth Method
Check the default shares using command net share

c:\>net share        for DCs

NETLOGON
SYSVOL

Advertisements

Posted on April 8, 2011, in Uncategorized, Windows. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: