Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-security-and-firewall domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/ynenztmy/public_html/activedirectory/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/ynenztmy/public_html/activedirectory/wp-includes/functions.php on line 6114
How can we check from where user is getting authenticated? - ActiveDirectory
Active Directory

How can we check from where user is getting authenticated?

A domain controller is a critical component in Active Directory that authenticates users connecting to the domain. If you’re having trouble accessing resources on a particular domain or if it takes a long time to authenticate your login, your computer may be communicating with the wrong site. Use Command Prompt to find out which DC your system is connected to. There are several commands to find out this.

  • Click Start and enter CMD.
  • When the CMD window opens, enter the following and hit enter:
echo %logonserver%

The %logonserver% environment variable shows the DC which authenticated the *user* - not the computer.
  • Click Start and enter CMD.
  • When the CMD window opens, enter the following and hit enter:
Set l

How can we check from where computer is getting authenticated?

To see which DC authenticated the computer, run this command:
nltest /DSGETDC:

  • Click Start and enter CMD.
  • When the CMD window opens, enter the following and hit enter:

Example- nltest /dsgetdc:windowstechno.local

  • Click Start and enter CMD.
  • When the CMD window opens, enter the following and hit enter:
gpresult /r
CN=Vipan Thakur,OU=AD-Team,OU=Users-Directory,DC=Windowstechno,DC=local
Last time Group Policy was applied: 5/27/2023 at 10:52:12 PM
Group Policy was applied from:      DC11.Windowstechno.local
Group Policy slow link threshold:   500 kbps
Domain Name:                        WINDOWSTECHNO
Domain Type:                        Windows 2008 or later

Instead of the domain controller name appearing in the LogonServer variable, if you logged in to a computer using your local account, the name of your computer will appear.

So, that’s all in this blog. I will meet you soon with next stuff .Have a nice day !!!

Guys please don’t forget to like and share the post.Also join our Active Directory page and where you can post your queries/doubts and our experts will address them .

You can also share the feedback on below ActiveDirectory email id.

If you have any questions feel free to contact us on admin@activedirectory.in also follow us on facebook page to get updates about new blog posts.

Vipan Kumar

He is an Active Directory Consultant. He has been working in IT industry for more than 10 years. He is dedicated and enthusiastic information technology expert who always ready to resolve any technical problem. If you guys need any further help on subject matters, feel free to contact us on admin@activedirectory.in. Please subscribe our Facebook page as well website for latest article.

Recent Posts

What are the steps to move the DC in production site after promotion?

Moving a domain controller (DC) to a production site after promotion involves several steps. Here's…

1 year ago

What are the staging and production sites in Active directory?

In Active Directory, staging and production sites refer to different environments used for testing and deploying changes…

1 year ago

If domain controller down for some time, is it good to move this to staging site? if yes then why?

If a domain controller (DC) has been down for an extended period of time, there…

1 year ago

What information contain netlogon logs?

Netlogon logs contain information related to the Netlogon service on a Windows Server, which is responsible for authenticating…

1 year ago

What are sites in Active directory? What are they used for?

In Active Directory, sites are a logical construct used to group together network resources (such as domain…

1 year ago

How we can redirect specific user’s subnet to get the authentication from particular AD site

You can redirect a specific subnet to authenticate from a particular Active Directory site by using site…

1 year ago