login script in user account not functioning

I have created a login.bat file and placed it in the sysvol folder on my windows 2003 server.
the script reads       net use h: \\testserver\users\%username%
I went to AD users / computers and selected the user account that I wanted to use this script and input the directory to the location of this script.

When I login at the client PC it doesn;t run the script yet I can browse to it and manually run it. What have I missed? Do I have to setup a Group Policy for this to work?
mcantineAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
weareitConnect With a Mentor Commented:
If you put it in the SYSVOL Folder you did not go deep enough:

C:\WINDOWS\SYSVOL\sysvol\<domain name>\scripts <--> NETLOGON Folder

-saige-
0
 
thenoneCommented:
under profile you just need to put the name of the login script .bat. As far as the home directory that is just what it is.
0
 
weareitCommented:
If above is confusing, the scripts folder is shared as the NETLOGON Folder.
0
 
thenoneCommented:
\\mydomin.com\SYSVOL\mydomian.com\scripts
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.