Disable or enable proxy for Internet explorer or Chrome


Internet explorer and Google chrome both shares same proxy settings. So if we change setting in internet explorer, then it also effects in Google chrome. We can change proxy setting from CMD (command line prompt).

Disable proxy setting:

@ECHO OFF
ECHO Configuring Proxy Settings! please wait...
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f



Enable proxy setting:

@ECHO OFF
ECHO Configuring Proxy Settings! please wait...
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d address:portNumber /f

address: New proxy address
portNumber: Port Number

Save the commands in a batch file and execute it. It will disable/enable the proxy setting for browser.

Comments

  1. thanks.... that worked

    ReplyDelete
  2. Thank man!! was look for this this

    ReplyDelete
  3. Its not working for me man

    ReplyDelete
    Replies
    1. What issue you are getting ?

      Delete
    2. Hello,
      While this changes the setting, that setting doesn't take affect for me until I open the properties and click ok. How do I make them actually take effect?

      Delete
    3. Yes. This happens with chrome. Once you open properties or Internet Explorer, chrome starts working fine. Have you found any solution yet?

      Delete
    4. Yes. This happens with chrome. Once you open properties or Internet Explorer, chrome starts working fine. Have you found any solution yet?

      Delete
  4. How to combine this in one file?

    ReplyDelete
  5. Chrome VPN Extension by FastestVPN delivers security and performance in a lightweight package. Take control of your internet freedom, now from the web browser.

    ReplyDelete
  6. It’s perfect time to make a few plans for the future and pirate proxy is time to be happy.

    ReplyDelete

Post a Comment

Popular posts from this blog

chm viewer unable to show contents

3 prisoners and 5 hats puzzle