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

Due to my IT department leaving I am now responsible for all our IT systems. I now have several problems to get my head around and fix.

I run Active Directory on windows server 2003 and use group policy to apply settings etc. Recently we have had some windows 7 clients added to our network, these are having awful problems with our logon scripts and drive mappings. For the most part my XP clients are working without a problem.

What I want to know is what is going on during logon, as running the logon scripts after I have logged on often works. Does anyone know of a way to get detailed log information of what is happening before and during logon.

Thanks for your help and any suggestions you have for tracking down the source of these problems.

share|improve this question
up vote 1 down vote accepted

What you're going to want to do is enable userenv logging (User Environment). Keep in mind that these logs will be extremely verbose.

Then follow these excellent articles for what is happening during the creation of the user environment.

share|improve this answer
Do you know how to enable this for Windows 7 – Simon Foster Jan 7 '11 at 16:51
Ah, sorry. Didn't catch Windows 7. Apparently there are changes to this procedure in this edition. Have a look here:… – GregD Jan 7 '11 at 17:02
Thanks for that – Simon Foster Jan 7 '11 at 17:25

I would suggest that you write separate logon scripts that you know work on windows 7, and group the machines in different OUs.

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.