How to fix VSphere Client could not connect to VCenter Server ?

Problem Statement:Icon

I have a VMware environment running ESXi 5.x running few VMs when I am trying to connect to Vpshere Client it was working fine yesterday, this morning I saw an error connection to VCenter Server. I can not able to connect to VMs from VMware Sphere Client and VSphere Web URL as well.

I am going to discuss probably most of the use-cases in depth what all possible scenarios for the cause of these issues with possible error and troubleshooting steps. Let’s Get Started.

How to fix and what all could be the possible scenario lets discuss in detail?

Error Messages:

  • VMware Console has disconnected …attempting to reconnect.
  • The console has been disconnected. Close this window and relaunch the console to reconnect.
  • The type initializer for threw an exception for ‘VirtualInfrastructure. Utils. ClientsXml’ threw an exception.
  • Cannot connect to vCenter Server 5.x using the vSphere Client – unknown error.

Possible Causes:

1)  Make sure you are running the same version of VMWare ESXi Server & Client. VMware vCenter Server Verison &VSphere Client Version should be same.

2) The latest version of Microsoft .Net Framework Version required or .Net              Framework version causing the issue

3) Check for proxy settings (if set), have reset causes issues in connection.

4)  VMware services are stopped or need the restart to work as expected.

5)  Microsoft .Net latest Patch Tuesday could break and throw exception Virtual   Infrastructure.Utils.ClientsXml or Virtualinfrastructure.Utils.HttpWeb RequestProxy.

Troubleshooting Steps:

1)  The computer hosting vCenter Server has an active network connection.
2)  vCenter Server is actually running and vCenter Server is reachable.


3) You can resolve the hostname of the vCenter Server from your VMware View Connection Server.

4) Check if you have updated VMWare server from 5.x to 6.x, if yes? We need to reinstall the vsphere client to the latest version to fix it.

5) Restart the machine where Vsphere Client installed.

6) Run .NET Framework Setup Verification Tool to find .net release, causing issue run SFC /scannow to fix issues if any?

7) Login to VCenter Server and look for errors in log file vpxd-.log located at C:\Program Data\VMware\VMware VirtualCenter\Logs if any.

8) Login to the server and look for errors in log file viclient-*.log file located at %App Data%\Vmware\vpx\

Example:  From the log file we found the Access to the registry key ‘HKEY_CLASSES _ROOT \VpxClient’ is denied.



9)  Make sure you have proper rights [probably admins 😉 ] to access VMware Host or check with VMWare Admin if you don’t.

Launch Vmware Vsphere Client “Run As” Administrator to fix the issue.


10)   Check for disk space and/or file permission of your temp directory on VMWare Server. VMWare may be unable to create the necessary files in your %temp% directory which ‘will’ cause the exact error you are experiencing.

11) Check for VMware Services and make sure below services are working fine 🙂

VMWare Services

12) Now try to connect VMware Vsphere Client and Vsphere web URL both will work with charm!!

Thanks for reading 🙂 Do like, share & comment if you find useful.



Microsoft Patch Tuesday – July 2017

Microsoft Patch Tuesday

Microsoft Patch Tuesday has released 54 CVE’s for July 2017 which includes 19 CVE’s rated “Critical”, 32 CVE’s rated “Important” and 3 CVE’s rated “Moderate” with an important fix for Windows NTLM. These updates impact products include Edge,.NET Framework, IE , Office, Exchange. Adobe’s got a new version of Adobe Flash Player that address three vulnerabilities.

Across all of these vulnerabilities, security updates for software and services include:

Adobe Flash Player
Microsoft Windows
Microsoft Scripting Engine
Microsoft Edge Browser
Internet Explorer
Microsoft Office
.NET Framework

Microsoft Office CVE’s listed in July Patch and rated as “Important” including multiple remote code execution vulnerabilities. Windows Powershell and WordPad also expose to Remote Execution vulnerabilities. It is highly recommended to apply all the patches ASAP to avoid any vulnerability attack.

According to Qualys Guard latest blog post:

” Top priority for patching should go to CVE-2017-8589, which is a vulnerability in the Windows Search service. This vulnerability can be exploited remotely via SMB to take complete control of a system, and can impact both servers and workstations. The issue affects Windows Server 2016, 2012, 2008 R2, 2008 as well as desktop systems like Windows 10, 7 and 8.1. While this vulnerability can leverage SMB as an attack vector, this is not a vulnerability in SMB itself, and is not related to the recent SMB vulnerabilities leveraged by EternalBlue, WannaCry, and Petya.

Aside from CVE-2017-8589, patching for workstations and multi-user systems should focus on CVE-2017-8463, which is a vulnerability in Windows Explorer, as well as multiple browser vulnerabilities in Internet Explorer and Edge. Exploitation of these vulnerabilities require user interaction, but can easily become targets for Exploit Kits. “

Critical CVEs

July Flash Security Update
Remote Code Execution

Windows Explorer Remote Code Execution Vulnerability
Remote Code Execution

HoloLens Remote Code Execution Vulnerability
Remote Code Execution

Windows Search Remote Code Execution Vulnerability
Remote Code Execution

Internet Explorer Memory Corruption Vulnerability
Remote Code Execution

Scripting Engine Memory Corruption Vulnerability
Remote Code Execution

Microsoft Edge Memory Corruption Vulnerability
Remote Code Execution

Microsoft Edge Remote Code Execution Vulnerability
Remote Code Execution

Scripting Engine Memory Corruption Vulnerability
CVE-2017-8598, CVE-2017-8601, CVE-2017-8603, CVE-2017-8604, CVE-2017-8605, CVE-2017-8606, CVE-2017-8607, CVE-2017-8608, CVE-2017-8609, CVE-2017-8610, CVE-2017-8618, CVE-2017-8619
Remote Code Execution

Important CVEs

Microsoft Office Remote Code Execution Vulnerability
Remote Code Execution

Win32k Elevation of Privilege Vulnerability
Elevation of Privilege

Win32k Information Disclosure Vulnerability
Information Disclosure

Kerberos SNAME Security Feature Bypass Vulnerability
Security Feature Bypass

Microsoft Office Memory Corruption Vulnerability
CVE-2017-8501, CVE-2017-8502
Remote Code Execution

Microsoft Graphics Component Elevation of Privilege Vulnerability
Elevation of Privilege

Windows System Information Console Information Disclosure Vulnerability
Information Disclosure

Microsoft Exchange Cross-Site Scripting Vulnerability
CVE-2017-8559, CVE-2017-8560
Elevation of Privilege

Windows Kernel Elevation of Privilege Vulnerability
Elevation of Privilege

Windows ALPC Elevation of Privilege Vulnerability
Elevation of Privilege

Windows Elevation of Privilege Vulnerability
Elevation of Privilege

Windows Kernel Information Disclosure Vulnerability
Information Disclosure

Windows PowerShell Remote Code Execution Vulnerability
Remote Code Execution

Windows IME Elevation of Privilege Vulnerability
Elevation of Privilege

SharePoint Server XSS Vulnerability
Elevation of Privilege

Office Remote Code Execution Vulnerability
Remote Code Execution

Microsoft Graphics Component Elevation of Privilege Vulnerability
CVE-2017-8573, CVE-2017-8574
Elevation of Privilege

Win32k Elevation of Privilege Vulnerability
CVE-2017-8577, CVE-2017-8578, CVE-2017-8580, CVE-2017-8581
Elevation of Privilege

Https.sys Information Disclosure Vulnerability
Information Disclosure

.NET Denial of Service Vulnerability
Denial of Service

Windows Explorer Denial of Service Vulnerability
Denial of Service

WordPad Remote Code Execution Vulnerability
Remote Code Execution

Windows CLFS Elevation of Privilege Vulnerability
Elevation of Privilege

Microsoft Browser Security Feature Bypass
Security Feature Bypass

Microsoft Edge Security Feature Bypass Vulnerability
Security Feature Bypass

Microsoft Browser Spoofing Vulnerability

Moderate CVEs

Windows Performance Monitor Information Disclosure Vulnerability
Information Disclosure

Microsoft Edge Spoofing Vulnerability

Microsoft Exchange Open Redirect Vulnerability

For Complete List of software impacted by July 2017 Patch Tuesday, download the excel sheet:  Security Update – JULY-2017

Known Issues:  As we all are aware Microsoft Patch Tuesday – June 2017 has addressed many issues with respect to Internet Explorer and Office Outlook.

Currently, we have not addressed with major issues but we have one open issue with Internet Explorer for Windows 7 x32 OS Version, after installing KB4025252 the issue addressed was IE not able to start 😦


For more updates and known issues with MS Patch Tuesday – July 2017 please tune to my blog, feel free to update known issues in the comment section.

Thanks for reading 🙂