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

Group Policy
Microsoft Windows XP
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:
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.
  • Dhyeypatel
    i want to block some sites on windows xp system
    10 pointsBadges:
  • 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: # # # source server # # x client host localhost To block a certain web page from loading, add the following: Your Hosts file will now look like this: localhost 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 >> SpyBot - Search and Destroy >> Online Antivirus Scan >> Online Spyware Scan >>
    10 pointsBadges:
  • 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 localhost 5. To block the website for example, just add this text under localhost: You can add as many sites any site, However you will need to prefix it with "". 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:
  • Featured Member: Labnuke99 - ITKE Community Blog
    [...] How can I block a website in Windows XP using Regedit or Group Policy? [...]
    0 pointsBadges:
  • 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 localhost save the file and close. sites which u writen there is blocked..
    20 pointsBadges:
  • 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="">SRWTips</a>

    10 pointsBadges:
  • 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.


    125,585 pointsBadges:

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.

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


Share this item with your network: