{"id":51,"date":"2010-05-19T06:56:16","date_gmt":"2010-05-19T06:56:16","guid":{"rendered":"http:\/\/vyapin.com\/blogs\/index.php\/2010\/05\/19\/last-logon-date-and-time-of-computers-2\/"},"modified":"2021-05-28T12:29:06","modified_gmt":"2021-05-28T12:29:06","slug":"last-logon-date-and-time-of-computers-2","status":"publish","type":"post","link":"https:\/\/www.vyapinsoftware.com\/blog\/last-logon-date-and-time-of-computers-2","title":{"rendered":"How to Get Last Logon date and time of Computers?"},"content":{"rendered":"<p>Last-Logon attribute is one of the non-replicated attributes in Active Directory Domain Services, which means that each domain controller in a domain holds its own copy of the attribute, likely with different values. Similarly each Domain Controller in a domain stores different values as computers&#8217; Last-Logon date and time. To access the latest logon time of a computer, we need to visit each domain controller and their corresponding attributes manually.<\/p>\n<p>Our Admin Report Kit for Active Directory retrieves the last Logon attribute from all Domain Controllers in a domain and delivers the most recent time a computer has logged onto the domain.<\/p>\n<p>The following image shows the last logon value of the computer,&#8217;RD55&#8242; corresponding to RD48.Spacenet.local Domain controller.<\/p>\n<p><a href=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda12.png\" data-lbwps-width=\"739\" data-lbwps-height=\"441\" data-lbwps-srcsmall=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda12-300x179.png\"><img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda12.png\" \/><\/a><\/p>\n<p>The following image shows the last logon value of the computer &#8216;RD55&#8217; corresponding to RD45.Spacenet.local Domain controller.<\/p>\n<p><a href=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda22.png\" data-lbwps-width=\"746\" data-lbwps-height=\"442\" data-lbwps-srcsmall=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda22-300x178.png\"><img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda22.png\" \/><\/a><\/p>\n<p>The following image shows the most recent Log on date and time of RD55.\u00a0 ARKAD enumerates last logon values from all the Domain Controllers\u00a0in a domain and retrieves the most recent value among all the DC&#8217;s.<\/p>\n<p><a href=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda32.png\" data-lbwps-width=\"753\" data-lbwps-height=\"367\" data-lbwps-srcsmall=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda32-300x146.png\"><img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2010\/05\/051910-1056-lastlogonda32.png\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last-Logon attribute is one of the non-replicated attributes in Active Directory Domain Services, which means that each domain controller in a domain holds its own copy of the attribute, likely with different values. Similarly each Domain Controller in a domain stores different values as computers&#8217; Last-Logon date and time. To access the latest logon time [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":57,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144],"tags":[20,21,167],"class_list":["post-51","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-active-directory-auditing","tag-active-directory-reporting","tag-arkad"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":7,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":8174,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions\/8174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/media\/57"}],"wp:attachment":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}