1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Windows login scripts

Discussion in 'Networking' started by aubry, Jan 26, 2002.

Thread Status:
Not open for further replies.
Advertisement
  1. aubry

    aubry Thread Starter

    Joined:
    Sep 14, 2001
    Messages:
    69
    hi there,
    Anybody know where i can find info on how to write login scripts?
    i've got to setup 35 win98se systems to automatically map drives to 3 separate nt4 servers and i honestly don't know where to start.....!
    i know how to map drives within the o/s and reconnect at login etc, but wondered if login scripts made life easier?
    please help!

    Are they only used when logging on to a novell/unix server etc?
     
  2. elsinaj

    elsinaj

    Joined:
    Aug 14, 1999
    Messages:
    40
    Any command you can execute at the command prompt you can use als command in a logon script, for example

    net use g: \\server1\share1

    for connecting the G: to \\server1\share1


    when you've got to do more complex things, like for-next loopt, or reading/changing the registry, you can use KixTart (http://kixtart.to) or VBScript (http://msdn.microsoft.com/scripting/)

    A.J.
     
  3. aubry

    aubry Thread Starter

    Joined:
    Sep 14, 2001
    Messages:
    69
    forgive my ignorance, but is this how i get a script to run?

    e.g in win2k, select users and groups, go to the properties, then to profiles and put the name and path of the script in the boxes provided.

    can i save the script anywhere, or does it have to be saved to specific location?

    do i create a script as a batch file for example?

    am i even close?

    cheers for the kix url........looks interesting!
     
  4. elsinaj

    elsinaj

    Joined:
    Aug 14, 1999
    Messages:
    40
    Yes, but you only need to give the filename, because it is placed in c:\winnt\system32\repl\scripts\import (if I'm not mistaken).

    Do you use a Windows NT server as domain controller?
    Then you should put it in the directory on the domaincontroller, this points to \\server\netlogon so dat every user can use it when loggin on.

    You can create it just as a batch file. I recommend to give it an extension of .cmd, so the NT command interpreter is used.

    Hope this helps.
     
  5. aubry

    aubry Thread Starter

    Joined:
    Sep 14, 2001
    Messages:
    69
    cheers for the help!
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/66477

  1. 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.
    Dismiss Notice