|
Hello,
I think it is a simple question, but I hope you can help me... The following script with a if-else-endif script isn't working quite well... The part after else is always running, even for users in the group I call first...
This is the script...
IF ingroup("FSAO B Creatieve Therapie")
;map network drives use k: "\\astd01\kiosk" use p: "\\astd01\apps"
;specific printer if @wksta = "a1004984" Addprinterconnection("\\astd01\hpc104") endif
;install printer Addprinterconnection("\\astd01\stud-ct") Setdefaultprinter("\\astd01\stud-ct") else
;map network drives use k: "\\ruza\dfs\kiosk" use p: "\\ruza\dfs\apps"
;install printers Addprinterconnection("\\minsk\stud03-c") Addprinterconnection("\\minsk\stud01") Setdefaultprinter("\\minsk\stud01")
endif
Can someone tell me what's wrong in this script...
The user I tested it for is a member of the called group and of the group "Domain Users".
With regards,
Bart
|