Answer the question
In order to leave comments, you need to log in
How to replace receiving DNS statically with DHCP through AD?
There are about 40 computers, you need to replace getting DNS by statics with getting it by DHCP, somehow I'm not eager to do it with my hands. All computers in the domain.
Answer the question
In order to leave comments, you need to log in
1. Enable Remote Management via GPO
2. Write a script using winrs and netsh
3. PROFIT!
The script is simple, you just need to know the name of the interface (I think it's easy to get it with the same command and pass it on), running it through the GPO will not be difficult.
netsh interface ip set address "Local Area Connection" dhcp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question