Search code examples
active-directory

How do I find out where login scripts live?


I am looking for a way (manual or progamatic) to find out where the user's activer directory login script is located.

I can parse the results of "net user" to get the script name, but that doesn't tell me what file share the script lives on.


Solution

  • In addition from the command prompt run SET.

    This displayed the "LOGONSERVER" value which indicates the specific domain controller you are using (there can be more than one).

    Then you got to that server's NetBios Share \Servername\SYSVOL\domain.local\scripts.