0% found this document useful (0 votes)
1 views

internet explorer - Is it possible to launch IE's proxy settings dialog from the command line

The document discusses methods to launch Internet Explorer's proxy settings dialog from the command line, providing various commands such as 'inetcpl.cpl ,4' and 'rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4'. It also mentions the possibility of modifying registry settings directly for proxy configuration. Users share their experiences and suggestions for achieving the desired functionality efficiently.

Uploaded by

cbct1.gmfr
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

internet explorer - Is it possible to launch IE's proxy settings dialog from the command line

The document discusses methods to launch Internet Explorer's proxy settings dialog from the command line, providing various commands such as 'inetcpl.cpl ,4' and 'rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4'. It also mentions the possibility of modifying registry settings directly for proxy configuration. Users share their experiences and suggestions for achieving the desired functionality efficiently.

Uploaded by

cbct1.gmfr
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

2/24/25, 3:51 PM internet explorer - Is it possible to launch IE's proxy settings dialog from the command line?

om the command line? - Stack Overflow

Ask questions and share your thoughts on the future of Stack Overflow. Join our first live community
AMA this Wednesday, February 26th, at 3 PM ET. Learn more

Is it possible to launch IE's proxy settings dialog from the


command line?
Asked 14 years, 5 months ago Modified 5 years, 5 months ago Viewed 48k times

Is there a way to launch the IE proxy settings dialog from the Windows command line to save
time going through menus in any application?
24
internet-explorer command-line

Share Improve this question Follow asked Sep 6, 2010 at 0:10


soutarm
841 1 8 14

3 also that command would move to connections tab "rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4"
– Umair A. Sep 6, 2010 at 0:19

Not programming related. – i_am_jorf Sep 6, 2010 at 2:09

6 Answers Sorted by: Highest score (default)

I've found another one, shorter:

46 inetcpl.cpl ,4

You can use it in Run box or Command Prompt.

Share Improve this answer Follow answered Jul 8, 2011 at 18:51


By clicking “Accept all cookies”, you agree Stack Exchange
Vinicius Xavier
can store cookies on your device and disclose information in
583 4 5
accordance with our Cookie Policy.

1 Any way to open LanSetting in launch window. – S.P Singh Jul 22, 2016 at 3:15
Accept all cookies Necessary cookies only
@shiv.mymail - Not without using some form of UI automation to click the button (AutoHotKey or native
.NET classes). Customize
There is no settings
method that exposes this functionality. – John Homer Nov 29, 2016 at 15:46

Thanks this is the only that worked for me. Running it through a run command. – Stryker Apr 20, 2017 at
14:10

https://stackoverflow.com/questions/3648366/is-it-possible-to-launch-ies-proxy-settings-dialog-from-the-command-line 1/4
2/24/25, 3:51 PM internet explorer - Is it possible to launch IE's proxy settings dialog from the command line? - Stack Overflow

1 The difference between this answer and the accepted answer is that command line from accepted answer
will pause execution and wait for user to close the dialog. This one allows command file to proceed and
run next command while dialog is open. – zmechanic Jun 27, 2017 at 11:26

Okay, I made a 15 minutes research for you and got following commands and a link.

To Open Internet Settings


34
inetcpl.cpl

To Open Internet Settings with Connections Tab

rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4

For more information http://discussions.virtualdr.com/archive/index.php/t-41613.html

Share Improve this answer Follow answered Sep 6, 2010 at 0:23


Umair A.
6,873 20 85 134

7 Slightly more concise... rundll32.exe inetcpl.cpl,LaunchConnectionDialog – John Homer Nov 29,


2016 at 15:41

The closest I can get is

5 control inetcpl.cpl,,4

which opens the Internet Properties dialog with the Connections tab preselected. Unfortunately it
still requires you to click on LAN settings to get to the proxy settings.

Share Improve this answer Follow answered Sep 6, 2010 at 0:19


Timwi
66.6k 34 169 234
By clicking “Accept all cookies”, you agree Stack Exchange
can store cookies on your device and disclose information in
2 Is there
accordance withnot
oura Cookie
way to open
Policy.the LAN settings dialog? (please) – Wilf Apr 24, 2015 at 15:12

it works but is there any options to open "LAN settings" dialog box? @Timwi – Gagan Jan 30, 2019 at 11:41

Alternatively if all you want to do is select "Automatically detect Settings" You could just use
Reg.exe to modify the Registry Directly.

https://stackoverflow.com/questions/3648366/is-it-possible-to-launch-ies-proxy-settings-dialog-from-the-command-line 2/4
2/24/25, 3:51 PM internet explorer - Is it possible to launch IE's proxy settings dialog from the command line? - Stack Overflow

4 REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v


ProxyServer /d "hhttp=proxy-url:port;https=proxy-url:port;ftp=proxy-
url:port;socks=proxy-url:port;" /t REG_SZ /f

Share Improve this answer Follow answered May 9, 2013 at 2:53


Michael Mantion
215 3 4

2 This answer helped me a lot to point me in the right direction. I ended up using the AutoConfigURL
parameter. – SebastianH Aug 12, 2016 at 12:13

Not something new but still useful.

1 inetcpl.cpl ,4

And then simply press Alt + L on keyboard to change the proxy settings.

Share Improve this answer Follow edited Jun 18, 2019 at 6:24 answered Aug 27, 2017 at 16:48
Raymo111 Piyush Kant
584 9 26 21 5

How this is differ from Vinicius Xavier answer? – Aleks Andreev Aug 27, 2017 at 17:18

command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4

you can found it on Windows ten forums List of Commands to Open Control Panel Items in
0
Windows 10

You also can create a shortcut by steps below:

1) Right click or press and hold on your desktop, click/tap on New, and click/tap on Shortcut.

2) Copy the command you want from the table below as the "location", and click/tap on Next.
By clicking “Accept all cookies”, you agree Stack Exchange
can store cookies on your device and disclose information in
3) Type with
accordance a name you want
our Cookie for this shortcut, and click/tap on Finish.
Policy.

4) If you like, you can Pin to Start, Pin to taskbar, add to All apps, add to Quick Launch,
assign a keyboard shortcut to, or move this shortcut to where you like for easy use.

Share Improve this answer Follow answered Mar 29, 2019 at 14:22
Kevin Xiong
153 14

https://stackoverflow.com/questions/3648366/is-it-possible-to-launch-ies-proxy-settings-dialog-from-the-command-line 3/4
2/24/25, 3:51 PM internet explorer - Is it possible to launch IE's proxy settings dialog from the command line? - Stack Overflow

By clicking “Accept all cookies”, you agree Stack Exchange


can store cookies on your device and disclose information in
accordance with our Cookie Policy.

https://stackoverflow.com/questions/3648366/is-it-possible-to-launch-ies-proxy-settings-dialog-from-the-command-line 4/4

You might also like