Solved

domain controller windows 2008 r2 x64

Posted on 2014-04-25
3
253 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

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

630 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