PC Review


Reply
Thread Tools Rate Thread

2 workstation names

 
 
Tester
Guest
Posts: n/a
 
      26th Sep 2007
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

 
Reply With Quote
 
 
 
 
Meinolf Weber
Guest
Posts: n/a
 
      26th Sep 2007
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.

> 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



 
Reply With Quote
 
Tester
Guest
Posts: n/a
 
      27th Sep 2007
On Sep 26, 3:29 pm, Meinolf Weber <meiweb(nospam)@gmx.de> wrote:
> 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.
>
>
>
> > 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- Hide quoted text -

>
> - 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

 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      27th Sep 2007
Tester wrote:
> On Sep 26, 3:29 pm, Meinolf Weber <meiweb(nospam)@gmx.de> wrote:
>
>>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.
>>
>>
>>
>>
>>>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- Hide quoted text -

>>
>>- 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


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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrive workstation names john Microsoft Access Form Coding 1 17th May 2006 12:19 PM
Polling DC's for Workstation Names kevin@txun.net Microsoft Windows 2000 Active Directory 2 28th Oct 2003 06:32 PM
XP workstation cannot open shares on WIN98 workstation Franklin Sterns Windows XP Networking 2 19th Oct 2003 01:15 PM
Migrate Printer Definitions from NT4 Workstation to W2K Workstation Julie Microsoft Windows 2000 Printing 1 26th Aug 2003 01:02 PM
Creating New Local User Names on Win 2000 Workstation Raymond Taleiwa Microsoft Windows 2000 New Users 0 7th Jul 2003 05:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:18 PM.