Login Script

T

TJ

I'm doing some testing in my home lab of upgrading NT4 to
Windows 2000. Before upgrading, I wanted to try running a
login script to map a server share to Y:\ while logging
in with a Windows XP desktop.

I created a login.bat file with one line:
net use Y: \\servername\sharename
This was placed in the Netlogon share and I indicated in
the user's profile to look for a file named login.bat.

Nothing happens. If I double-click on the batch file on
the server, it maps Y:\ so I know the batch file is OK.

Is there something I'm missing?

Not surprisingly, when I upgraded the NT 4 box to Win2k
server, the login script didn't work either. Which brings
up the question whether a login script is setup
differently in a W2k AD vs. an NT domain? Thanks for your
help.

TJ
 
P

Pegasus \(MVP\)

Make your netlogon batch file visible so that you see
what's going on:

@echo on
net use Y: \\servername\sharename
pause

Some other points to consider:

- Are you getting local or domain validation?
- Is the correct batch file name specified in your user profile?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top