I am running a script to set DNS to connect to our domain, but once it connects I need DNS to go back to automatic, is there a way to automate this with KACE?
I am currently running 2 post installation tasks on my one of my images. We use KACE to image both school and town side, which are different domains. To connect to the town side, I need to hard code DNS into the system then connect to it. I have found a script that allows me to set DNS, and then join the domain. However, I need to switch the DNS back to automatic after it has been added to the domain, is there a way to do this? Is there a way to have the system go back and click the automatic radio button in iPv4 properties? I am still new and learning how to use all of this effectively, thanks for any feed back you can provide.
Community Chosen Answer
Keep it simple
Create a GPO to set the DNS when they join the domain.