Using REG.EXE, built into Windows XP, Windows Server 2003, and later, or installed on Windows 2000 from the Support Tools folder of of the Windows 2000 CD-ROM, I have scripted MyComputerInfoTip.bat to display %ComputerName% %UserName% %UserDomain% when the cursor hovers over the desktop My Computer icon.

The syntax for using MyComputerInfoTip.bat is:

MyComputerInfoTip

MyComputerInfoTip.bat contains:

@echo off
<font size="1">@echo reg add HKLM\SOFTWARE\Classes\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\} /V InfoTip /T REG_EXPAND_SZ /F /D " %%ComputerName%% %%UserName%% %%UserDomain%%"
reg add HKLM\SOFTWARE\Classes\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\} /V InfoTip /T REG_EXPAND_SZ /F /D " %%ComputerName%% %%UserName%% %%UserDomain%%"</font>
reg query HKLM\SOFTWARE\Classes\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\} /V InfoTip