|
|
|||||||
Hey all, I'm a new sysadmin for a company where I guess someone was a big KiXtart fan in the past. I was going to rewrite the default logon script in vbscript but I'm actually intrigued by KiX and am actively bringing myself up to speed. I attempted to add some code to the existing script which runs Kix2001, trying to copy a remote desktop connection icon from a network share to the desktops of users in only one particular AD group (not OU). Nothing happens though haha. Here's what I did: Code: ; **Adding icon to group below's Desktop** IF INGROUP ("APP-Allscripts") IF EXIST (%UserProfile% + "\Desktop\Allscripts.rdp") =0 COPY "\\Sec01\deploy$\Shortcuts\Allscripts.rdp" %UserProfile% + "\Desktop" ENDIF The first set of code in the section is the following: Code: ;****************************************************************** ;*** BEGIN Instructions by Group ;****************************************************************** :SOFTWARE ;IF INGROUP("APP-COUMACARE") ; USE G: "\\DC02\COUMACARE" ; COLOR w+/n ; AT (4,6) "CoumaCare Mapped" ;ENDIF IF INGROUP("APP-QUICKTIME") USE Q: "\\APP01\QUICKTIME" COLOR w+/n AT (4,6) "QUICKBOOKS Mapped" ENDIF The script is continuing to run normally I think otherwise. I think I may have gotten a message about 'ERROR : LABEL [APP-Allscripts] not found!' but not any more. Any thoughts appreciated. Thanks! |
||||||||
|
|
|||||||
Please do not cross post. See: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=186377 |