|
-
September 25th, 2000, 09:35 AM
#1
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.
-
September 25th, 2000, 10:17 PM
#2
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).]
-
September 26th, 2000, 07:37 AM
#3
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
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
|
|
Bookmarks