I believe you can issue use the #net use command. Net use is the DOS command for mapping drives in NT. The pound (#) sign in the login script is used to execute an external program.
3. exit "C:\WINDOWS\MAP.BAT"
The batch file contains these lines:
NET USE H: \\SERVER\DIRECTORY password
CLS
Each of these results in the following error in the Dos Window:
Error 3787: You must log on before performing this operation.
(The batch file only shows it if you remove the CLS statement)]
The batch file works fine once you are logged on to Novell.
I have moved the net use statement around within the script.
I need to map these users to a directory on the 2000 server from their login script so that the mapping is user dependant and not workstation dependant. If I run this batch from the registry or startup, I will have all users mapped to the 2000 directory with full rights. If I let windows look after the mapping, the users will have to enter an extra password each time they reboot. Any ideas?
An alternative, if you have an NT/2000 DOMAIN (and not a stand-alone server),
then you check the
"Logon To Domain"
in "Client for Microsoft Networks"
in Network Properties
of your clients.
Then run the NT/2000 login-script from NETLOGON as well as Netware scripts.
I notice that whilst entering the NET USE command, you are not specifying a username. The usual command variables for that is:
#NET USE H: \\SERVER\DIRECTORY /USER:<username> <password>
This will only work on NT/2000 machines. If you are using 65/98, you will have to use the command below, ensuring that the username and password on the W2K server/domain are the same with that in the NDS:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.