Using Group Policy editor to force Internet explorer users to use the Proxy connection.


Open gpedit.msc from the Start / Run box, right click the top of the tree, and select Properties.

Checking those boxes turns OFF any restrictions you apply there. That wat you can work on the PC without having to deal with things that are turned off or restricted. Then when you have finished making changes in the Group Polict editor, you can UNCHECK those boxes to apply the policy.

The boxes are checked in this picture, so the policies are NOT effective.

Remember to leave yourself a way to open the Group Policy editor, it is possible to have such a restrictive policy that you actually lock yourself out! Yikes. So I recommend making sure that you are able to at least access a command line window ( DOS Window), from the Programs/Accessories menu

To impose  restrictions , you need to go two places in that window.
1. As you can see, there are TWO main directories (folders) named


Computer Configuration

User Configuration


The basic difference is that one controls settings for ALL the computer, and the other only for specifically for the Users of the computer.





Go to page two





Ok, now to getting MySpace blocked.

First place to go: The User Cofiguration folder , open the first level, then open the folder labeled Windows Settings, then open the Connection folder

You should be here:

Double Click the folder labeled Proxy Settings

This window opens

note that in the Exceptions box, the two addresses are separated by a semicolon (important!!!)

So the proxy server address is:  

Port number is : 4004

Check all the boxes!! Like the picture above. J

Close and go back to the main window


Go to Next page\....





















Now we are ready to do the next setting


Starting in the

Computer Configuration folder go to the

Administrative Templates,  

then Windows Components,

then Internet Explorer,

then Internet Control Panel

The Window should look like this:

Double Click the item labeled “Disable the Connections page


Next page….











Check the radio button to ENABLE that condition. The Click Apply, and OK.


You have now forced all internet page requests to go through the District Proxy Server, then blocked the page in Internet Settings that enables users to change the settings. J



There is another way. So Go to the next page.















Stopping access to ANY internet website you want. (grrrr)


Deep in the in endless directories of the Windows XP Operating System is a small file named: “hosts”.

It resides in a folder called “etc

You can access this folder by going to the Start / Run box and typing the path to the folder:


Or open any Windows Explorer Window and type the path into the address box to get to the same place.


Once there we want to go to the Tools Menu then scroll down to Folder options and open that window.

Make sure the entry labeled “Hide extensions for known file types” is UNCHECKED.  You may have to scroll down in the list to find it. After unchecking that option, refresh the window by pressing the “F5” function key.


In the folder you will see various files most importantly the one named



What we are going to do is replace this file with a custom ‘hosts’ file.

I have posted that file on my website at: 

So go ahead and use the hyperlink above to get the new file.


Right click the file named hosts and select “Save target As..”  use the desktop or a convenient place to save the hosts file to because we are going to use it to replace the one that is on the PC.


open the “C:\WINDOWS\system32\drivers\etc”  folder.


Locate the hosts file. Right click it , then select rename. Type in something likehosts.old. This is to retain the old hosts file in case there is a problem with the new and improved one.


Locate the new and improved hosts file and right click it

Select COPY

Then navigate back to the C:\WINDOWS\system32\drivers\etc folder

Go to the Edit Menu and PASTE it into the “etc” folder.

When Windows asks “do you want to replace the original file”, say YES, then close the windows up.

During this process it is possible that Windows put the extension “.txt” at the end of your new hosts file. Check to make sure the file  has NO extension, that the name is “hosts” .  If you need to, then rename it without the .txt and use the “all files” instead of “text” option in the save process .

You should be able to see all the file extensions now that we turned off the stupid windows “Hide extensions for know file types” option.

Ok, so in the “C:\WINDOWS\system32\drivers\etc folder should be one file named “hosts.old” (the old one) , and the new one we copied in to the folder simply named “hosts”. If all is well, then close all those windows.


Restart Internet Explorer, type in “” If you have successfully replaced the hosts file then it will re-direct to a different site.