Hi,
I am struggling a little, have inherited a server which is using Kix that I am not familiar with. We have a new bunch of computers in our school ICT Suite that ideally will display a different desktop depending on the group membership of the pupil logging in (eg Year1, Year 2 etc). This implimentation cannot affect the existing classroom PC's so I am assuming that I need to get the script to run based on the mahine name first and then group membership second.
The new PC's are named ICT-SUITE01 through to ICT-SUITE36
I don't seem to be able to find a way of easily adding a wildcard to the @WRKSTA and the script, when it does run, does not implement on the first login attempt by a user, but does work on subsequent login attempts.
So far, what I have working is
IF @WKSTA=("ICT-SUITE01") writevalue ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop","\\Server1\desktops\ICT Generic","REG_EXPAND_SZ") Endif
This, of course, only works on one machine and I find it hard to believe that the correct way to implement a simple generic desktop for all users needs to be repeated for all the PC's!
I have had a bash at trying to create an array of the machines, but that does not work and the lack of error messages or similar does not help.
I haven't even started on the group bit yet...
As you can tell, I am a little flumaxed and hope that someone doesn't mind giving me a pointer in the right direction.
thanks
Brian
|