Changing IP configuration remotely

Once I received a request to fix an issue with MAC computers that could not access any shared folders on Windows file server. The Windows clients were OK. Well, the very first troubleshooting step is to log into the server. However, I could not do this. I got a message saying that domain controller was not available and my credentials could not be verified.

It looked like this server could not find a domain using the DNS servers in its IP configuration. But how to check and modify it?

Actually, it was pretty easy and took less time than writing this article.

  1. Connect remotely to the registry of the server in question
  2. Go to the HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces registry key
  3. Check out all interface keys listed there, paying attention to the IPAddress value. The one with the correct server IP address is the interface you are looking for
  4. Change NameServer value. You can use multiple DNS server IPs, separated by comma.

Done. In the worst case scenario the remote server restart may be needed

Shutdown -r -f -t 6 -m \\

In my situation the issue was fixed immediately, even without the server restart.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: