Is there a script or way to push a new host file to all the pc's in a domain? I have an edited host file that blocks sites and need to get it to each pc.
You can create a line in a login script that copies the hosts file to users machines, but of course you would have to run it with administrator privileges via /runas.
If you have a windows domain, just add the blocked sites to you DNS which will resolve locally (e.g. 127.0.0.1). I assume you don't have a firewall to block the sites.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.