Solved

how do i change the last login date shown for a user in AD sbs 2003

Posted on 2011-02-10
5
318 Views
Last Modified: 2012-05-11
I need to change the date that appears for a user in Active Directory.  The user is disabled and i just edit the value that is given for last login date.

how can i do this quicky?

thanks!
0
Comment
Question by:jeremycushing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34865330
Have tried ADSIEdit?
0
 
LVL 85

Accepted Solution

by:
oBdA earned 500 total points
ID: 34866459
Not possible, sorry. The Last-Logon attribute, like some others, can only be written by the system, it's not an attribute that you are allowed to edit at will.
Note the "Update Privilege: This value is set by the system.".
Last-Logon Attribute
http://msdn.microsoft.com/en-us/library/ms676823(v=VS.85).aspx

In comparison "SAM-Account-Name Attribute", for example: "Update Privilege: Domain administrator"
SAM-Account-Name Attribute
http://msdn.microsoft.com/en-us/library/ms679635(v=VS.85).aspx

You can only "edit" this value to the current date and time by enabling the account, resetting the password, and logging on with it ...
0
 
LVL 1

Author Comment

by:jeremycushing
ID: 34866532
I found that out just now :(
0
 
LVL 16

Expert Comment

by:Ady Foot
ID: 35446381
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question