We help IT Professionals succeed at work.

Set different DC on clients

Hi,

I need to set a different login DC on workstations remotely by powershell.

Regards,
Comment
Watch Question

AlexA lack of information provides a lack of a decent solution.

Commented:
You can't sorry.

More importantly, why would you want to? If one domain controller is down it'll just go to the closest one afterwards. That being said actually, you could use the host file, change your domain to point to a single domain controller, but at that point you're looking at a single point of failure.

What is it you're actually trying to achieve?

Thanks
Alex
Distinguished Expert 2018
Commented:
I have to agree. I can't think of a good reason to do this so understanding the underlying need would help us provide a better solution.

Not even the host file trick would work. That'd get you an initial discovery but then AD takes over and would redirect to the nearest based on site and link cost. You still can't guarantee it.