How can I find which logon script is being run?

Posted by user2517266 on Server Fault See other posts from Server Fault or by user2517266
Published on 2013-06-28T12:37:25Z Indexed on 2013/07/01 16:23 UTC
Read the original article Hit count: 153

I'm having an issue with network drives. Suddenly some computers and users aren't getting their mapped network drives from the logon script. I am NOT a domain admin, I don't have permission to login to the domain controller. And I know very little about Active Directory.
The issue seems random, some users this day, different users tomorrow. Some computers run fine and some won't map no matter who logs in. They are mixed OS's XP (SP3), Vista, and 7. I was looking at the domain in windows explorer and I have found the batch file(s) that maps the drives in several locations, how do I know which one is actually being ran?

The .bat file is located in
\DOMAIN\NETLOGON\script.bat and
\DOMAIN\SYSVOL\DOMAIN\scripts\script.bat and
\DOMAIN\SYSVOL\DOMAIN\policies\GUID(Right? It's a crazy string)\User\Scripts\Logon\script.bat

So, how can I figure out which one is actually being ran per computer or user? Cause they are all slightly different from each other and one of them doesn't map properly.
Do all the files in NETLOGON get ran? Cause there are 15+ files in there. Or is it specified in Group Policy which one(s) get ran?

EDIT: I am able to access a program called Active Directory Users and Computers, but the properties tab for any user is blank for the logon script.

© Server Fault or respective owner

Related posts about active-directory

Related posts about mappeddrive