A. It may be useful to have the My Computer icon to show the current logged on user and computer name and this can be configured as follows:
- Start the registry editor (regedt32.exe)
- Move to HKEY_CLASSES_ROOT\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\}
- Select the <No Name> value and Delete
- From the Edit menu select 'Add Value'
- Leave the value name blank and set the type to REG_EXPAND_SZ
- Click OK and enter the text
User: %USERNAME% on: %COMPUTERNAME% - Click OK
- Click on the desktop and press F5 (for refresh) and the change takes effect
Without changing the value type to REG_EXPAND_SZ the %username% and %computername% does not get expanded to the actual user name and computer name. This works for Windows NT 4.0, for Windows 2000 perform the following:
- Start the registry editor (regedt32.exe)
- Move to HKEY_CLASSES_ROOT\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\}
- Double-click the value LocalizedString to edit and cut'n'paste the
contents to somewhere safe. It will be something like:
@D:\WINNT\system32\shell32.dll,-9216@1033,My Computer - Use Registry/Save Subkey to save the current entry.
- Delete the value LocalizedString.
- Create a new value named LocalizedString of type REG_EXPAND_SZ and paste
in the content saved at step 3). Edit the text 'My Computer' at the end of
the string and change it to '%USERNAME% on %COMPUTERNAME%', for example to:
@D:\WINNT\system32\shell32.dll,-9216@1033,%username% on %computername% - Right-click on the desktop and choose Refresh, if you have desktop icons shifted to the taskbar, right-click on the desktop section and choose Refresh.
Last updated 11 September 1999
13 comments
Hide comments