First of all, and we say that the computer name is what we often say the host name, the following figure:
The XP1 in the image above is the computer name, and today we're going to talk about NetBIOS names, and, in short, NetBIOS names are used to mark computers in systems like Win98, and in some existing operating systems, they exist, but only the default and computer names, but only the first 15 digits, Because the NetBIOS name is the largest and only 16 digits, the last one is used for a service or application. How do you view it?
These two red boxes are the computer name and NetBIOS name respectively, and the default is the same.
Now let's modify it, please open the registry and find the following key value
Hkey_local_machinesystemcurrentcontrolsetcontrolcomputername
Below this item are 2 subkeys, ActiveComputerName and ComputerName, as shown in
What's the difference between the two? First say computername, this is actually the NetBIOS of the machine, see translation seems to be the computer name ha, in fact, don't be misunderstood, in the registry, named hostname key value is the real computer name, also known as host name. We can use the hostname command at the command prompt to view the host name of this machine. What about ActiveComputerName, according to the official statement, "It is unstable and the computer name is provided during the session," seems very difficult to understand. In fact, not too much bother, this is also NetBIOS name, if you want to modify, directly to the computername simply modify the NetBIOS name to want, and then restart, temporarily do not pipe activecomputername, etc. after the restart, You'll find that ActiveComputerName automatically synchronizes with computername. Try to do it.
I have changed the computername to Xp1bios, after the reboot. As shown in figure
The NetBIOS name has been changed.
We can also use Nbtstat-n to verify.
A friend might ask, what's the point of changing a NetBIOS name? Wouldn't it be nice to change? Yes, under normal circumstances, the same can be done without hindrance, but in some special circumstances, in some tests and experiments, you need to use the NetBIOS name.