#45643 - 2003-09-19 04:50 PM
Script runs on XP, but drives don't get mapped
|
perogy
Fresh Scripter
Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
|
We have kix login scripts running on our XP Professional machines. The scripts run, we can see the text, but when it gets down to the part that displays "Mapping network drives", it SHOULD show a period '.' for each network drive that is mapped after that text. On our XP machines, it does not map the drives; on the W2K machines that we still have, it maps the drives fine. Any thoughts? Thanks...
|
|
Top
|
|
|
|
#45646 - 2003-09-19 05:00 PM
Re: Script runs on XP, but drives don't get mapped
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Les is right.
Please post your script.
Kent
|
|
Top
|
|
|
|
#45647 - 2003-09-19 05:26 PM
Re: Script runs on XP, but drives don't get mapped
|
perogy
Fresh Scripter
Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
|
Got it, here you go, sorry if the formatting is a little off...This is just the small portion that is responsible for mappings. Our version of Kixtart is 2.something....am checking now, will upgrading to the newest version have any effect? Thanks again
; Script initialization and diagnostics
break off ;Logs out user if script is ;exited unexpectedly. color w+/b ;Sets screen color to bright ;white on blue. settime "\\LETO" ;Synchronizes workstation time ;with domain controller. cls ;Clears the screen.
?"Welcome to companyname, @fullname" ;Displays welcome message. ?"It is @time on @day, @month @mdayno, @year" ;Displays current workstation ;date. ?" " ?"Computer name: @wksta" ;Displays workstation name. ?"Ethernet address: @address" ;Displays workstation ethernet ;MAC address. ?"IP address: @ipaddress0" ;Displays workstation IP address. ?"Hostname: @hostname" ;Displays workstation's fully ;qualified domain name. ?"Logon Server: @lserver" ;Displays logon domain controller. ?"Kixtart version: @kix" ;Displays KiXtart version. :Main SELECT CASE ((@INWIN = 1) AND (@DOS = 5.1)) ; What OS is the user running? $OS = "WinXP" CASE ((@INWIN = 1) AND (@DOS = 5.0)) $OS = "Win2K" CASE ((@INWIN = 1) AND (@DOS = 4.0)) $OS = "WinNT4" CASE 1 $OS = "UnKnown" ENDSELECT ? "OS Version: " + $OS ;Displays User's OS ?" " ;Displays blank line. ?" " ;Displays blank line.
;-----------------------------------------------------------------------------------
; Connect network drives and department folders.
?"Connecting network drives" ;Display drive connection message.
if ingroup("Audit Group") use f: "\\$fileserver\apps" ;Connect Apps folder. "."
use g: "\\$fileserver\group" ;Connect Group folder. "."
use h: "\\$fileserver\@userid" ;Connect user's personal folder. "."
use l: "\\$fileserver\lacert95" ;Connect Lacerte folder. "."
use n: "\\Eos\clients" ;Connect clients folder. "."
use p: "\\$fileserver\tempclients" ;Connect to Temporary FAM2000 files "."
use s: "\\BRIZO\best" ;Connect MAS90 folder. "." endif
if ingroup("Tax Group") use o: "\\EOS\tmfa1999" ;Connect to Tax Management Federal Tax Cases "."
use q: "\\EOS\tmforms01" ;Connect to Tax Management Forms 01 "."
use r: "\\EOS\tmcb2000" ;Connect to Tax Management Portfolio+ -Practice Tools "."
use t: "\\EOS\tmforms99" ;Connect to Tax Management Forms 99 "."
use u: "\\EOS\tmlr2000" ;Connect to Tax Management IRS Rulings "."
use v: "\\EOS\tmfc2000" ;Connect to Tax Management Federal Cases "."
use w: "\\EOS\tmforms00" ;Connect to Tax Management Forms 00 "."
use x: "\\EOS\kleinrock" ;Connect to Klienrock's Tax Expert "."
use y: "\\EOS\tmca2000" ;Connect to Tax Management Portfolio+ - P & R "."
endif
if ingroup("Nexlink") use h: "\\$fileserver\@userid" ;Connect user's personal folder. "."
use t: "\\Poseidon\it" ;Connect to IT folder "."
use u: "\\Apollo\nexlink" ;Connect to Nexlink folder "."
use l: "\\$fileserver\lacert95" ;Connect Lacerte folder. "."
use w: "\\BRIZO\PPC" ;Connect to PPC folder. "."
use s: "\\BRIZO\best" ;Connect MAS90 folder. "."
endif
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|