please tell me how to create a batch file according to my requirement. this is for blocking some internet sites to all users in the domain.
we dont have proxy server and we wont use.
we have windows server 2003 domain. we have windows 2000, xp, vista clients.
i tried to restrict from group policy settings but its not working.
through google, i got one method, according to that,
1. i copy any host file from client location and i add all the web sites which i want to block like, www.facebook.com 127.0.0.1
. i will copy this file into the server and i will share the file.
2. i want to create a batch file like, if we run this batch file it should replace the host file from server (which is saved in shared location in server) to client's ( user logged into the system) host file.
3. i have to create a GPO like, the batch file as a script that every time when a user logs into the client this batch file should run.
please give some idea to create this type of solution. because i didn't get any solution through group policy directly. all the internet options i tried. everybody giving how to block entire internet access or referring proxy settings. both are not useful for me.
please help me.