रविवार, 7 अक्तूबर 2012

How to update Microsoft Security Essentials through a proxy

If you are accessing Internet through proxy, it is difficult to update  Microsoft Security Essentials.
Here is how to start:
1. Login with administrative privilege
2. run command prompt [ Start>Run>Cmd ]
3 reset your proxy environment by typing following commands

   reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f

Hit enter

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f

 Hit enter

4. 

In Vista and Windows 7
      Type this syntax : NETSH WINHTTP SET PROXY (Number and proxy server)
      Example: NETSH WINHTTP SET PROXY 1.1.1.1:8080
      OR:         NETSH WINHTTP SET PROXY MYPROXY.NET:8080
 In windows XP
    type the syntax: PROXYCFG -P (Number and Proxy Server)
    Example: PROXYCFG -P 1.1.1.1:8080
    OR:         PROXYCFG -P MYPROXY.NET:8080


Hit ENTER after typing your proxy server or address.



5. Update your  Microsoft Security Essentials now it should work.


Please note you need to enter proxy configuration in you internet explorer or firefox again.


Alternate method: using 'proxycfg -u'  THIS WILL import proxy settings from current user's
                   Microsoft Internet Explorer manual settings.
-------------------------------------------------------------------------------
C:\>proxycfg /?
Microsoft (R) WinHTTP Default Proxy Configuration Tool
Copyright (c) Microsoft Corporation. All rights reserved.

usage:

    proxycfg -?  : to view help information

    proxycfg     : to view current WinHTTP proxy settings

    proxycfg [-d] [-p []]

        -d : set direct access
        -p : set proxy server(s), and optional bypass list

    proxycfg -u  : import proxy settings from current user's
                   Microsoft Internet Explorer manual settings (in HKCU)

-------------------------------------------------------------------------------------

OFFLINE DEFINITION DOWNLOAD
Manually download the latest definition updates




Hope it will solve the problem.  




This article is based on following two articles:
1. http://answers.microsoft.com/en-us/protect/forum/mse-protect_updating/update-through-proxy-connection-failed-error/1c84903a-f13b-4621-84b4-982328a7b687
2. http://support.microsoft.com/kb/2289942#LetMeFixItMyselfAlways

Other Helpful Links: