Assigning Logon/Logoff and Startup/Shutdown Scripts in a GPO
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 SYSVOL share, or in a UNC path to a remote file server. The default storage location is in the SYSVOL share in the <DomainName>\scripts foldere.g., \\rallencorp.com\sysvol\rallencorp.com\scripts. 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 and requires the script to be stored in the Netlogon share. You should choose one method of specifying the logon script or the otherbut not both, as this will cause the logon script to run twice.