# Proxy on windows

**URL:** <https://discourse.chef.io/t/proxy-on-windows/8816>\
**Category:** Chef Infra (archive)\
**Created:** [June 29, 2016, 4:41pm UTC](https://discourse.chef.io/t/proxy-on-windows/8816 "2016-06-29T16:41:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samson](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@samson](https://discourse.chef.io/u/samson)\
**Post date:** [June 29, 2016, 4:41pm UTC](https://discourse.chef.io/t/proxy-on-windows/8816/1 "2016-06-29T16:41:39Z")

</div>

Hi guys,  
I have to set proxy in office but when I come home and work for some reason even after unsetting it… somehow the proxy is queried… I do not know where to look…  
Im using windows and dont know where the knife.rb or even the chef configuration files are stored to check them for possible proxy settings…  
Is there a way to like completely negate a proy while bootstrapping?

---

<div class="post-metadata">

**Author:** ![Matt\_Wrock](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/matt_wrock/32/3394_2.png) [@Matt\_Wrock](https://discourse.chef.io/u/Matt_Wrock)\
**Post date:** [June 29, 2016, 4:58pm UTC](https://discourse.chef.io/t/proxy-on-windows/8816/2 "2016-06-29T16:58:54Z")

</div>

I’d bet that this is environment variable related. proxy settings in most ruby based tools on windows are governed by the `HTTP_PROXY` and `HTTPS_PROXY` variables. Its likely that you have set those in your shell or even set them as permanent variables on the machine which would affect any new shell opened.

Try unsetting those and see if that resolves your proxy woes.
