Force Windows 7 to use specific DC

What is the command line to force a Win 7 machine to use a specific DC?
Thomas NSystems Analyst - Windows System AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom CieslikIT EngineerCommented:
Strange question.
If you have Forrest in your organization and more than one DC, then active directory should be propagated to all DC so all DC's will have same information.
If you want force workstation to use specific DC just put this DNS IP on workstation NIC IPv4 properties
1
aravind ancheWindows/Vmware Commented:
If you are logged on as a domain administrator then enter the command below to create the account and join the domain

netdom /domain:savilltech /user:savillj /password:nottelling member <computer name> /joindomain

If you are not an administrator the domain admin people will have to add you an account first using either server manager or using NETDOM.EXE

netdom /domain:savilltech /user:savillj /password:nettelling member <computer name> /add

Once the account has been add

http://windowsitpro.com/windows-server/how-can-i-join-domain-command-line
0
Shaun VermaakTechnical Specialist/DeveloperCommented:
That is not correct.

You need to configure Active Directory Sites and Services to link the subnet to correct site which in turn contains DC.
Test GC for example with this command
nslookup gc._msdcs.%USERDNSDOMAIN%

Open in new window


Setting logonserver variable has no effect on which DC is used for Kerberos, GC etc.

You can test with
NLTEST /DSGETSITE

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.