Question

Locked

how to restrict websites in internet explorer

By pramod.patil ·
Hello Sir,
I am working in a college.
60 computers are connected in LAN
I wanted to block websites like youtube.com
from windows server 2003
without any software

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

You may be able to do it from your Hosts file

by Jacky Howe In reply to how to restrict websites ...

Press the WinKey + r and type or copy this command: notepad C:/Windows/System32/drivers/etc/hosts click OK or press Enter.

Add this line at the end of the document and save it.

127.0.0.1 youtube.com


You can update all of the Workstations at once using running a Batch file and an Input file. The workstaions will need to be turned on for this to work. Place the two files in the root directory. Test it on one Workstation first.

Create and run this from the file server. You will need 2 files. The first one is the .bat the second is a text file with a list of workstations that you need to add to in the same format.

C:\test is a folder on the File Server, place the updated file that you want copied in there. If the file exists on the Workstation it will be overwritten.

File 1 = copyto.bat

FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$\C:\WINDOWS\system32\drivers\etc"

Put your modified hosts file that you want copied into a folder EG: c:\test

File 2 = WS.txt

\\ws01.domain.local

\\ws02.domain.local

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums