Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command line program you can use?

share|improve this question
I don't have access to the Domain Controller, just other clients. – LwoodyIII Jun 25 '09 at 20:51
Download Thunderbird mail client and enter in your login information, Thunderbird will auto-discover if Active Directory is using Kerberos or NTLM. – Eric Leschinski Aug 4 '13 at 14:01

I think question should be twisted on its head. Active Directory supports both Kerberos and NTLM. Windows will first try Kerberos and if all requirements are not met it will fallback to NTLM.

I will give you example, accessing file share by name like \server1\share would invoke Kerberos and should succeed given proper permision. But accessing same file share using IP address would invoke Kerberos first and fail (as there is no SPN for IP Address) and then fail over to NTLM.

So determine how your program is trying to authenticate against AD and should tell you which protocol is being used.

I would be curious to know, what prompted to ask you this question.

share|improve this answer

You can view the list of active Kerberos tickets to see if there is one for the service of interest, e.g. by running klist.exe.

There's also a way to log Kerberos events if you hack the registry.

share|improve this answer

You should really be auditing logon events, whether the computer is a server or workstation. It's helpful to figure out which users are accessing your system, and to troubleshoot security related issues.

You can modify your Audit Policy with Group Policy: Start...Run...gpedit.msc...Computer Configuration, Windows Settings, Security Settings, Local Policies, Audit Policy, "Audit logon events". Check the "Success" and "Failure" check boxes. Try logging out and logging in to see some typical 540 events in your Windows Security Event Log.

share|improve this answer

Netstat shows all listening TCP and UDP connections. using the option -na is for all connections and no resolution of names or ports. 'b' option is to show the program assiciated with it. If DNS is running it may show alot of other connections so you might want to also specify TCP.

Kerberos is most definately running if its a deploy Active Directory Domain Controller.

netstat -nab

share|improve this answer

Assuming you're auditing logon events, check your security event log and look for 540 events. They will tell you whether a specific authentication was done with Kerberos or NTLM.

share|improve this answer
i don't have any 540 events :( – LwoodyIII Jun 25 '09 at 20:54

Depends on the client/server that is involved. For example, there is a web page (sorry, don't have time to search for it now) you can put on a web site that will tell you if kerberos or NTLM was used. However I know of no way to tell what authentication method SQL server has used. Although as has been sugegsted before, the security log may tell you.
Why are you trying to find out?

share|improve this answer
 public string FindAllUsers()
            string strReturn="";
                DirectoryEntry directoryEntry = new DirectoryEntry("WinNT://" + Environment.UserDomainName);
                string userNames = "";
                string authenticationType = "";
                foreach (DirectoryEntry child in directoryEntry.Children)
                    if (child.SchemaClassName == "User")
                        userNames += child.Name + Environment.NewLine; //Iterates and binds all user using a newline
                        authenticationType += child.Username + Environment.NewLine;

                strReturn = userNames + "\n\n" + authenticationType;
                //Console.WriteLine("*****************Authentication Type*****************");
            catch (Exception)
                Console.WriteLine("Network error occured.");
                strReturn = "";
            return strReturn;
share|improve this answer
This needs a lot more explanation to be useful. – Sven Jan 3 '15 at 11:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.