Re: 2 workstation names



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

.



Relevant Pages

  • Re: Zeitstempel
    ... Datum+Zeit+Benutzer(oder Computername) in eine Datei geschrieben werden, ... Solange der User auf der Workstation kein Admin ist, ... Admin auf der lokalen Maschine ist, kann er den Dienst sowie die Logfiles ...
    (microsoft.public.de.german.windows.server.general)
  • Re: Shared Areas Across a Domain
    ... If you are not able to ping the DC with computername it sounds like DNS, please post an unedited ipconfig /all frpm the DC and the client machine. ... The admin account you use is the local workstation admin or a domain user account? ...
    (microsoft.public.windows.server.networking)
  • Re: Plz help- tried all possible solutions- Outlook does not connect to Exchange
    ... netdiag on the machine i disconnected from the Domain. ... Your workstation has the proper WINS server.... ... IsmServ Service is stopped on [SERVER] ... portqry -n computername -e 135 ...
    (microsoft.public.windows.server.sbs)
  • Re: Abundance of faulure notices in event viewer..
    ... Try Running a virus scanner on one of the problem machines to see if the ... > It's not just one workstation, ... > to be the two with the most failure messages. ... > from workstation: computername ...
    (microsoft.public.win2000.security)
  • Re: 2 workstation names
    ... SET command on a command prompt. ... When you logon to a domain it provide the following environment variables: ... LOGONSERVER - The authenticating domain controller ComputerName, ... For some reason I seem to have 2 workstation names on my W2K ...
    (microsoft.public.win2000.networking)

Loading