Showing results for 
Search instead for 
Did you mean: 

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

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community