2 workstation names

T

Tester

Hi there,
For some reason I seem to have 2 workstation names on my W2K
Professional.
One is in My Computer, Properties, Network Identification or by
issuing hostname command, let us call it workstation1 and one comes up
when I issue the following command:
echo %logonserver% command let us call it workstation2. How can I
remove one name?
I am also getting error 5719 on it for some reason it is not
authenticating with the domain controller but with local machine's
second name.
Hosts and Lmhosts do not have the 2nd name.
In ipconfig I do not have any DNS/Wins servers for some reason, I am
on an AD network.
Thanks a lot, T
 
M

Meinolf Weber

Hello Tester,

Hope this gives you a small understanding of the same names.

In windows you have some environment variables, that you can see with the
SET command on a command prompt.

When you logon to a domain it provide the following environment variables:

COMPUTERNAME - The computer name.
USERNAME - The UserID.
LOGONSERVER - The authenticating domain controller ComputerName, preceeded
with a \\.
USERDOMAIN - The downlevel domain name (Windows NT 4.0 style).

When you logon onto a workgroup (local machine) you see:

COMPUTERNAME - The computer name.
USERNAME - The UserID.
LOGONSERVER - The authenticating computer, preceeded with a \\. This is
the local machine, equal with computer name.
USERDOMAIN - This is the local ComputerName.

So theire are not 2 names, it is one computer name, just displayed in different
ways.

Event id 5719
The machine authenticates against itself, if it can not reach the DC for
authentication. It uses then the cached credentials on the local computer
and in this case the "second" name you see. It's the local cached database,
so that you can login with your domain useraccount, the domain user password
and the domain name in the log on to field. I am not an engineer but hope
this gives you a small clarification what is going on.


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
 
T

Tester

Hello Tester,

Hope this gives you a small understanding of the same names.

In windows you have some environment variables, that you can see with the
SET command on a command prompt.

When you logon to a domain it provide the following environment variables:

COMPUTERNAME - The computer name.
USERNAME - The UserID.
LOGONSERVER - The authenticating domain controller ComputerName, preceeded
with a \\.
USERDOMAIN - The downlevel domain name (Windows NT 4.0 style).

When you logon onto a workgroup (local machine) you see:

COMPUTERNAME - The computer name.
USERNAME - The UserID.
LOGONSERVER - The authenticating computer, preceeded with a \\. This is
the local machine, equal with computer name.
USERDOMAIN - This is the local ComputerName.

So theire are not 2 names, it is one computer name, just displayed in different
ways.

Event id 5719
The machine authenticates against itself, if it can not reach the DC for
authentication. It uses then the cached credentials on the local computer
and in this case the "second" name you see. It's the local cached database,
so that you can login with your domain useraccount, the domain user password
and the domain name in the log on to field. I am not an engineer but hope
this gives you a small clarification what is going on.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.




- Show quoted text -

Hi there,
Thanks for the info but does not answer my question. I always get 2
workstation names, I only log in to the domain, no workgroup.
Computername is same as logonserver variable "workstation1" while in
network properties or hostname I have a totally different name
"workstation2", how can I make sure is only one name-for ex.
workstation2-, where in the registry should I remove the extra name?
Probably my windows is corrupt.
Thanks a lot, T
 
J

John John

Tester said:
Hi there,
Thanks for the info but does not answer my question. I always get 2
workstation names, I only log in to the domain, no workgroup.
Computername is same as logonserver variable "workstation1" while in
network properties or hostname I have a totally different name
"workstation2", how can I make sure is only one name-for ex.
workstation2-, where in the registry should I remove the extra name?
Probably my windows is corrupt.
Thanks a lot, T

The hostname is usually the same as computername, if it isn't then
someone may have made a mistake or changed it when they setup the TCP/IP
properties DNS entry. As for the %logonserver% variable there is a
known bug when login on to domains and executing logon scripts where the
logonserver variable is not properly set and the variable returns the
computername variable instead of the logonserver variable. I don't have
the bug information at my fingertips but if your search on Microsoft.com
you should be able to find more information about it, for most parts it
doesn't cause any problems unless you want to run specific scripts or
batch files that rely on the logonserver variable for its routine.

John
 
Joined
Aug 6, 2012
Messages
1
Reaction score
0
This may be an older post, but I had this same problem on an XP machine. I had 2 different names for the same computer. I fixed the problem by running NEWSID. Newsid showed the computer name that I DID NOT want. I changed the computer name using Newsid. problem resolved.:dance:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top