Curtis Johnstone Curtis Johnstone's Personal Blog

May 2, 2011

How to Find the Domain Controller for a Windows Domain

Filed under: Technology — Tags: , — admin @ 9:49 am

There are many situations where you are logged on to a Microsoft Windows Workstation or Server and need to find the domain controller for the domain that the computer is joined to.

The simplest way that works on all versions of windows is:

> echo %LOGONSERVER%

Or:

> NETCOM QUERY /Domain:<Domain FQDN> DC (note the “DC” is required at the end)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress