Firstly, You must set proxy on Internet explorer settings.
then open command prompt as admin
Basically,we redirect internet explorer proxy configuration to winhttp (system)
netsh winhttp import proxy source=ie
that's it :)
don't required reboot system
if you want reset proxy settings you can type
netsh winhttp reset proxy