I have a registry key that I can run that updates the registry to change the computer name display to read: <user> on <computer name>.
It changes the keys at: Computer\HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
If I open Regedit, this is what I see:
Default: Computer Name: %COMPUTERNAME%
LocalizedString: %username% on %computername%
---------------------
My Registry hack that I run from windows is:
----------- Begin ---------
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@="Computer Name: %COMPUTERNAME%"
"InfoTip"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,\
2d,00,32,00,32,00,39,00,31,00,33,00,00,00
"LocalizedString"=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,\
25,00,20,00,6f,00,6e,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,\
00,72,00,6e,00,61,00,6d,00,65,00,25,00,00,00
--------- End ------
This hack works perfectly. But must be run manually from the workstation. I would love to get it into a GPO.
I can't figure out how to get this into a GPO. If I just update the key LocalizedString to "%username% on %computername%" the display becomes <computername> on <computername>. So I never get the username.
any ideas here? I would like to apply this to my OU, so when I remote in I can always tell the user that is logged in, and the computer name.
Thanks.
-Frank