NT logon scripts are located and run from C:\winnt\system32\Repl\import\scripts folder by default. To create a logon script, navigate to the directory listed above, Click File>New>Text Document, open the new text document and add this line:
NET USE M: \\Your Server Name\Share Name
You will replace "Your Server Name" with the name of your server and "Share Name" with the name of a shared folder that you want users to access. Most common practice for shared data is to create a directory named USERS. Then add a folder named SHARED. Then right-click on the SHARED folder, select properties>Sharing and select share this folder. Replace "Share Name" with SHARED in the above example. Then select File>Save As (name the file logon.bat and CHANGE SAVE AS TYPE: from Text Documents(*.txt) to All Files. Now, for this to work when a user logs onto the server you must assign the script to the user. Do this in User Manager for Domains, double click the user name (you can select multiple users by holding the Ctrl key as you select the users) Click on the Profile button and in the Logon Script Name: box type logon.bat This will run the batch file you just created.
This is a very basic most common logon script for network users.