winhttp proxy support / Feature Requests / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2013-04-23 03:06

davep
Member
Registered: 2013-04-23
Posts: 2

winhttp proxy support

In my experience with Windows 8, it appears that metro apps need to have the proxy configured using the netsh winhttp command. It would be useful if NetSetMan had the ability to update these settings.

Alternatively, I could update these settings by running a script, however it appears as if scripts will always run as the logged on user rather than as the service. Since my users don't have admin rights, the netsh winhttp commands fail. Therefore, if you could add the ability to run a script as the service rather than the logged on user, that would also solve my issue.

Offline

#2 2013-04-28 22:31

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: winhttp proxy support

I'm aware of the problem and I'm trying to find a solution for it. While I understand that running the appropriate command (netsh winhttp Import Proxy source=ie) solves the problem, I ran into an incompatibility of this with the NSM Service. I'll try to find a solution for the next release.

davep wrote:

run as the logged on user rather than as the service

This is done by purpose for security reasons. But in this case even if it was run as the service it wouldn't help, because those proxy settings are managed in user context, so they wouldn't change.

What you can do as a workaround is to deactivate the NSM Service, then create the netsh winhttp script and include it in the profile. It will be run with admin privileges and therefore work. The downside here is that you'll receive the UAC prompt at every run again.

Offline

#3 2013-04-28 23:56

davep
Member
Registered: 2013-04-23
Posts: 2

Re: winhttp proxy support

Thanks for the reply. It's great to know you're looking into a solution smile

FYI, in my experience testing, the winhttp settings are computer based and changes seem to affect all users.

Edit: The IE settings that it imports are from the user context, so using the "netsh winhttp set proxy myproxy:80" would probably be better than importing from IE.

Last edited by davep (2013-04-29 00:01)

Offline

#4 2013-05-16 22:09

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: winhttp proxy support

I was able to work out a solution for this purpose. It will be available with the next version. From then on activating the "IE & Windows" proxy option will also be applied on system level.

Offline