When migrating a workstation or a server, the primary and secondary DNS servers are saved as they were. How can I change them?
You can use a third-party freeware tool called psexec.exe, which will allow a remote connection to selected machine(s) and then execute the netsh command on that machine(s) to change the preferred and alternate DNS server.
Here is the procedure on how to change the preferred and alternate DNS:
1. Download and install psexec.exe freeware tool from: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
2. Copy the above tool to the root system folder on the computer where Migration Manager is installed, i.e C:\.
3. In order to set the preferred DNS server use the following command in Resource Updating Manager | Batch Processing:
c:\psexec.exe \\%COMPUTER% netsh interface ip set dns "<name of network connection>" static <ip address>
4. In order to add the alternate DNS server use the following command:
c:\psexec.exe \\%COMPUTER% netsh interface ip add dns "<name of network connection>" static <ip address>
NOTE: Windows Support Tools need to be installed on the Migration Manager console computer.
Disclaimer: Since this solution contains a third party freeware tool, it was not tested by Quest Software's Quality Control team. Thus Quest cannot be held responsible for any unexpected result of running this tool. Quest Support will provide their best effort with regards to assistance; however, we will be somewhat limited in how much support we can provide in this scenario.