Make My Computer Display Username and Machine name

As you know, each Windows desktop has a My Computer icon. Clicking the icon opens the My Computer folder, displaying available resources such as hard disks, printers, Dialup Networking, scheduled tasks, and mobile device connections. Did you know you can

ITPro Today

May 24, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

As you know, each Windows desktop has a My Computer icon. Clicking the icon opens the My Computer folder, displaying available resources such as hard disks, printers, Dialup Networking, scheduled tasks, and mobile device connections. Did you know you can change the folder name to display the locally logged in user's name?

To do so, open Regedt32.exe and navigate to HKEY_CLASSES_ROOTCLSID sub-tree, locate the key named 20D04FE0-3AEA-1069-A2D8-08002B30309D, and follow one of the two instruction sets below, depending on whether you have Windows 2000 or Windows NT 4.0.

For Win2K systems, select and edit LocalizedString. Copy its text contents to a safe location such as Notepad. The contents should be something similar to "@D:WINNTsystem32shell32.dll,-9216@1033,My Computer" without the quotes. Next, delete the LocalizedString value. Create a new value with the same name (LocalizedString) with a type of REG_EXPAND_SZ. Paste the saved text into the text field of the newly created value, but edit the prefix before saving it. Replace the text "My Computer" in the string with "%username% on %computername%" without the quotes. For example, a modified string might read @D:WINNTsystem32shell32.dll,-9216@1033,%username% on %computername%.

For NT 4.0 systems, select the item in the right pane and delete it. On the Edit menu, click Add Value, and leave the Value Name blank. Select a Data Type of REG_EXPAND_SZ and in the string box enter "%userName% on %computername%" without the quotes. Now close Regedt32 and refresh the desktop to see the new display caption

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like