{"id":515,"date":"2022-09-06T21:29:53","date_gmt":"2022-09-07T04:29:53","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=515"},"modified":"2022-09-06T21:29:53","modified_gmt":"2022-09-07T04:29:53","slug":"windows-server-how-to-identify-which-domain-controller-authenticated-a-user","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=515","title":{"rendered":"Windows Server \u2013 How to identify which domain controller authenticated a user"},"content":{"rendered":"\n<p>Have the logged on user launch the command prompt on the target computer.&nbsp;Type&nbsp;<strong>Set Logonserver<\/strong>&nbsp;the name of the domain controller that authenticated the user will be returned.&nbsp;See the figure below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.interfacett.com\/wp-content\/uploads\/2013\/04\/001-windows-server-how-to-identify-which-domain-controller-authenticated-a-user.jpg\"><img decoding=\"async\" src=\"https:\/\/www.interfacett.com\/wp-content\/uploads\/2013\/04\/001-windows-server-how-to-identify-which-domain-controller-authenticated-a-user.jpg\" alt=\"Windows Server - How to identify which domain controller authenticated a user\" class=\"wp-image-12238\" title=\"001-windows-server-how-to-identify-which-domain-controller-authenticated-a-user\"\/><\/a><\/figure>\n\n\n\n<p>Using&nbsp;<strong>echo %username%&nbsp;<\/strong>will allow you create a script to identify the authenticating domain controller. See the figure below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.interfacett.com\/wp-content\/uploads\/2013\/04\/002-echo-username-windows-server-how-to-identify-which-domain-controller-authenticated-a-user.jpg\"><img decoding=\"async\" src=\"https:\/\/www.interfacett.com\/wp-content\/uploads\/2013\/04\/002-echo-username-windows-server-how-to-identify-which-domain-controller-authenticated-a-user.jpg\" alt=\"Echo%username% Windows Server Authentication\" class=\"wp-image-12239\" title=\"002-echo-username-windows-server-how-to-identify-which-domain-controller-authenticated-a-user\"\/><\/a><\/figure>\n\n\n\n<p>If you just desire to identify which domain controller the user retrieved group policies from you can type&nbsp;<strong>gpresult \/r<\/strong>.&nbsp;The returned results will provide you the name of the domain controller that provided the logged on user with GPOs.&nbsp;See the figure below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.interfacett.com\/wp-content\/uploads\/2013\/04\/003-gpresult-windows-server-how-to-identify-which-domain-controller-authenticated-a-user.jpg\"><img decoding=\"async\" src=\"https:\/\/www.interfacett.com\/wp-content\/uploads\/2013\/04\/003-gpresult-windows-server-how-to-identify-which-domain-controller-authenticated-a-user.jpg\" alt=\"gpresult \/r command prompt Windows Server\" class=\"wp-image-12240\" title=\"003-gpresult-windows-server-how-to-identify-which-domain-controller-authenticated-a-user\"\/><\/a><\/figure>\n\n\n\n<p>As you can see there are multiple ways to identify which domain controller authenticated a user.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have the logged on user launch the command prompt on the target computer.&nbsp;Type&nbsp;Set Logonserver&nbsp;the name of the domain controller that authenticated the user will be returned.&nbsp;See the figure below. Using&nbsp;echo %username%&nbsp;will allow you create a script to identify the authenticating &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=515\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,7],"tags":[],"class_list":["post-515","post","type-post","status-publish","format-standard","hentry","category-active-directory","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=515"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/515\/revisions"}],"predecessor-version":[{"id":516,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/515\/revisions\/516"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}