title: Windows 7: Automatic Logon Policy not working for winhttp API VB6 activeX control
body: <p>I'm using WinHttp to do POSTs in a VB6 activeX control as follows</p>
  
  <pre><code>Set WinHttpReq = New WinHttpRequest
  WinHttpReq.Open "POST", strUrl, False
  WinHttpReq.SetAutoLogonPolicy AutoLogonPolicy_Always
  aPostBody = 'Sometext'
  WinHttpReq.Send aPostBody
  UploadFile = WinHttpReq.ResponseText
  </code></pre>
  
  <p>This works great on windows XP (all versions of IE), but on windows 7 it sends back a 401 and Automatic Logon Policy doesn't work here (<a href="http://msdn.microsoft.com/en-us/library/aa383144(VS.85).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa383144(VS.85).aspx</a>) </p>