Discussion Locked

How to force logon to a specific server?

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I edit my registry and force it to logon to a specific domain controller?

Thanks in advance.

10 replies

by pknoles

I dont think you can force it to log in to a specific server. Because NT is a Domain consisting of Controllers that authenticate the "Domain" But if you edit the LMHosts file you can get it to use a server in particular to try and authenticate with first!
example:

192.168.168.100Server1#PRE#DOM:domain

type this into your LMHosts as one line and when the computer comes up it will load that particular server into the name cache and will most likely use it first to attempt authentication. If the server is busy or down the PC will look elsewhere for a DC!

by pherra

"pknoles@drhorton.com" is correct. This works, I use it on my network. The only trouble I have had is keeping the lmhost files up to date. You can modify logon scripts to make sure that all yuor systems have the correct file.

by nettek

An lmhost file will work. However, there is an easier way if you are using NT Workstation. Microsoft included a new utility with Service Pack 4 called SETPRFDC.EXE. I don't believe it came with the downloadable SP, only on if you purchased the SPCD.

The syntax is as follows:
SETPRFDC (Don't use the <> symbols, of course)

This will cause the NT workstation to search your domain controllers for validation in the order you list them. If DC1 does not respond, it will try DC2, etc. Once you run SETPRFDC on the PC, the list will remain until you change it. Just make sure your remove any corresoponding LMHOST entries.

If you are unable to find this utility, post a comment here and I will send it to your email address as a file attachment.

by jstankos

TO Net Tek:
Please send me the setprefdc.exe file.
E-mail:joe190@trdesk.com
Thanks!

This discussion is closed to new replies.