Discussion Locked

I need help to create a login script

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have to create a login script for various clients logging into an NT 4.0 domain. I have to map drives and copy a file to the client's drive to a specific folder, depending on the OS of the client. I am able to map the drive, but cannot get the file to copy to the client. I can't seem to get the syntax right somehow. Can anyone help me with this?

5 replies

by a.grogan

Hi - Firstly what language are you using for the script (for example NTLM batch, Kix, VBScript) - could you provide a sample of the script? - also what are the Target client O/S's as I have a script that will do exactly what you want - but it written in VBScript.

by iphicles

In the simplest form, it'll look something like this.

net use f: \\servername\sharename
net use g: \\servername\sharename
copy f:\folder\filename.abc c:\folder\

what other OS's are you using? if it's novell, use "ncopy" instead of copy. also, make sure of the following.
1. can you map the drive and copy the file while in the OS? (not at startup)
2. are the correct protocols installed?
3. are the sharenames correct?
4. correct permissions on NTFS?

This discussion is closed to new replies.