How do I find the last login name, date, time and last modified for a offline computer


I have a Windows 2000 DC and from my AD there are several old computers. These computers are offline and I will like to know if it is possible to retrieve details like login name in that computer, the date and  time and computer last modified date? If so, how can I do it.
I will prefer to use Microsoft tools or scripting. No third party tools are allowed because my environment is sensitive.

For my knowledge, where are the above information stored and do they exist forever? I don't see them in the AD. Hence I believe it is written somewhere in the DC.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I don't understand what you meant by saying that the computers were offline, but I assume that you want to know when the users were logged onto the domain using those computers. See this page:

This shows you how to pull it up from the AD:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The original post says that he wants a native MS solution
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

DecarnAuthor Commented:
Hi btdownloads7,

Allow me to make myself clearer. In WSUS, we have a list of computers that has not reported for X number of days. These computers are still in our AD but we are not able to ping those computers. They could be offline or for some reason not able to communicate with WSUS.

Hence, I will like to retrieve the last user who log on to those computers and the date the user logon. We can then contact the user to find out where the computer is.
DecarnAuthor Commented:
Hi Guys,

Maybe I should rephase my question.

I have several offline computers. How do I find the last time this computer was online so that I can removed it from my AD?
DecarnAuthor Commented:
Thanks. I have found the script to extract the computer last logon time as well as using DSQUERY to find out the inactive computers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.