Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to measure the time taken by the users to login to the Active Directory Server, note that this time should also include the time taken for the logon scripts to run fully.

After lots of Googling I was repeatedly told to add performance counters but that wouldn't be much of a end user perspective.

So I really wanted to know if there are any ways (through VBscript/Powershell for example) I could simulate a login.

Note: Initially I thought of authenticating using a program (C#), but that wouldn't include the loading of the logon Script.

share|improve this question

If you're running Windows 2000, Windows XP, or Windows Server 2003 you can enable user environment debug logging:

If you're running Windows Vista, Windows 7, or Windows Server 2008 you can look in the Group Policy event log:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.