Question

Locked

batch file for set proxy on a system?

By dinupaul1983 ·
Hi my name is dinu. i want to set proxy for all my client systems through group policy. for that i need to create a batch file for setting proxy on system.

can you please tell how to write the script for setting proxy on system.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

This would be easier

by Jacky Howe In reply to batch file for set proxy ...

Configuring Clients to Proxy using Group Policy or Login Script

http://www.stbernard.com/ip4kb/iPrism/Networking/Sessions-Clients/Browsers/IP0346.htm


Create setproxy.reg (any filename can be used)

Open notepad & type in as follows:

Windows Registry Editor Version 5.00 (or the appropriate version of regedit, if different)

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyServer"="<Your Proxy IP Address>:<Proxy Port>" "ProxyEnable"=dword:00000001

Change <your proxy IP address> to the private IP address of your HTTP Proxy, and <Proxy Port> to the port that iPrism is configured to proxy for (3128 by default). Save the file with the name you choose.

Copy setproxy.reg to login script folder.

Add the following line to the login script.

Regedit /s setproxy.reg

Collapse -

Set it server side

by blackepyon01 In reply to batch file for set proxy ...

For all the local systems or all clients on domain? You could use GP to set IE to force use of proxy for all users of the domain.

User Configuration/ Windows Settings/ Internet Explorer Maintenance/ Connections/ ProxySettings

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums