Hi Mart,

I completly understand. Its good to help people and i will try to keep it in English. Thank you for your explination in my PM.

Well. .Back on Topic. I renamed the printers in my server. My login script looks like thin now:

 Code:
;*************************************************************************
;***                        Main logonscript!                          ***
;*************************************************************************

;**********************************************
;Welkom bij XRAY Auto BV.
;**********************************************

$DUMMY=SETTITLE("Loginscript XRAY Auto BV")
CLS
? "Momentje  Roy, uw loginscript wordt uitgevoerd..."

? "Algemene netwerkkoppelingen worden aangemaakt..."
;*********************************************************
;Netwerk koppelingen
;*********************************************************

;Public data K:
Use K: /DEL
Use K: "\\**SERVERNAME**\Company" /PERSISTENT

;Public data L:
Use L: /DEL
Use L: "\\**SERVERNAME**\Company\Documenten\XRAY Auto" /PERSISTENT

;Public data L:
Use Z: /DEL
Use Z: "\\**SERVERNAME**\Private\%UserName%" /PERSISTENT

? "Printers"
;*********************************************************
;Printers
;*********************************************************

;installation of printers
? "Printers installeren"
IF @INWIN=1 
		$DUMMY=ADDPRINTERCONNECTION("\\**SERVERNAME**\PrXRAY-01")
		$DUMMY=ADDPRINTERCONNECTION("\\**SERVERNAME**\PrXRAY-02")
		$DUMMY=ADDPRINTERCONNECTION("\\**SERVERNAME**\PrXRAY-03")
		$DUMMY=ADDPRINTERCONNECTION("\\**SERVERNAME**\PrXRAY-04")
		$DUMMY=ADDPRINTERCONNECTION("\\**SERVERNAME**\PrXRAY-05")
	        $DUMMY=SetDefaultPrinter("\\**SERVERNAME**\PrXRAY-01")

EndIf


Still.. its not setting the Default Printer to the PrXRAY-01