Windows – Configure Windows update through proxy

PROXYsquidwindowswindows-update

I have a squid proxy server and my clients are running on windows xp.
How can I make Windows XP reach the windows update sites through proxy?
In short, through the proxy, windows can not download updates.
Any advice would be appreciated.

Best Answer

proxycfg -p <proxy>:<port> <bypass list>

UPDATE: We see

2011-09-23      15:52:23:843     372    11c     Agent     * Access type: Named proxy
2011-09-23      15:52:23:843     372    11c     Agent     * Default proxy: 192.168.1.2:3128
2011-09-23      15:52:23:843     372    11c     Agent     * Default proxy bypass: *.local;<local>

in Windowsupdate.log, so it's configured to use proxy. Check if proxy is available from updated machine with telnet 192.168.1.2 3128 and search squid logs, the answer must be there