An internal error has occurred. (0x0004, 0x0000) in Virtual Machine Manager (scvmm)

In my lab, I was facing error An internal error has occurred. (0x0004, 0x0000) when trying to connect to a VM using Connect via Console. From the Administrator Console of Virtual Machine Manager 2012 R2, it should be possible to connect to a virtual machine using the console (port 2197) and RDP (port 3389)virtual machine manager connect via console

an internal error has occurred (0x0004, 0x0000)

I already noticed the Administrator Console was in another VLAN than my Hyper-V server. Therefor our firewall (which is placed between these 2 VLANs) could be blocking traffic. Further investigation indeed led me to blocked traffic on port 2197. Once I allowed traffic over port 2197, error An internal error has occurred. (0x0004, 0x0000) vanished.

As for your troubleshooting, know the connection to your VM is not the problem. The connection from the Virtual Machine Manager Console and the Hyper-V hosts IS.

If there’s a 3rd-party firewall between the machines, check the firewall logs. If not, check whether the Windows firewall on your Hyper-V hosts is enabled. If so, open incoming traffic from your SCVMM Console machine on port 2197.

Above analysis are based on:

  • System Center Virtual Machine Manager 2012 R2 (SCVMM 2012 R2)
  • Windows Server 2012 R2
  • Windows Server 2016
0 0 votes
Article Rating
Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments

Hi, I also had this issue but restarting the server resolved my issue. Now, I have been also doing a lab on SCVMM with NVGRE would be nice to exchange some knowledge.

Would love your thoughts, please comment.x