Howard-

I couldn't wait 12 hours. Had to VPN work and try. I can't get it to work. I am using the following code to get the group membership of the computers and install the printers. Where I am having a problems is in reading the Primary group membership of the computer to use to set the default printer.

Your code is doing the same thing as the code I am using, please correct me if I am wrong. There could be something else going on.

code:
$WS = GetObject("WinNT://" + @domain + "/" + @wksta + "$$")
if @error
? @serror
else
for each $grp In $WS.Groups
$GrpName = $grp.Name
if left($GrpName,8) = "Printer_"
$printer = substr($GrpName,9)
$printer = join(split($printer,"_"),"\")

if not PriMapState("\\" + $printer)
? "Status - Printer not connected "+$printer
$S=AddPrinterConnection("\\" + $printer)
; $Returncode=AddPrinterConnection("\\" + $printer)
? "Status - Printer added "+$printer
? @serror
?
endif
endif
next