+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 32
Windows Thread, Task Bar icon to show level of user in Technical; Some of you who are familiar with RM networks might remember the little person icon that used to appear next ...
  1. #1

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164

    Task Bar icon to show level of user

    Some of you who are familiar with RM networks might remember the little person icon that used to appear next to the clock on the task bar to show the level of user logged into the network.

    I used to find it extrmely handy.

    We now use a series of coloured backgrounds to visually represent who is logged in. The network manager has red, the pupils have green and the staff have blue. I hated the green so changed the staff and pupils to blue.

    I long for the little character icons on the bottom soooo I wonder if anyone has got a script or application similar to RMs that runs on logon, looks that their user type (based on security group) and then puts an icon next to the clock.

    Maybe a project for someone? If I was to have a go coding and learning how to do it, what language would people recommend?

    GJE

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    If you're using BGInfo, you can place images on the plain red/blue/green backgrounds. In theory if you placed it towards the bottom right that should work for you?

  3. Thanks to Michael from:

    garethedmondson (22nd January 2010)

  4. #3

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Quote Originally Posted by Michael View Post
    If you're using BGInfo, you can place images on the plain red/blue/green backgrounds. In theory if you placed it towards the bottom right that should work for you?
    Morning Michael,

    That sounds like a good idea. I'll chase it up today.

    Gareth

  5. #4

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,705
    Thank Post
    3,235
    Thanked 1,044 Times in 966 Posts
    Rep Power
    363
    Not worked on an RM network before but just curious did it show this in the task bar itself ie to the right hand side of the clock where the other icons in the sys tray resided or was it a balloon bubble or what exactly ?

    Also I presume it was getting this info by querrying ADUC to find out what OU they were in or how did it work at a guess ?

    Also what OS are the clients using , windows xp pro ?

  6. #5
    mounters's Avatar
    Join Date
    Mar 2006
    Location
    Northumberland
    Posts
    199
    Thank Post
    22
    Thanked 70 Times in 59 Posts
    Rep Power
    29
    It displays it in the systray as an icon.

    I think it works by interrogating group membership, CCx works with what RM call usertypes to define which user policy will apply to the user and I think it is the membership of this group that it uses to display the appropriate graphic.

  7. #6
    Quackers's Avatar
    Join Date
    Jan 2006
    Posts
    1,310
    Thank Post
    40
    Thanked 141 Times in 116 Posts
    Rep Power
    53
    As a very easy way to replicate this, you could create an auto it script that does nothing but pause, and give it an icon you want. Save it, and tell that user type to run it at logon, then that icon will just sit there in the systray doing nothing. As auto it scripts sit there until finished.

  8. #7

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Quote Originally Posted by mac_shinobi View Post
    Not worked on an RM network before but just curious did it show this in the task bar itself ie to the right hand side of the clock where the other icons in the sys tray resided or was it a balloon bubble or what exactly ?

    Also I presume it was getting this info by querrying ADUC to find out what OU they were in or how did it work at a guess ?

    Also what OS are the clients using , windows xp pro ?
    Yes it sit's in the sys tray just next to the clock. There were several different icons. It didn't do anything else. We would require three icons for our security groups.

    pupils / staff / admins

    I'm looking into several solutions here.

    GJE

  9. #8

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,211 Times in 761 Posts
    Rep Power
    394
    For those who are curious, this is what it looks like for a pupil account and my admin account respectively:

    Attached Images Attached Images

  10. #9

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,608
    Thank Post
    514
    Thanked 2,441 Times in 1,889 Posts
    Blog Entries
    24
    Rep Power
    831
    See attachment - it is a little app I wrote which checks groups against the username in the active directory and has 3 privilege levels (3 icons).

    To alter the groups, edit the .config file where it currently has Users, Staff, and Domain Admins. The 3 'Title' entries reflect the text shown on mouse over of the icon.

    It requires .Net 3.5.

    I've only tested it on 2 machines, so don't know if it will work elsewhere as yet - please tell me if you find any problems.

    UPDATE v1.0.0.4 now shows the logged in user, computer name, and the time/date when the program was first launched (so as to provide a 'logged in' time, should its execution be via startup folder or scripted).

    UPDATE v1.0.0.3 now has MOTD functionality built in (it loads a simple web browser control, depending on settings). Double clicking on the notification icon now launches the MOTD instead of the settings. Right clicking shows a menu applicable to the user level (ie. Privileged users now see settings in that menu, other levels don't). Also, spelling corrections.

    UPDATE: v1.0.0.2 now allows you to edit the images, titles and the like from within the application, if you are in the privileged group (double click on the icon). There is one proviso - when you first set it up, you must still edit the .config file by hand to identify the right groups. After that initial setup, all settings can be altered via the dialogue.
    Last edited by localzuk; 23rd January 2010 at 08:01 PM.

  11. 2 Thanks to localzuk:

    garethedmondson (22nd January 2010), mounters (22nd January 2010)

  12. #10

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Well it works - but I need to work out what groups I need to put in there. I've edited the xml to the following:

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <configSections>
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
    <section name="UbiPriviligeIcons.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
    </sectionGroup>
    </configSections>
    <userSettings>
    <UbiPriviligeIcons.Properties.Settings>
    <setting name="ygg-pupils" serializeAs="String">
    <value>Pupils</value>
    </setting>
    <setting name="ygg-staff" serializeAs="String">
    <value>Staff</value>
    </setting>
    <setting name="ygg-itcoordinators" serializeAs="String">
    <value>Domain Admins</value>
    </setting>
    </UbiPriviligeIcons.Properties.Settings>
    </userSettings>
    </configuration>
    But for my domain admin account which is a member of ygg-itcoordinators it is coming up with the unpriviliged icon.

    I'll test with student and staff later.

    Gareth

  13. #11

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,608
    Thank Post
    514
    Thanked 2,441 Times in 1,889 Posts
    Blog Entries
    24
    Rep Power
    831
    Ah, you've altered the wrong bits. Also, redownload it, as I made a change after I uploaded it the first time.

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
                <section name="UbiPriviligeIcons.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
            </sectionGroup>
        </configSections>
        <userSettings>
            <UbiPriviligeIcons.Properties.Settings>
                <setting name="Unpriv_Group" serializeAs="String">
                    <value>ygg-pupils</value>
                </setting>
                <setting name="Semipriv_Group" serializeAs="String">
                    <value>ygg-staff</value>
                </setting>
                <setting name="Priv_Group" serializeAs="String">
                    <value>ygg-itcoordinators</value>
                </setting>
                <setting name="Unpriv_Group_Title" serializeAs="String">
                    <value>Unpriviliged</value>
                </setting>
                <setting name="Semipriv_Group_Title" serializeAs="String">
                    <value>Semi-Priviliged</value>
                </setting>
                <setting name="Priv_Group_Title" serializeAs="String">
                    <value>Privilieged</value>
                </setting>
            </UbiPriviligeIcons.Properties.Settings>
        </userSettings>
    </configuration>

  14. Thanks to localzuk from:

    garethedmondson (22nd January 2010)

  15. #12

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    That's pretty cool. Seems to work here. I wonder how difficult it would be to change the icons and maybe store them in a directory so individual schools could change them as they see fit.

    I thought about using squares - red/green/blue and so on.

    I'm not asking you to do it. I'm just interested. Also - a front end on it to allocate your own icons or titles/tags would be cool so instead of saying Priviliged, I could change it to IT Coordinator and so on.

    Excellent little application though.

    Gareth

  16. #13

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,608
    Thank Post
    514
    Thanked 2,441 Times in 1,889 Posts
    Blog Entries
    24
    Rep Power
    831
    You can alter the 'Privileged' on mouse over bits by changing the settings below:

    Code:
    <setting name="Unpriv_Group_Title" serializeAs="String">
                    <value>CHANGE ME</value>
                </setting>
                <setting name="Semipriv_Group_Title" serializeAs="String">
                    <value>CHANGE ME</value>
                </setting>
                <setting name="Priv_Group_Title" serializeAs="String">
                    <value>CHANGE ME</value>
                </setting>
    Regarding swapping the icons, this should be do-able pretty easily I think.

    The front end is also something that should be relatively simple to alter. I could tie it in to the status of the user - so only those in the privileged group could alter it.

  17. Thanks to localzuk from:

    garethedmondson (22nd January 2010)

  18. #14

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,608
    Thank Post
    514
    Thanked 2,441 Times in 1,889 Posts
    Blog Entries
    24
    Rep Power
    831
    I've now updated it to include what you mentioned.

  19. Thanks to localzuk from:

    garethedmondson (22nd January 2010)

  20. #15
    PEO
    PEO is offline
    PEO's Avatar
    Join Date
    Oct 2007
    Posts
    2,093
    Thank Post
    457
    Thanked 150 Times in 95 Posts
    Rep Power
    71
    I have a better idea... background colours.... black (administrator) Grey (Teacher) blue (student) stands out like a saw thumb and you can glance from a distance

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Making the task bar smaller
    By FN-GM in forum Windows 7
    Replies: 1
    Last Post: 8th August 2009, 11:09 AM
  2. Replies: 2
    Last Post: 19th February 2008, 07:42 PM
  3. Using VNC CON and stopping the icon in the task bar.
    By tosca925 in forum Educational Software
    Replies: 3
    Last Post: 11th May 2007, 07:37 PM
  4. Colour of the start/task bar
    By eastlondon in forum Windows
    Replies: 11
    Last Post: 1st August 2006, 02:11 PM
  5. the up icon on the bar of explorer
    By Rozzer in forum Windows
    Replies: 3
    Last Post: 4th October 2005, 09:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •