Title: Message
Answer
to question #1.) type "set" at the command prompt, look for LOGONSERVER=server
name.
Answer
to question #2.) \\HKEY_CURRENT_USER\Volatile
Environment\LOGONSERVER
I'm
not sure about changing the reg key or if it defaults back as the environment
variable is loaded.
From the command prompt on the client machine you can type
set
This will give you the local variables including the login domain
controller.
Hope this helps.
James R. Day
(202) 354-1464
[EMAIL PROTECTED]
|-+--
| | Kevin Felker
, NetPro
-Original Message-From: Darryl Hall
[mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003
8:33 AMTo: '[EMAIL PROTECTED]'Subject: RE:
[ActiveDir] Choosing between Domain Controllers
I know that "echo
%LOGONSERVER%" from the command prompt will give
Title: Message
I know that "echo %LOGONSERVER%"
from the command prompt will give you the DC that you used but the only way I know
how to force the use of a particular DC is to put garbage information for the
DC you do not want to use in the Hosts/LMHosts file on
the client.
The machine
Title: Message
You
can use set logonserver to get the OS to tell you what it used for an
interactive logon. You can use nltest /dsgetdc:domainname to see what its
preferred ldap server is. You can use nltest /sc_query to see where the secure
channel is.
To
force a specific DC to be used