Hi thanks for that , unfortunatley still no difference without any errors. It's like it can't read any groups from AD. I also tried running @enumgroup which gives only 0 when run. Does this mean it can't see any groups ..I wonder ? Strangely enough it can map printers by if ingroup ?

Thanks