We help IT Professionals succeed at work.

New podcast episode! Our very own Community Manager, Rob Jurd, gives his insight on the value of an online community. Listen Now!

x

How to display computername and/or username on 2008 R2 desktop

ovidbailey
ovidbailey asked
on
4,305 Views
Last Modified: 2012-05-10
I'm accustomed to configuring the desktop My Computer icon to rename "Computer" to My %computername% or %username% on %computername% by editing the LocalizedString value under CLSID {20D0...}. I do that to give a user (or myself via RDP) an immediate look at the name of the computer to which he or she is connected. Real helpful to me for phone support or term server shadowing when I have a bunch of windows open.

With 2008 R2, the icon is removed by default, although there is a way to get the Computer icon back (https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_24911315.html?sfQueryTermInfo=1+10+2008+30+comput+icon+my)

However, I can't figure out how to change that icon name as I could in the old days. I want to display %computername% and preferably %username% as well on the desktop. Doesn't have to be via renaming the Computer icon, but that worked well in the past.

Suggestions? Thanks.
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Lee W, MVPTechnology and Business Process Advisor
CERTIFIED EXPERT
Most Valuable Expert 2013

Commented:
Alternative suggestion - use BGInfo from Microsoft/Mark Russinovich/SysInternals...http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx
athomsfere: you beat me a part of millisec;)
I suggest actually using BGInfo as you can display a lot more information. There is instructions from Microsoft Technet here:

http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx


Additionally you should still be able to do it as follows in R2 but you'll need to change the owner of HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} to the local administrators group.

1.  Open the Registry Editor.  Start > Run, type Regedit, press <enter>.
2.  Navigate to HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}.
3.  Rename the LocalizedString value to LocalizedString.old to back it up.
4.  In the right hand pane, right Click > New > Expandable String Value (REG_EXPAND_SZ), and name it LocalizedString.
5.  Give the string this value: Computer %COMPUTERNAME%
6.  Close the Registry Editor.
7.  Right click your desktop and choose Refresh to see the new name for My Computer

Commented:
Another vote for BGinfo from me....
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
I'd also recommend BGInfo, we use it for all users machines also.

When helpdesk personal connect they can installing see hostname,username,servicepack level etc.

Author

Commented:
Just a comment for NuttyComputer.
I know about the {20d0...} key in CLSID, but it seems to have no effect. If I type Desktop Icons into the search pane and choose "Show or Hide Common Icons on the Desktop", then select Computer, the icon displays. But editing 20d0 and then refreshing no longer changes the label as it did in the old days. Thanks.
Lee W, MVPTechnology and Business Process Advisor
CERTIFIED EXPERT
Most Valuable Expert 2013

Commented:
AWWWWW... all three of us posted the exact same thing at the exact same time... even consecutive comments... Seems to me a question ever deserved an equal split, this was it!

Author

Commented:
Hmmm...good point. Didn't look at the times. I'll see what I can do. Liked the second reply since it had the link, as did yours. Gave points to helpnet because she addressed the remote desktop issue of disabling wallpapers. Thanks.
Lee W, MVPTechnology and Business Process Advisor
CERTIFIED EXPERT
Most Valuable Expert 2013

Commented:
Don't worry... just expressing a little frustration.  TECHNICALLY, the first post to post is the one who should get the points and the others should only get points if they contributed something new... if I took a few too many seconds, so be it... my misfortune.

Author

Commented:
Update to my earlier comment re not being able to display %computername% in the icon label for My Computer. It's possible, but have to manually add yourself Full Control rights to that registry key in CLSID....
ovidbailey,

Yes I stated this in my earlier response

"Additionally you should still be able to do it as follows in R2 but you'll need to change the owner of HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} to the local administrators group."
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.