Tuesday, July 17, 2018

Kako blokirati neposlovne sajtove

1) otvorite NOTEPAD

2) iskopirajte sledeci tekst:

rem ----------------------------->8-----------------------Pocetak--------------------------------------------

@echo off
takeown /f "%windir%\system32\drivers\etc\hosts" && icacls "%windir%\system32\drivers\etc\hosts" /grant administrators:F
attrib -s -h -r %windir%\system32\drivers\etc\hosts

ECHO 127.0.0.1 facebook.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.facebook.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 twitter.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.twitter.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 instagram.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.instagram.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.vesti-online.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.b92.net>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.espreso.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 svet.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.svet.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.vesti.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 rs.n1info.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.srbijadanas.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 prva.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.prva.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 novosti.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.novosti.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 mondo.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.mondo.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.krik.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 beta.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.beta.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 hellomagazin.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.hellomagazin.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.vestinet.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.gloria.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.happytv.tv>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.smedia.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.krstarica.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.ozon.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 insajder.net>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 tracara.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 news.google.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.slobodnaevropa.org>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.republika.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.021.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.republika.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.fss.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.intermagazin.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.itvesti.info>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 scandal.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.scandal.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.informacija.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 time.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.svevesti.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.navidiku.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.polovniautomobili.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.vreme.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 okradio.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.youtube.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 starmagazin.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.danas.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.vesti-gazeta.com>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 vesti.mojauto.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 webtribune.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.pravda.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 politika.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.politika.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.blic.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.kurir.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 telegraf.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.telegraf.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 alo.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.alo.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 informer.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.informer.rs>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 naslovi.net>>%WINDIR%\System32\drivers\etc\hosts
ECHO 127.0.0.1 www.naslovi.net>>%WINDIR%\System32\drivers\etc\hosts


pause
%windir%\notepad.exe %windir%\system32\drivers\etc\hosts

attrib +s +h +r %windir%\system32\drivers\etc\hosts
pause


rem -----------------------------8<-----------------------Kraj--------------------------------------------


3) Snimite fajl kao "BLOK.BAT", navodnici su obavezni !

Kliknite desnim tasterom na taj dobijeni fajl i odaberite "Run As Administrator".

4) Sada Vaši zaposleni neće gubiti previše vremena na gledanju nebitnih sadržaja tokom posla.

5) Naravno, podrazumeva se da ovaj BLOK.BAT fajl startujete na svim kompjuterima u Vašoj firmi, kod svih zaposlenih.

Podrazumeva se i da Vi imate administratorska prava - administratorski nalog na svakom kompjuteru, a oni ga nemaju.

6) Srećno !





Ukoliko i Vi imate da reklamirate neki svoj proizvod ili slične sadržaje, blogove, knjige i sajtove slobodno me kontaktirajte.



No comments:

Post a Comment

Beogradsko programiranje=