Showing results for 
Search instead for 
Did you mean: 
Level 7

Applications that run on command prompt getting authentication required

Previously my company was using TMG with NTLM auth and I had to configure Fiddler to work as an HTTP tunnel to make applications running on command prompt work with NTLM auth (Fiddler injected an x-autoauth header to every request). Now they have moved to Web Gateway and all requests are returning code 407 on Fiddler.

My Windows is not in the same domain as the Web Gateway proxy, but I have valid credentials. How can I make tools like Fiddler, Visual Studio/Nuget and GIT work with Web Gateway auth?

Here is the result of a Fiddler session:



User-Agent: Fiddler/ (.NET 4.6.2; WinNT 10.0.14393.0; en-US; 4xAMD64; Auto Update; Full Instance)


HTTP/1.1 407 authenticationrequired

Via: 1.1 (McAfee Web Gateway

Date: Fri, 30 Sep 2016 18:11:09 GMT

Content-Type: text/html

Cache-Control: no-cache

Content-Length: 3007

Proxy-Connection: Keep-Alive

Proxy-Authenticate: NTLM

Proxy-Support: Session-Based-Authentication

0 Kudos