Logon script examples?
Results 1 to 7 of 7

Thread: Logon script examples?

  1. #1
    Join Date
    Aug 1998
    Location
    Scottsdale, AZ, USA
    Posts
    18

    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

  2. #2
    Join Date
    Sep 1998
    Location
    Scotland, UK
    Posts
    6
    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.

  3. #3
    Join Date
    Oct 1999
    Location
    Marion, IL, USA
    Posts
    2
    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

  4. #4
    Join Date
    Jan 2000
    Posts
    455
    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).]

  5. #5
    Join Date
    May 2000
    Location
    surabaya,east java,indonesia
    Posts
    1
    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

  6. #6
    Join Date
    May 2000
    Posts
    1
    Helpful refrences for login scripts can be found on the newgroups.. Look for MSDOS or batch file related groups.


  7. #7
    Join Date
    May 2000
    Location
    Wallops Island VA
    Posts
    3
    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
  •