While setting up virt-who against HyperV it fails with error "HyperVAuthFailed: NTLM negotiation failed"

Solution In Progress - Updated -


  • How to use NTLM authentication with virt-who
  • virt-who + HyperV setup fails with following error message :-
File "/usr/share/virt-who/virtwho.py", line 147, in _readGuests
    return virt.getHostGuestMapping()
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 310, in getHostGuestMapping
    connection, headers = self.connect()
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 245, in connect
    self.ntlmAuth(connection, headers)
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 287, in ntlmAuth
    raise HyperVAuthFailed("NTLM negotiation failed")
HyperVAuthFailed: NTLM negotiation failed
2014-11-23 23:25:50,420 [ERROR]  @virtwho.py:121 - Unable to recover, retry in 60 seconds.


  • Red Hat Enterprise Linux 6, 7
  • virt-who
  • Hyper-V

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content