lease follow steps to resolve your issue
First, open "Active Directory Users and Computers" on the domain controller
Now right click on the user you want to have the logon script and select the properties menu.
A properties dialog like the one shown below will appear. Select the ‘Profile’ Tab
Here is the confusing part. If I just put any old batch file name in
the logon script field, where does windows try to find it from?
Lets find out. First, type in this field ‘logon.bat’
Now, we need to find the folder where the server loads logon scripts. It follows this format:
So, if my server was named DCServer1, and my domain was intelliadmin.com, we would browse to this path:
Now that we know where to put it, creating the script is easy. Just
open up notepad, and write your batch file. For our test batch file we
will put in a line that loads our profile generator for Microsoft Outlook XP
We are done with the script, so we save the text file as:
Now, the next time this user logs in, they will load the login script.
hope it can resolved your issue