We help IT Professionals succeed at work.

displaying who is logged on (W2K Pro)

tinyl
tinyl asked
on
Medium Priority
143 Views
Last Modified: 2010-04-13
I have a number of people who can use my PC. Each one has their own log-on password and profiles.

I would very much like to display on the desktop (at about desktop icon size) the log-on name of the person who is currently logged on, (maybe as the title of an icon?).

If it is possible to make this common to all users and impossible to remove (easily) from the desktop that would be even better.

Any ideas would be great.

Tiny :)
Comment
Watch Question

Commented:
I don't remember the registry key, but it is possible to change the name for My Computer to eg. the logonname of a user by changing the datatype from REG_SZ to REG_EXPAND_SZ and assigning it %username% (at least it was possible in NT4).
I'm not sure, but it may be HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} and beneath this key the (Default) value.

Maybe someone else remembers the exact location.
I use a program called Tweaki to perform this. It allows you to display the user and computer name under the "My Computer" icon (i.e. Bob on Workstation1). I believe you can download a copy at CNet. I think TweakUI will do this too. Hope that helps.
Commented:
I've found the key and the values:
Key: [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
Type: REG_EXPAND_SZ (Expanded String Value)
 
Rename the value named "LocalizedString" to "LocalizedString.old". Create a new REG_EXPAND_SZ value named "LocalizedString", and copy the contents of the original value to the new value except change the words "My Computer" to equal "%USERNAME% on %COMPUTERNAME%". For example, the new "LocalizedString" value may equal "@C:\WINNT\system32\shell32.dll,-9216@1033,%USERNAME% on %COMPUTERNAME%".

This has to be done with Regedt32

For WinNT4:
Delete the existing value called "No Name" and add a new REG_EXPAND_SZ value with an empty value name and set the string to equal "%USERNAME% on %COMPUTERNAME%".

Author

Commented:
schmiegu:

Thanks for the info. I couldn't find a way in regedt32 of renaming the string. But I did manage to achieve it by adding a new value and deleting the old.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.