Solved

domain controller windows 2008 r2 x64

Posted on 2014-04-25
3
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

734 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