iTeam HelpDesk
asked on
Force DNS Settings on Domain Network
So I know there is a way but can't seem to find it. Server 2012 Domain Network. How do I force all workstations to use the IP and DNS settings I want on the network workstations. A lot of workstations have the DNS manually configured and I want to force it thru the domain instead of going to each workstation manually. The group policy in Server 2012 under admin templates/network DNS settings say that is only for Windows XP professional only. I changed the settings just to try and this did not work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This was what I ended up doing last night. Thank you.
search the target machine's network adapter that has ip 192.168.0.x and set Adapter with deserved DNS address
Open in new window
if you want to change the dns server to use dhcp dns remove $DNS from $Nic.setDNSServerSearchOrd
Open in new window
You can also run this to set a scope of computer, either reading from AD or from a txt file.
I do not know how many machines do you have in your environment
search machine in AD that is windows 7 and adapter that has an IP address
Open in new window
or do it from txt file
import C:\computers.txt file and find adapter that has an IP address (not equal nothing)
Open in new window
hope this help.