Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-02-10
5
Medium Priority
?
320 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 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

670 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