How can I block a website in Windows XP using Regedit or Group Policy?

29945 pts.
Tags:
Group Policy
RegEdit
Windows XP
Windows XP administration
I’m a network engineer for a financial company. We use XP professional computers in all of our branches and our workgroup uses Cisco routers to connect to the head office. I want to block particular sites, for example:
  • https://thornfruit.com,
  • https://kproxy.com
How can I block these sites in WinXP using Regedit or Ggroup Ppolicy? Also, how can I monitor what size files a user is downloading to a specific computer, in a day or week? Please help. Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could push out a hosts file that has these domains pointing to the loopback (127.0.01) address. You could also implement a transparent proxy (e.g. Smoothwall) between the clients and the internet that blocks desired domains.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Dhyeypatel
    i want to block some sites on windows xp system
    10 pointsBadges:
    report
  • Atulmaharashtra
    C:WindowsSystem32Driversetchosts Once you have found the hosts file, right click it and select Properties. Uncheck the "Read-Only" attribute (if checked). Click OK. Double click the 'Hosts' file and select "Notepad" from the list of programs to open it with. Once you have the hosts file open in Notepad, you will see an entry such as: # Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost To block a certain web page from loading, add the following: 127.0.0.1 www.webpage.com Your Hosts file will now look like this: 127.0.0.1 localhost 127.0.0.1 www.webpage.com Add as many web addresses as you like in the same fashion. Once you are finished, go up to 'File' and click 'Save'. The web pages listed in your 'Hosts' file should be blocked from access. It may be necessary for you to reboot your computer for these changes to take effect. On a side note regarding the host file....there are numerous sites out there that maintain up to date lists of "Bad / Dodgy" websites for download...its a good way to not get infected with spyware.... __________________ Ad-Aware >> http://www.lavasoftusa.com/software/adaware/ SpyBot - Search and Destroy >> http://www.safer-networking.org/en/spybotsd/index.html Online Antivirus Scan >> http://housecall.trendmicro.com/ Online Spyware Scan >> http://www.trendmicro.com/spyware-scan/
    10 pointsBadges:
    report
  • Myblocksites
    Click Start->All Programs->Accessories->Command Prompt. 2. Click Command Prompt This will open a DOS command window. 3. Type: notepad C:/Windows/System32/drivers/etc/hosts 4. Locate the line 127.0.0.1 localhost 5. To block the website google.com for example, just add this text under 127.0.0.1 localhost: 127.0.0.1 google.com 127.0.0.1 www.google.com You can add as many sites any site, However you will need to prefix it with "127.0.0.1". 6. Save the file Google will now be blocked in all web browser. This is an advanced but easy method on how to blow a website.
    10 pointsBadges:
    report
  • Michael Tidmarsh
    [...] How can I block a website in Windows XP using Regedit or Group Policy? [...]
    0 pointsBadges:
    report
  • Itexecutive
    First go on run command and type drivers, then open the folder etc, after that open the host file in notepad. Write down the site name below the host file e.g 127.0.0.1 localhost 127.0.0.1 www.google.com 127.0.0.1 www.yahoo.com 127.0.0.1 www.rediffmail.com save the file and close. sites which u writen there is blocked..
    20 pointsBadges:
    report
  • piyush001
    i want to know some another tips to unblock website because my boss block it not in host file but another way..<a href="http://srwtips.com">SRWTips</a>

    10 pointsBadges:
    report
  • TomLiotta

    ...because my boss block it

    Then you should go visit some other site and stay away from here. This site doesn't support unethical behavior.

    Nor do members appreciate adding spam comments to threads. You only make people upset by doing it. No one is going to trust your site if you have to spam other sites for it. Who could trust ethics like that? The web site is also likely to be untrustworthy, so we can thank you for giving us warning to stay away.

    Tom


    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following