Using Kixtart for logon scripts
Results 1 to 3 of 3

Thread: Using Kixtart for logon scripts

  1. #1
    Registered User
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    198

    Question Using Kixtart for logon scripts

    Has anyone used Kixtart to create logon scripts. I am trying to make a simple script to map a drive to the users home directory. I have 600 users running win95 and win 98 logging onto an NT4.0 server. any help would be greatly appreciated.

  2. #2
    gotbyk
    Guest

    Post

    We use kixstart at work to map drive and do various other things. I will respond a sample script in the morning

    [This message has been edited by gotbyk (edited September 25, 2000).]

  3. #3
    gotbyk
    Guest

    Arrow

    This should be enough to get you going.

    $DRIVE="N:" $PATH="\\APPSERV\APPS" gosub MapDrive
    $DRIVE="P:" $PATH="\\PERSONAL\@USERID$$" gosub MapDrive
    $DRIVE="S:" $PATH="\\SOFTWARE\SOFTWARE" gosub MapDrive
    quit

    :MapDrive
    ? "Mapping $DRIVE to $PATH"
    use $DRIVE /delete
    use $DRIVE $PATH
    if @ERROR=0
    " - Success"
    else
    color r+/n " - Failed @ERROR" color w+/n $ERR=@ERROR
    if open(1,"c:\loginerr.log",5)=0
    $RC=writeline(1,"@TIME @DATE Mapping $DRIVE to $PATH failed $ERR. @WKSTA @IPADDRESS0 WIN@INWIN @USERID"+$CRLF)
    $RC=close(1)
    endif
    endif
    return

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •