I made a mistake but probably it is a bug?used wkix32 -i
script
delprinterconnection ("\\server\xxxx1")
delprinterconnection ("\\server\xxx10")
if @wksta="xxxx1" or @wksta="xxxx2" or
addprinterconnection ("\\server\xxxx1")
setdefaultprinter ("\\server\xxxx1")
endif
if @wksta="xxx10" or @wksta="xxx11"
addprinterconnection ("\\server\xxx10")
setdefaultprinter ("\\server\xxx10")
endif
my fault is the second or, after te second @wksta, the result is that at ws xxx10 and xxx11 printer connection xxxx1 is also made.
GR P