Solved

domain controller windows 2008 r2 x64

Posted on 2014-04-25
3
249 Views
Last Modified: 2014-04-27
How do I find out if the server I am logged into is a domain controller??
0
Comment
Question by:Ikky786
3 Comments
 
LVL 5

Accepted Solution

by:
Billy Roth earned 250 total points
ID: 40023924
You could simply open server manager (usually there is a quicklink on the taskbar and start menu) and take a look at the installed roles.

If you are on a server with no graphical interface, or just prefer working through powershell, you can use the below from a powershell.

Import-Module servermanager
Get-WindowsFeature
0
 
LVL 29

Assisted Solution

by:becraig
becraig earned 250 total points
ID: 40023933
wmic.exe ComputerSystem get DomainRole

Value       Hexidecimal value       DomainRole
0       0x0       Standalone Workstation
1       0x1       Member Workstation
2       0c2       Standalone Server
3       0x3       Member Server
4       0x4       Backup Domain Controller
5       0x5       Primary Domain Controller
0
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40023970
Another easy way is to get IP address by running ipconfig. Then perform nslookup for the domain fqdn (ie nslookup domain.local).  If the IP is in the list then it is a DC.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Internal CA server 6 88
Password prompt not showing. 8 21
Change Window Login ID 5 20
install sql server management studio 2008 express error 3 26
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question