|
-
October 14th, 1998, 02:48 PM
#1
Logon script examples?
would someone please share a sample logon script that would map a drive to an executable program as users logon to NT? We have clients logging "in" to Netware 4.1 for all file/print services (Client 32) but one software program is located on the NT server and we have previously had to go workstation to workstation and set up the drive mapping. All workstations are Win95. I understand that I configure the path to the logon script batch file through server manager or thru Services in control panel, then in User Manager for Domains, under profile I simply Name the batch file. Is this correct? I would really appreciate help.
Thanks!
June Jones
Network Administrator
-
October 15th, 1998, 11:57 AM
#2
Firstly you need to create a batch file in the netlogon shared folder, normally situated in c:\winnt\system32\repl\import\scripts.
The batch file can call up any other batch files or executables with the correct path. The correct format for running an executalbe within the batch file is: "call c:\runme.exe", (no quotes) assuming the .exe is on the root, otherwise replace with full path name.
Then you need to go into User manager for Domains, and as you stated point the profile to this batch file in the Logon Script window.
-
October 28th, 1999, 05:46 PM
#3
If you really want to use the power of logon scripts with NT I recommend checking out KIXTART. It is a little more powerful than simply using a batch file, and it is well documented on the internet. But if you choose to use a batch file to map a drive for all users you would simply create a batch file with the below command line...
net use X: \\servername\share
-
October 29th, 1999, 11:58 AM
#4
An NT server will not share with anyone who is not authorized to talk to it. Thus you must login to the NT sever in some manner. If the NT server is participating fully in the Netware domain you can attach through a special pipe through the netware server. If on the other hand the NT server is a standalone or in another domain, you must create an account for the user to login to to get the share - Guest might do.
Then the command is
NET USE X: \\NTServerName\share <NT password> \user:<NTdomain>\<NTUserID>
i.e. you got to feed it a vaild account & password on the NT server to get it to share.
If your clients are participating in a Netware domain ignore the above comment about netlogon. Also, Kixtart would be of limited helpfulness in a Netware domain. It is really intended for an NT domain.
PS. I think you might get more helpful comments on this question in a Netware forum.
[This message has been edited by JackLothian (edited 10-29-99).]
-
May 7th, 2000, 01:47 AM
#5
Originally posted by JJones:
would someone please share a sample logon script that would map a drive to an executable program as users logon to NT? We have clients logging "in" to Netware 4.1 for all file/print services (Client 32) but one software program is located on the NT server and we have previously had to go workstation to workstation and set up the drive mapping. All workstations are Win95. I understand that I configure the path to the logon script batch file through server manager or thru Services in control panel, then in User Manager for Domains, under profile I simply Name the batch file. Is this correct? I would really appreciate help.
Thanks!
June Jones
Network Administrator
-
May 30th, 2000, 01:49 AM
#6
Helpful refrences for login scripts can be found on the newgroups.. Look for MSDOS or batch file related groups.
-
May 30th, 2000, 11:24 AM
#7
Here's a good resource for scripting... http://networking.brainbuzz.com/reso...X.asp?pi=S4C14
Later..
Joe_W
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|