Please refer this script if you want to change proxy settings for your pc.
1)In proxy_IP give your proxy address
2)In proxy_port give your port number for the proxy address
3)In proxy_except give the ip addresses you want to exclude use semicolon(;) to separate multiple entries.
4) System will restart at end for applying changes.
Please run this script as logged in user