Hello Frédéric,
Changing the comments field on a Windows 2000 computer.
Method 1. Right click on My Computer, Left click on Manage, Right click on
Computer Management (Local), Left click Properties, select the middle tab called
Network Identification.
Method 2. From a command prompt enter the following command
net config server /srvcomment:"Asset Tag - Lastname, Firstname"
Method 3. From Server Manager for Domains locate the machine and double-click on it.
You will be able to enter the Description in the appropriate field now.
Method 4. (Not recommended)
Using REGEDIT, or REGEDT32 alter the following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\srvcomment
You and others are too brave for me, changing a computer name via the logon script. Sorry, No help from me there.
This web page talks about the CurrentControlSet(s) http://is-it-true.org/nt/registry/rtips65.shtml