|
Hi All!
I am using kix mainly for drive mapping and printers assignments but somehow some of my users get the drives duplicated more than once. I am using the following script: ; ; ~ Container login script for Sami ~ ; ; 25/06/2002 ; ;SETCONSOLE("hide") CLS
USE * /DELETE
use f: "\\ServerX\@userid$" ; mapping to users personal drive
; Departmental G Drive mappings
IF InGroup("Accounts") RUN "net use g: \\ServerX\accounts" ENDIF
IF InGroup("Acquisitions") RUN "net use * \\ServerX\acquisitions" ENDIF
IF InGroup("Buildings") RUN "net use * \\ServerX\buildings" ENDIF
IF InGroup("Construction") RUN "net use * \\ServerX\construction" ENDIF
IF InGroup("HR") RUN "net use * \\ServerX\HR" ENDIF
IF InGroup("IT") RUN "net use * \\ServerX\IT" ENDIF
IF InGroup("Marketing") RUN "net use * \\ServerX\Marketing" ENDIF
IF InGroup("Operations") RUN "net use * \\ServerX\operations" ENDIF
IF InGroup("Managers") RUN "net use * \\ServerX\SnrMgt" ENDIF
IF InGroup("Training") RUN "net use * \\ServerX\Training" ENDIF
; Public access I Drive mappings
USE i: "\\ServerX\public"
; Additional Drive mappings for Accounts Dept
IF InGroup("Accounts") RUN "net use t: \\Serversql\Server" ENDIF
; Group Specific Print Port Captures
IF InGroup("Accounts4050") RUN "net use lpt2 \\ServerX\accounts4050" ENDIF
IF InGroup("Accounts4000") RUN "net use lpt2 \\ServerX\accounts4000" ENDIF
IF InGroup("AccountsHP4000") RUN "net use lpt2 \\ServerX\HP4000" ENDIF
I would appreciate all the help
Regards,
Sami Benafia
|