How To: Install Squid On Windows 7

Squid is a caching proxy server that can help reduce internet bandwidth usage and improving response time of loading a website by caching and re-using frequently opened web page. Squid reduce the bandwidth usage and accelerate the website loading by caching static website objects such as images, flash objects and text files, with some modification Squid can cache larger files such as PDF, MP3, executable, flash videos, etc.

Last week ago my client ask me to install squid on his computers. First time I meet problem because I’m not familiar with windows 7 (XP Still the best for me). The mostly problem I meet is I can’t install squid as windows 7 service. Anyway I finally found the way to do this… Want to know? keep reading this tutorial…

Preparation before you install squid:

  1. Squid 2.7
  2. Squid.conf sample

The step to install squid on windows 7:

1. Extract squid 7 and put it on example “c:\squid“.

2. Get squid.conf sample and save it as “squid.conf” put this files on example “c:\squid\etc

3. Now the important step! we have to disable UAC (User Account Control) if we didn’t disable this we will got problem on installing squid as windows service. Mostly a lot of people try to install squid on windows 7 has problem on this step.

Control Panel -> System and Security -> Change User Account Control Settings


Slide the bar into “Never Notify” You need to restart your computer after doing this step.

4. Open command prompt. Then install squid service by typing “squid -i” in your command prompt. If you success you will see something like this:

5. Build your squid cache by typing “squid -z” You will see this message “Creating Swap Directories” in your command prompt, just waiting until it finished.

6. After squid service installed and squid cache finish building now you have to start this service.

Control Panel -> Administrative Tools -> Services

Look for service with name “squid” the start this service (you can also configure it too to auto start each time your computer on)

7. Make sure squid process is running on your computer background. You can see this on task manager in services tab.

8. It’s might important and secure to re-enable back again User Account Control Settings.

9. You just finished installing squid, congratulation 😀

Now you have to configure your web browser to use this squid. Open your web browser and looking for (mostly network) then write your squid IP and squid Port. Example my squid IP server is and port 3128.

That’s it, another web browser will have almost same configuration like this. Have a nice day 🙂

Similar Posts:


33 thoughts on “How To: Install Squid On Windows 7”

  1. You could also easily make this with:
    – look for cmd (in menu or in explorer)
    – right-click and choose: run as administrator
    – squid -i as mentionned

  2. Hi, i was wondering if other computers can connect to the squid on the windows 7 or is the squid only caching for the windows 7 machine it is installed on.

  3. Just set another computer internet connection to use proxy on machine installed with squid, another way is set your squid to become transparent proxy, but you will need 3rd tools for squid for windows version.

  4. when im running squid.exe -i,
    i got openSCManager failed.
    ive turned off the UAC and reboot, but it still saying openSCmanager failed. do you have any solution ?
    im using windows 7 ultimate

  5. i am trying to install squid at another partisi(for example D), but i can not creat the Swap Directories, the comment was fatal error because default conf in partisi C.
    pliz help me for it…
    thanks my broter….

  6. Thanks a lot for the knowledge you share. I’ve implemented it, the process has been successful installed in service. But how to configure the network? I have LAN connection. Should I install squid on all computer? Or I just install on one computer, then the others computer is configured to use proxy server with address the computer that I’ve installed squid?? Thanks before…

  7. by default squid for windows should be in C drive, except the cache drive it can be everywhere.
    in conf you set cache in drive F:?how about computer not have drive f:

  8. Please let me know if you’re looking for a article writer for your weblog. You have some really good articles and I feel I would be a good asset. If you ever want to take some of the load off, I’d love to write some content for your blog in exchange for a link back to mine.
    Please send me an email if interested. Kudos!

  9. It’s not my first time to pay a visit this web page, i am visiting this site dailly and take nice data from here all the time.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.