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.
Printable View
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.
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).]
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