Recipe 9.8 Assigning Logon/Logoff and Startup/Shutdown Scripts in a GPO
You want to assign either user logon/logoff scripts or computer startup/shutdown scripts in a GPO.
18.104.22.168 Using a graphical user interface
When you assign a script in a GPO, you can either reference a script that is stored locally on the domain controller somewhere under the NETLOGON share or a UNC path to a remote fileserver.
The logon script can also be set as an attribute of the user object (scriptPath). This is provided as legacy support for users migrated from NT 4.0 domains. You should choose either one method of specifying the logon script or the other, but not both, as this will cause the logon script to run twice.