Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

domain controller windows 2008 r2 x64

Posted on 2014-04-25
3
Medium Priority
?
267 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 1000 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 1000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
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…

782 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