I have that problem on my workstation also. but only for me (Win 2k client). If someone else logs on to my machine it works fine. It appears to be working fine on every other client though. So I have no idea what the problem is.I use this one for Win NT as shown above by JackLothian:
WriteValue("HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","","My Computer %computername%","REG_SZ")
And this one for Win 2k:
WriteValue("HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","LocalizedString","@@C:\WINNT\system32\shell32.dll,-9216@@1033,My Computer %computername%","REG_SZ")
I saw the one for Win 2k at the Windows 2000 magazine web site. The registry is a bit different in Win 2k since they added the Info Tip.
This is what you get if you open regedt32 and do a Save Subtree as... for that key.
Key Name: CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Class Name: <NO CLASS>
Last Write Time: 12/12/2000 - 1:28 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: My Computer
Value 1
Name: InfoTip
Type: REG_SZ
Data: Displays the files and folders on your computer
Value 2
Name: LocalizedString
Type: REG_SZ
Data: @C:\WINNT\system32\shell32.dll,-9216@1033,My Computer
The recomend changing the LocalizedString value rather than the No Name value for Win 2k.
Check this page out. Maybe it will make it a little more clear.
http://www.win2000mag.com/Articles/Index.cfm?Action=Comments&ArticleID=8746
Since KiXtart takes care of of the %computername%, I just used the REG_SZ data type tather than the REG_EXPAND_SZ data type they recomend.
Pete
[This message has been edited by PCC (edited 15 December 2000).]