Hi All
We have just moved from windows 2000 to a windows 2003 Server
Everything work but my AddPrinterConnection in the script.

Does any one know how to fix this??

$Index=0
do
$Group=enumgroup($index)
if left($Group,7)="12345"
?$Group
$A=MapDrive($Group)
endif
$Index=$Index+1
until LEN ($Group)=0

IF InGroup("12345\ZAF.DOMAINUSERS")
SetDefaultPrinter ("\\PYE511\SHIP47")
ENDIF

FUNCTION MapDrive($Group)
SELECT
CASE $Group="12345\ZAF.DOMAINUSERS"
AddPrinterConnection ("\\PYE511\SHIP33")
AddPrinterConnection ("\\PYE511\SHIP37")
AddPrinterConnection ("\\PYE511\SHIP45")
SetDefaultPrinter ("\\PYE511\SHIP33")

ENDSELECT
ENDFUNCTION


This has work well for the last 4 years.

Thanks