Answer the question
In order to leave comments, you need to log in
Run batnik as administrator via GPO?
Good day, people. I need your help. in general, users need to add ipshnik to the hosts file using GPO. The script is available, but the script only runs as an administrator. I created a group policy at the computer level, but the result is zero.
Maybe someone faced a similar problem. Thanks for any help. Of good)
Answer the question
In order to leave comments, you need to log in
Why exactly in hosts? What problem do you want to solve with this? I will assume that if there is a GPO, then there is a domain. And if so, then there is a DNS server. Maybe it's better to make this entry there and not bother with the administration of the hosts file on all computers?
It is better, of course, to change DNS, as Dmitry tells you.
But you can simply replace the file through the GPO:
Computer Configuration—Preferences—Windows Settings—Files
' Replace ' from the balls with the file file %SystemDir%\drivers\etc\hosts
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question